Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

net/mac80211/chan.c ieee80211_chan_bw_change() -> ieee80211_sta_current_bw()

Type Parameter Key Value
PARAM_VALUE 0 link_sta 1-u64max
PARAM_VALUE 1 chandef 4096-ptr_max
PARAM_VALUE 2 direction 1
BUF_SIZE 1 chandef 48
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read

net/mac80211/chan.c ieee80211_get_sta_bw() -> ieee80211_sta_current_bw()

Type Parameter Key Value
PARAM_VALUE 0 link_sta 1-u64max
PARAM_VALUE 1 chandef 4096-ptr_max
PARAM_VALUE 2 direction 0
RX_PATH
TASK_NOT_RUNNING

net/mac80211/vht.c __ieee80211_vht_handle_opmode() -> ieee80211_sta_current_bw()

Type Parameter Key Value
PARAM_VALUE 0 link_sta 4096-ptr_max
PARAM_VALUE 0 link_sta->op_mode_bw 0-3
PARAM_VALUE 1 chandef 4096-ptr_max
PARAM_VALUE 2 direction 1
DATA_SOURCE 0 link_sta $1
FUZZY_MAX 0 link_sta->op_mode_bw 3
HARD_MAX 0 link_sta->op_mode_bw 3
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 link_sta->op_mode_nss 1-8[c]
USER_DATA 0 link_sta->pub->rx_nss 1-8[c]
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &rdev->wiphy.mtx

net/mac80211/tdls.c iee80211_tdls_recalc_chanctx() -> ieee80211_sta_current_bw()

Type Parameter Key Value
PARAM_VALUE 0 link_sta 4096-ptr_max
PARAM_VALUE 1 chandef 4096-ptr_max
PARAM_VALUE 1 chandef->chan 4096-ptr_max
PARAM_VALUE 2 direction 0
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/mac80211/tdls.c ieee80211_tdls_chandef_vht_upgrade() -> ieee80211_sta_current_bw()

Type Parameter Key Value
PARAM_VALUE 0 link_sta 4096-ptr_max
PARAM_VALUE 1 chandef 6783266959557734400
PARAM_VALUE 2 direction 0
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read

net/mac80211/mlme.c ieee80211_csa_switch_work() -> ieee80211_sta_current_bw()

Type Parameter Key Value
PARAM_VALUE 0 link_sta 4096-ptr_max
PARAM_VALUE 0 link_sta->uhr_usable_tx_width 4
PARAM_VALUE 1 chandef 4096-ptr_max
PARAM_VALUE 2 direction 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &rdev->wiphy.mtx

net/mac80211/sta_info.c ieee80211_link_sta_update_rc_bw() -> ieee80211_sta_current_bw()

Type Parameter Key Value
PARAM_VALUE 0 link_sta 4096-ptr_max
PARAM_VALUE 1 chandef 4096-ptr_max
PARAM_VALUE 1 chandef->chan 4096-ptr_max
PARAM_VALUE 2 direction 1
BUF_SIZE 0 link_sta (-1),952
BUF_SIZE 0 link_sta (-1),952
DATA_SOURCE 0 link_sta $1
RX_PATH
TASK_NOT_RUNNING

net/mac80211/sta_info.c ieee80211_sta_init_nss_bw_capa() -> ieee80211_sta_current_bw()

Type Parameter Key Value
PARAM_VALUE 0 link_sta 4096-ptr_max
PARAM_VALUE 0 link_sta->capa_nss 1-255
PARAM_VALUE 0 link_sta->pub 4096-ptr_max
PARAM_VALUE 0 link_sta->pub->rx_nss 1-255
PARAM_VALUE 1 chandef 4096-ptr_max
PARAM_VALUE 1 chandef->chan 4096-ptr_max
PARAM_VALUE 1 chandef->chan->band 0-3,5-u32max
PARAM_VALUE 2 direction 1
CAPPED_DATA 0 link_sta->capa_nss 1
CAPPED_DATA 0 link_sta->pub->rx_nss 1
DATA_SOURCE 0 link_sta $0
DATA_SOURCE 1 chandef $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_PTR 0 link_sta->addr
HALF_LOCKED2 &rdev->wiphy.mtx
HALF_LOCKED2 &sta->mesh->plink_lock
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read