Documented in 1 files:
Defined in 1 files as a function:
Referenced in 23 files:
- drivers/net/wireless/ath/ath6kl/cfg80211.c, line 2937
- drivers/net/wireless/ath/ath9k/common-spectral.c, line 518
- drivers/net/wireless/ath/carl9170/debug.c, line 643
- drivers/net/wireless/ath/carl9170/main.c, line 923
- drivers/net/wireless/broadcom/b43/phy_ht.c, line 1062
- drivers/net/wireless/broadcom/b43/phy_lcn.c, line 780
- drivers/net/wireless/broadcom/b43/phy_n.c
- drivers/net/wireless/intel/iwlegacy/4965-mac.c, line 6089
- drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c, line 962
- drivers/net/wireless/marvell/libertas/cfg.c, line 495
- drivers/net/wireless/marvell/mwifiex/cfg80211.c
- drivers/net/wireless/marvell/mwl8k.c
- drivers/net/wireless/mediatek/mt7601u/phy.c, line 373
- drivers/net/wireless/realtek/rtlwifi/core.c, line 635
- drivers/net/wireless/realtek/rtlwifi/ps.c, line 35
- drivers/net/wireless/st/cw1200/sta.c, line 1916
- drivers/net/wireless/ti/wlcore/main.c
- net/mac80211/cfg.c
- net/mac80211/ibss.c
- net/mac80211/mesh.c, line 1051
- net/mac80211/tdls.c, line 1575
- net/mac80211/util.c, line 3933
- net/wireless/nl80211.c, line 4622
Smatch caller information:
drivers/net/wireless/marvell/mwifiex/cfg80211.c mwifiex_set_ibss_params() -> cfg80211_get_chandef_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chandef | 4096-ptr_max |
| PARAM_VALUE | 0 | chandef->chan | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &rdev->wiphy.mtx | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/wireless/marvell/mwifiex/cfg80211.c mwifiex_set_ibss_params() -> cfg80211_get_chandef_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chandef | 4096-ptr_max |
| PARAM_VALUE | 0 | chandef->chan | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &rdev->wiphy.mtx | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/wireless/marvell/mwifiex/cfg80211.c mwifiex_set_ibss_params() -> cfg80211_get_chandef_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chandef | 4096-ptr_max |
| PARAM_VALUE | 0 | chandef->chan | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &rdev->wiphy.mtx | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/wireless/ath/carl9170/main.c carl9170_op_config() -> cfg80211_get_chandef_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chandef | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ar->mutex | ||
| TYPE_LOCK | (struct ar9170)->mutex |
drivers/net/wireless/marvell/mwl8k.c mwl8k_cmd_set_rf_channel() -> cfg80211_get_chandef_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chandef | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/wireless/marvell/mwl8k.c mwl8k_cmd_tx_power() -> cfg80211_get_chandef_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chandef | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/mac80211/tdls.c ieee80211_tdls_ch_sw_tmpl_get() -> cfg80211_get_chandef_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chandef | 7676884049346555904 |
| PARAM_VALUE | 0 | chandef->chan | 4096-ptr_max |
| PARAM_VALUE | 0 | chandef->width | 2 |
| CAPPED_DATA | 0 | chandef->edmg.bw_config | 1 |
| DATA_SOURCE | 0 | chandef | $2 |
| 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/util.c ieee80211_send_action_csa() -> cfg80211_get_chandef_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chandef | 4096-ptr_max |
| PARAM_VALUE | 0 | chandef->chan | 4096-ptr_max |
| PARAM_VALUE | 0 | chandef->width | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/wireless/marvell/libertas/cfg.c lbs_cfg_set_monitor_channel() -> cfg80211_get_chandef_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chandef | 4111788663005196288,5132077683434180608 |
| DATA_SOURCE | 0 | chandef | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &rdev->wiphy.mtx | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/wireless/ath/ath9k/common-spectral.c ath_cmn_process_fft() -> cfg80211_get_chandef_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chandef | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &priv->rx.rxbuflock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags |
drivers/net/wireless/realtek/rtlwifi/ps.c rtl_ps_enable_nic() -> cfg80211_get_chandef_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chandef | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &rtlpriv->locks.lps_mutex |
drivers/net/wireless/intel/iwlegacy/4965-mac.c il4965_mac_channel_switch() -> cfg80211_get_chandef_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chandef | 7772075937401511952 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &il->lock | ||
| LOCK2 | &il->mutex | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct il_priv)->lock | ||
| TYPE_LOCK | (struct il_priv)->mutex |
drivers/net/wireless/broadcom/b43/phy_n.c b43_nphy_cal_tx_iq_lo() -> cfg80211_get_chandef_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chandef | 4096-ptr_max |
| PARAM_VALUE | 0 | chandef->chan | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &wl->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct b43_wl)->mutex |
drivers/net/wireless/broadcom/b43/phy_n.c b43_nphy_op_switch_channel() -> cfg80211_get_chandef_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chandef | 4096-ptr_max |
| PARAM_VALUE | 0 | chandef->chan | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &wl->mutex |
drivers/net/wireless/broadcom/b43/phy_n.c b43_nphy_reapply_tx_cal_coeffs() -> cfg80211_get_chandef_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chandef | 4096-ptr_max |
| PARAM_VALUE | 0 | chandef->chan | 4096-ptr_max |
| PARAM_VALUE | 0 | chandef->chan->center_freq | 0-u16max |
| CAPPED_DATA | 0 | chandef->chan->center_freq | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &wl->mutex | ||
| TYPE_LOCK | (struct b43_wl)->mutex |
drivers/net/wireless/broadcom/b43/phy_n.c b43_nphy_save_cal() -> cfg80211_get_chandef_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chandef | 4096-ptr_max |
| PARAM_VALUE | 0 | chandef->chan | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &wl->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct b43_wl)->mutex |
drivers/net/wireless/ath/carl9170/debug.c carl9170_debugfs_bug_write() -> cfg80211_get_chandef_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chandef | 4096-ptr_max |
| LOCK2 | &ar->mutex | ||
| TYPE_LOCK | (struct ar9170)->mutex |
net/wireless/nl80211.c nl80211_send_chandef() -> cfg80211_get_chandef_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chandef | 4096-ptr_max |
| PARAM_VALUE | 0 | chandef->chan | 4096-ptr_max |
| PARAM_VALUE | 0 | chandef->width | 0-2 |
| DATA_SOURCE | 0 | chandef | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | chandef->center_freq1 | 0-u16max |
| USER_DATA | 0 | chandef->center_freq2 | 0-u16max |
| HALF_LOCKED2 | &data->mutex |
drivers/net/wireless/broadcom/b43/phy_ht.c b43_phy_ht_op_switch_channel() -> cfg80211_get_chandef_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chandef | 4096-ptr_max |
| PARAM_VALUE | 0 | chandef->chan | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &wl->mutex |
drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_start_ap() -> cfg80211_get_chandef_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chandef | 4096-ptr_max |
| PARAM_VALUE | 0 | chandef->chan | 4096-ptr_max |
| PARAM_VALUE | 0 | chandef->width | 0-5,8-13 |
| 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 |
drivers/net/wireless/mediatek/mt7601u/phy.c __mt7601u_phy_set_channel() -> cfg80211_get_chandef_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chandef | 4096-ptr_max |
| DATA_SOURCE | 0 | chandef | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->hw_atomic_mutex | ||
| LOCK2 | &dev->mutex | ||
| TYPE_LOCK | (struct mt7601u_dev)->hw_atomic_mutex | ||
| TYPE_LOCK | (struct mt7601u_dev)->mutex |
net/mac80211/cfg.c ieee80211_set_csa_beacon() -> cfg80211_get_chandef_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chandef | 3770386965129879552,4443819193923788800,7403024967873368064 |
| PARAM_VALUE | 0 | chandef->chan | 4096-ptr_max |
| PARAM_VALUE | 0 | chandef->width | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/mac80211/cfg.c ieee80211_set_csa_beacon() -> cfg80211_get_chandef_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/mac80211/ibss.c ieee80211_ibss_process_chanswitch() -> cfg80211_get_chandef_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chandef | 4096-ptr_max |
| PARAM_VALUE | 0 | chandef->chan | 4096-ptr_max |
| PARAM_VALUE | 0 | chandef->width | 0-2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &rdev->wiphy.mtx |
net/mac80211/ibss.c ieee80211_sta_join_ibss() -> cfg80211_get_chandef_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chandef->width | 0-2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &rdev->wiphy.mtx |
drivers/net/wireless/realtek/rtlwifi/core.c rtl_op_config() -> cfg80211_get_chandef_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chandef | 4096-ptr_max |
| PARAM_VALUE | 0 | chandef->chan | 4096-ptr_max |
| PARAM_VALUE | 0 | chandef->width | 0-2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &rtlpriv->locks.conf_mutex | ||
| TYPE_LOCK | (struct rtl_locks)->conf_mutex |
drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c iwlagn_mac_channel_switch() -> cfg80211_get_chandef_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chandef | 7772075937401511952 |
| LOCK2 | &priv->mutex | ||
| TYPE_LOCK | (struct iwl_priv)->mutex |
drivers/net/wireless/ti/wlcore/main.c __wlcore_switch_vif_chan() -> cfg80211_get_chandef_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chandef | 4096-ptr_max |
| PARAM_VALUE | 0 | chandef->chan | 4096-ptr_max |
| TASK_NOT_RUNNING | |||
| LOCK2 | &wl->mutex | ||
| TYPE_LOCK | (struct wl1271)->mutex |
drivers/net/wireless/ti/wlcore/main.c __wlcore_switch_vif_chan() -> cfg80211_get_chandef_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chandef | 4096-ptr_max |
| PARAM_VALUE | 0 | chandef->chan | 4096-ptr_max |
| TASK_NOT_RUNNING | |||
| LOCK2 | &wl->mutex | ||
| TYPE_LOCK | (struct wl1271)->mutex |
drivers/net/wireless/ti/wlcore/main.c wlcore_op_add_chanctx() -> cfg80211_get_chandef_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chandef | 4096-ptr_max |
| PARAM_VALUE | 0 | chandef->chan | 4096-ptr_max |
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/wireless/ti/wlcore/main.c wlcore_op_assign_vif_chanctx() -> cfg80211_get_chandef_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chandef | 4096-ptr_max |
| PARAM_VALUE | 0 | chandef->chan | 4096-ptr_max |
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/wireless/ti/wlcore/main.c wlcore_op_assign_vif_chanctx() -> cfg80211_get_chandef_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chandef | 4096-ptr_max |
| PARAM_VALUE | 0 | chandef->chan | 4096-ptr_max |
| TASK_NOT_RUNNING | |||
| LOCK2 | &wl->mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct wl1271)->mutex |
drivers/net/wireless/ti/wlcore/main.c wlcore_op_change_chanctx() -> cfg80211_get_chandef_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chandef | 4096-ptr_max |
| PARAM_VALUE | 0 | chandef->chan | 4096-ptr_max |
| TASK_NOT_RUNNING |
drivers/net/wireless/ti/wlcore/main.c wlcore_op_remove_chanctx() -> cfg80211_get_chandef_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chandef | 4096-ptr_max |
| PARAM_VALUE | 0 | chandef->chan | 4096-ptr_max |
| TASK_NOT_RUNNING |
drivers/net/wireless/ti/wlcore/main.c wlcore_op_unassign_vif_chanctx() -> cfg80211_get_chandef_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chandef | 4096-ptr_max |
| PARAM_VALUE | 0 | chandef->chan | 4096-ptr_max |
| TASK_NOT_RUNNING |
drivers/net/wireless/ti/wlcore/main.c wlcore_set_assoc() -> cfg80211_get_chandef_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chandef | 4096-ptr_max |
drivers/net/wireless/st/cw1200/sta.c cw1200_bss_info_changed() -> cfg80211_get_chandef_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chandef | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &priv->conf_mutex | ||
| LOCK2 | rcu_read | ||
| TYPE_LOCK | (struct cw1200_common)->conf_mutex |
net/mac80211/mesh.c ieee80211_mesh_build_beacon() -> cfg80211_get_chandef_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chandef | 4096-ptr_max |
| PARAM_VALUE | 0 | chandef->chan | 4096-ptr_max |
| PARAM_VALUE | 0 | chandef->width | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |