Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- drivers/net/wireless/mediatek/mt76/mt7915/mcu.c, line 515
- include/net/cfg80211.h, line 3309
- net/mac80211/mlme.c
- net/wireless/scan.c, line 440
- net/wireless/sme.c
- net/wireless/util.c, line 1161
- net/wireless/wext-sme.c, line 207
Smatch caller information:
drivers/net/wireless/marvell/mwifiex/cfg80211.c ieee80211_bss_get_ie() -> ieee80211_bss_get_elem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bss | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bss->bssid | 4096-ptr_max |
| PARAM_VALUE | 1 | id | 0 |
| BUF_SIZE | 0 | bss | 0,104 |
| BUF_SIZE | 0 | bss | 0,104 |
| DATA_SOURCE | 0 | bss | $0 |
| DATA_SOURCE | 1 | id | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &rdev->wiphy.mtx |
drivers/net/wireless/ath/ath10k/mac.c ieee80211_bss_get_ie() -> ieee80211_bss_get_elem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bss | 4096-ptr_max |
| PARAM_VALUE | 1 | id | 48 |
| BUF_SIZE | 0 | bss | 104 |
| DATA_SOURCE | 0 | bss | $0 |
| DATA_SOURCE | 1 | id | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &ar->conf_mutex | ||
| TYPE_LOCK | (struct ath10k)->conf_mutex |
drivers/net/wireless/marvell/libertas/cfg.c ieee80211_bss_get_ie() -> ieee80211_bss_get_elem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bss | 4096-ptr_max |
| PARAM_VALUE | 1 | id | 0-1,50 |
| BUF_SIZE | 0 | bss | (-1),104 |
| BUF_SIZE | 0 | bss | (-1),104 |
| DATA_SOURCE | 0 | bss | $0 |
| DATA_SOURCE | 1 | id | $1 |
| HARD_MAX | 1 | id | 50 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &rdev->wiphy.mtx | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/wireless/scan.c cfg80211_add_nontrans_list() -> ieee80211_bss_get_elem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bss | 4096-ptr_max |
| PARAM_VALUE | 0 | bss->bssid_index | 0-46 |
| PARAM_VALUE | 0 | bss->cannot_use_reasons | 0-2 |
| PARAM_VALUE | 0 | bss->chains | 0 |
| PARAM_VALUE | 0 | bss->channel | 1-u64max |
| PARAM_VALUE | 0 | bss->ies | 1-u64max |
| PARAM_VALUE | 0 | bss->max_bssid_indicator | 0-8 |
| PARAM_VALUE | 0 | bss->nontrans_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | bss->nontrans_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | bss->use_for | 0,2-3 |
| PARAM_VALUE | 1 | id | 0 |
| DATA_SOURCE | 0 | bss | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | bss->beacon_interval | 0-u16max[u] |
| USER_DATA | 0 | bss->bssid_index | 1-46 |
| USER_DATA | 0 | bss->capability | 0-u16max[u] |
| USER_DATA | 0 | bss->max_bssid_indicator | 1-8 |
| LOCK2 | &rdev->bss_lock | ||
| LOCK2 | bh | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct cfg80211_registered_device)->bss_lock |
net/mac80211/mlme.c ieee80211_ap_probereq_get() -> ieee80211_bss_get_elem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | id | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &wl->mutex |
net/mac80211/mlme.c ieee80211_max_rx_chains() -> ieee80211_bss_get_elem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bss | 4096-ptr_max |
| PARAM_VALUE | 0 | bss->channel | 4096-ptr_max |
| PARAM_VALUE | 0 | bss->ies | 4096-ptr_max |
| PARAM_VALUE | 0 | bss->priv | 4096-ptr_max |
| PARAM_VALUE | 1 | id | 45 |
| CAPPED_DATA | 0 | bss->ies | 1 |
| DATA_SOURCE | 0 | bss | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &dev->ethtool->rss_lock | ||
| 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 |
net/mac80211/mlme.c ieee80211_max_rx_chains() -> ieee80211_bss_get_elem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bss | 4096-ptr_max |
| PARAM_VALUE | 0 | bss->channel | 4096-ptr_max |
| PARAM_VALUE | 0 | bss->ies | 4096-ptr_max |
| PARAM_VALUE | 0 | bss->ies->data->datalen | 0-255 |
| PARAM_VALUE | 0 | bss->ies->data->id | 0-255 |
| PARAM_VALUE | 0 | bss->priv | 4096-ptr_max |
| PARAM_VALUE | 1 | id | 191 |
| CAPPED_DATA | 0 | bss->ies | 1 |
| DATA_SOURCE | 0 | bss | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &dev->ethtool->rss_lock | ||
| 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 |
net/mac80211/mlme.c ieee80211_mgd_get_ap_ht_vht_capa() -> ieee80211_bss_get_elem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bss | 4096-ptr_max |
| PARAM_VALUE | 0 | bss->channel | 4096-ptr_max |
| PARAM_VALUE | 0 | bss->channel->band | 0-2,4-u32max |
| PARAM_VALUE | 1 | id | 61 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &dev->ethtool->rss_lock | ||
| 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 |
net/mac80211/mlme.c ieee80211_mgd_get_ap_ht_vht_capa() -> ieee80211_bss_get_elem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bss | 4096-ptr_max |
| PARAM_VALUE | 0 | bss->channel | 4096-ptr_max |
| PARAM_VALUE | 0 | bss->channel->band | 0-2,4-u32max |
| PARAM_VALUE | 0 | bss->ies | 4096-ptr_max |
| PARAM_VALUE | 0 | bss->ies->data->datalen | 0-255 |
| PARAM_VALUE | 0 | bss->ies->data->id | 0-255 |
| PARAM_VALUE | 1 | id | 191 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &dev->ethtool->rss_lock | ||
| 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 |
drivers/net/wireless/nxp/nxpwifi/sta_cfg.c ieee80211_bss_get_ie() -> ieee80211_bss_get_elem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | id | 7 |
| DATA_SOURCE | 0 | bss | $0 |
| DATA_SOURCE | 1 | id | $1 |
| LOCK2 | rcu_read |
drivers/net/wireless/ath/ath12k/mac.c ieee80211_bss_get_ie() -> ieee80211_bss_get_elem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bss | 4096-ptr_max |
| PARAM_VALUE | 1 | id | 48 |
| BUF_SIZE | 0 | bss | 104 |
| DATA_SOURCE | 0 | bss | $0 |
| DATA_SOURCE | 1 | id | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
drivers/net/wireless/ath/wil6210/cfg80211.c ieee80211_bss_get_ie() -> ieee80211_bss_get_elem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bss | 4096-ptr_max |
| PARAM_VALUE | 1 | id | 0 |
| BUF_SIZE | 0 | bss | 104 |
| DATA_SOURCE | 0 | bss | $0 |
| DATA_SOURCE | 1 | id | $1 |
| HALF_LOCKED2 | &rdev->wiphy.mtx | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct wiphy)->mtx |
drivers/net/wireless/nxp/nxpwifi/cfg80211.c ieee80211_bss_get_ie() -> ieee80211_bss_get_elem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bss | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bss->bssid | 4096-ptr_max |
| PARAM_VALUE | 1 | id | 0 |
| BUF_SIZE | 0 | bss | 0,104 |
| BUF_SIZE | 0 | bss | 0,104 |
| DATA_SOURCE | 0 | bss | $0 |
| DATA_SOURCE | 1 | id | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &rdev->wiphy.mtx |
drivers/net/wireless/marvell/mwifiex/sta_ioctl.c ieee80211_bss_get_ie() -> ieee80211_bss_get_elem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bss | 4096-ptr_max |
| PARAM_VALUE | 1 | id | 7 |
| BUF_SIZE | 0 | bss | (-1),104 |
| BUF_SIZE | 0 | bss | (-1),104 |
| DATA_SOURCE | 0 | bss | $0 |
| DATA_SOURCE | 1 | id | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &rdev->wiphy.mtx |
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c mt7915_check_he_obss_narrow_bw_ru_iter() -> ieee80211_bss_get_elem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bss | 4096-ptr_max |
| PARAM_VALUE | 1 | id | 127 |
| DATA_SOURCE | 0 | bss | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &rdev->bss_lock | ||
| LOCK2 | bh | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &mvm->mutex | ||
| TYPE_LOCK | (struct cfg80211_registered_device)->bss_lock |
net/wireless/sme.c __cfg80211_connect_result() -> ieee80211_bss_get_elem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | id | 7 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &rdev->wiphy.mtx |
net/wireless/sme.c __cfg80211_connect_result() -> ieee80211_bss_get_elem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | id | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &rdev->wiphy.mtx |
drivers/net/wireless/silabs/wfx/sta.c ieee80211_bss_get_ie() -> ieee80211_bss_get_elem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bss | 4096-ptr_max |
| PARAM_VALUE | 1 | id | 0 |
| BUF_SIZE | 0 | bss | 104 |
| DATA_SOURCE | 0 | bss | $0 |
| DATA_SOURCE | 1 | id | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &wdev->conf_mutex |
net/wireless/wext-sme.c cfg80211_mgd_wext_giwessid() -> ieee80211_bss_get_elem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bss | 4096-ptr_max |
| PARAM_VALUE | 1 | id | 0 |
| LOCK2 | &rdev->wiphy.mtx | ||
| LOCK2 | global &rtnl_mutex | ||
| LOCK2 | rcu_read | ||
| TYPE_LOCK | (struct wiphy)->mtx |
drivers/net/wireless/st/cw1200/sta.c ieee80211_bss_get_ie() -> ieee80211_bss_get_elem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bss | 4096-ptr_max |
| PARAM_VALUE | 1 | id | 0 |
| BUF_SIZE | 0 | bss | 104 |
| DATA_SOURCE | 0 | bss | $0 |
| DATA_SOURCE | 1 | id | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &priv->conf_mutex | ||
| LOCK2 | rcu_read | ||
| TYPE_LOCK | (struct cw1200_common)->conf_mutex |
drivers/net/wireless/ath/ath11k/mac.c ieee80211_bss_get_ie() -> ieee80211_bss_get_elem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bss | 4096-ptr_max |
| PARAM_VALUE | 1 | id | 48 |
| BUF_SIZE | 0 | bss | 104 |
| DATA_SOURCE | 0 | bss | $0 |
| DATA_SOURCE | 1 | id | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &ar->conf_mutex | ||
| TYPE_LOCK | (struct ath11k)->conf_mutex |