Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/net/wireless/quantenna/qtnfmac/cfg80211.c, line 749
- net/wireless/chan.c, line 1879
- net/wireless/mlme.c, line 1365
- net/wireless/nl80211.c
- net/wireless/reg.c, line 4237
Smatch caller information:
net/wireless/mlme.c cfg80211_stop_radar_detection() -> wdev_chandef()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wdev | 4096-ptr_max |
| PARAM_VALUE | 0 | wdev->links | 4096-ptr_max |
| PARAM_VALUE | 0 | wdev->links->ap.beacon_interval | 0-4294967295 |
| PARAM_VALUE | 0 | wdev->links->ap.chandef.center_freq1 | 0-4294967295 |
| PARAM_VALUE | 0 | wdev->links->ap.chandef.center_freq2 | 0-4294967295 |
| PARAM_VALUE | 0 | wdev->links->ap.chandef.edmg.bw_config | 0-4294967295 |
| PARAM_VALUE | 0 | wdev->links->ap.chandef.edmg.channels | 0-255 |
| PARAM_VALUE | 0 | wdev->links->ap.chandef.freq1_offset | 0-u16max |
| PARAM_VALUE | 0 | wdev->links->ap.chandef.npca_punctured | 0-u16max |
| PARAM_VALUE | 0 | wdev->links->ap.chandef.punctured | 0-u16max |
| PARAM_VALUE | 0 | wdev->links->ap.chandef.s1g_primary_2mhz | 0-1 |
| PARAM_VALUE | 0 | wdev->links->ap.chandef.width | 0-4294967295 |
| PARAM_VALUE | 0 | wdev->links->cac_started | 0-1 |
| PARAM_VALUE | 0 | wdev->links->cac_time_ms | 0-4294967295 |
| PARAM_VALUE | 0 | wdev->netdev->ieee80211_ptr->links->ap.beacon_interval | 0-4294967295 |
| PARAM_VALUE | 0 | wdev->netdev->ieee80211_ptr->links->ap.chandef.center_freq1 | 0-4294967295 |
| PARAM_VALUE | 0 | wdev->netdev->ieee80211_ptr->links->ap.chandef.center_freq2 | 0-4294967295 |
| PARAM_VALUE | 0 | wdev->netdev->ieee80211_ptr->links->ap.chandef.edmg.bw_config | 0-4294967295 |
| PARAM_VALUE | 0 | wdev->netdev->ieee80211_ptr->links->ap.chandef.edmg.channels | 0-255 |
| PARAM_VALUE | 0 | wdev->netdev->ieee80211_ptr->links->ap.chandef.freq1_offset | 0-u16max |
| PARAM_VALUE | 0 | wdev->netdev->ieee80211_ptr->links->ap.chandef.npca_punctured | 0-u16max |
| PARAM_VALUE | 0 | wdev->netdev->ieee80211_ptr->links->ap.chandef.punctured | 0-u16max |
| PARAM_VALUE | 0 | wdev->netdev->ieee80211_ptr->links->ap.chandef.s1g_primary_2mhz | 0-1 |
| PARAM_VALUE | 0 | wdev->netdev->ieee80211_ptr->links->ap.chandef.width | 0-4294967295 |
| PARAM_VALUE | 0 | wdev->netdev->ieee80211_ptr->links->cac_started | 0-1 |
| PARAM_VALUE | 0 | wdev->netdev->ieee80211_ptr->links->cac_time_ms | 0-4294967295 |
| PARAM_VALUE | 0 | wdev->pmsr_free_wk.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | wdev->pmsr_free_wk.entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | wdev->pmsr_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wdev->wiphy | 1-u64max |
| PARAM_VALUE | 1 | link_id | 0-14 |
| CAPPED_DATA | 0 | wdev | 1 |
| CAPPED_DATA | 1 | link_id | 1 |
| DATA_SOURCE | 0 | wdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_PTR | 0 | wdev->netdev->ieee80211_ptr->u.client.ssid | |
| HALF_LOCKED2 | &rdev->wiphy.mtx |
drivers/net/wireless/quantenna/qtnfmac/cfg80211.c qtnf_dump_survey() -> wdev_chandef()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | link_id | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &rdev->wiphy.mtx | ||
| HALF_LOCKED2 | &nlk->nl_cb_mutex | ||
| TYPE_LOCK | (struct netlink_sock)->nl_cb_mutex | ||
| TYPE_LOCK | (struct wiphy)->mtx |
net/wireless/nl80211.c cfg80211_off_channel_oper_allowed() -> wdev_chandef()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wdev | 4096-ptr_max |
| PARAM_VALUE | 0 | wdev->iftype | 1,3,7,9 |
| PARAM_VALUE | 0 | wdev->wiphy | 4096-ptr_max |
| PARAM_VALUE | 1 | link_id | 0-14 |
| BUF_SIZE | 0 | wdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | wdev | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | link_id | 1 |
| DATA_SOURCE | 0 | wdev | $0 |
| FUZZY_MAX | 1 | link_id | 14 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/wireless/nl80211.c he_get_txmcsmap() -> wdev_chandef()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | link_id | 0-255 |
| DATA_SOURCE | 1 | link_id | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/wireless/nl80211.c nl80211_remain_on_channel() -> wdev_chandef()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wdev | 4096-ptr_max |
| PARAM_VALUE | 0 | wdev->wiphy | 4096-ptr_max |
| PARAM_VALUE | 1 | link_id | 0-255 |
| BUF_SIZE | 0 | wdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | wdev | s32min-(-2),1-s32max |
| DATA_SOURCE | 1 | link_id | r nl80211_link_id |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/wireless/reg.c cfg80211_check_and_end_cac() -> wdev_chandef()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wdev | 4096-ptr_max |
| PARAM_VALUE | 0 | wdev->links | 4096-ptr_max |
| PARAM_VALUE | 1 | link_id | 0-14 |
| CAPPED_DATA | 0 | &wdev->list | 1 |
| CAPPED_DATA | 1 | link_id | 1 |
| FUZZY_MAX | 1 | link_id | 14 |
| LOCK2 | &rdev->wiphy.mtx | ||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct wiphy)->mtx |