Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 26 files:

Smatch caller information:

drivers/net/wireless/marvell/mwifiex/cfg80211.c mwifiex_cfg80211_get_channel() -> cfg80211_chandef_create()

Type Parameter Key Value
PARAM_VALUE 0 chandef 333131878984044544,5141701165918347264,5337544947479535616,5369208643921739776
PARAM_VALUE 1 chan 0,4096-ptr_max
PARAM_VALUE 2 chan_type 0-3
DATA_SOURCE 0 chandef $3
DATA_SOURCE 1 chan r ieee80211_get_channel
DATA_SOURCE 2 chan_type r mwifiex_get_chan_type
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &rdev->wiphy.mtx
HALF_LOCKED2 &wiphy->mtx
HALF_LOCKED2 global &rtnl_mutex

drivers/net/wireless/marvell/mwifiex/cfg80211.c mwifiex_cfg80211_get_channel() -> cfg80211_chandef_create()

Type Parameter Key Value
PARAM_VALUE 0 chandef 333131878984044544,5141701165918347264,5337544947479535616,5369208643921739776
PARAM_VALUE 1 chan 0,4096-ptr_max
PARAM_VALUE 2 chan_type 0
DATA_SOURCE 0 chandef $3
DATA_SOURCE 1 chan r ieee80211_get_channel
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &rdev->wiphy.mtx
HALF_LOCKED2 &wiphy->mtx
HALF_LOCKED2 global &rtnl_mutex

net/wireless/ibss.c cfg80211_ibss_wext_join() -> cfg80211_chandef_create()

Type Parameter Key Value
PARAM_VALUE 0 chandef 4096-ptr_max
PARAM_VALUE 1 chan 4096-ptr_max
PARAM_VALUE 2 chan_type 0
NOCHECK_CALL
HALF_LOCKED2 &rdev->wiphy.mtx
HALF_LOCKED2 &rdev->wiphy.mtx
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct wiphy)->mtx

net/wireless/ibss.c cfg80211_ibss_wext_siwfreq() -> cfg80211_chandef_create()

Type Parameter Key Value
PARAM_VALUE 0 chandef 4096-ptr_max
PARAM_VALUE 1 chan 4096-ptr_max
PARAM_VALUE 2 chan_type 0
DATA_SOURCE 1 chan r ieee80211_get_channel
BIT_INFO 1 chan->flags 0x0,0xfffffffc
NOCHECK_CALL
LOCK2 &rdev->wiphy.mtx
LOCK2 global &rtnl_mutex
TYPE_LOCK (struct wiphy)->mtx

net/mac80211/tdls.c ieee80211_process_tdls_channel_switch_req() -> cfg80211_chandef_create()

Type Parameter Key Value
PARAM_VALUE 0 chandef 5376113108943015936
PARAM_VALUE 1 chan 4096-ptr_max
PARAM_VALUE 2 chan_type 1-3
DATA_SOURCE 1 chan r ieee80211_get_channel
FUZZY_MAX 2 chan_type 3
HARD_MAX 2 chan_type 3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &rdev->wiphy.mtx

net/mac80211/tdls.c ieee80211_tdls_add_subband() -> cfg80211_chandef_create()

Type Parameter Key Value
PARAM_VALUE 0 chandef 1441573580677050368
PARAM_VALUE 1 chan 4096-ptr_max
PARAM_VALUE 2 chan_type 0
DATA_SOURCE 1 chan r ieee80211_get_channel
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 rcu_read

net/mac80211/util.c ieee80211_chandef_ht_oper() -> cfg80211_chandef_create()

Type Parameter Key Value
PARAM_VALUE 0 chandef 3679396646331523072,6468617374059393024,7608319729125171200,8150732977064402944,8901305611616821248,9005867664291110912
PARAM_VALUE 2 chan_type 1-3
DATA_SOURCE 0 chandef $1
FUZZY_MAX 2 chan_type 3
HARD_MAX 2 chan_type 3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 rcu_read

net/mac80211/util.c ieee80211_ie_build_he_oper() -> cfg80211_chandef_create()

Type Parameter Key Value
PARAM_VALUE 0 chandef 36091677701447680
PARAM_VALUE 1 chan 4096-ptr_max
PARAM_VALUE 1 chan->band 3
PARAM_VALUE 2 chan_type 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

net/wireless/mlme.c cfg80211_dfs_channels_update_work() -> cfg80211_chandef_create()

Type Parameter Key Value
PARAM_VALUE 0 chandef 7220207829240848384
PARAM_VALUE 1 chan 4096-ptr_max
PARAM_VALUE 2 chan_type 0
BIT_INFO 1 chan->flags 0x8,0xffffffffffffffff
NOCHECK_CALL
LOCK2 global &rtnl_mutex
HALF_LOCKED2 &pool->lock

net/wireless/scan.c cfg80211_gen_reporter_rnr() -> cfg80211_chandef_create()

Type Parameter Key Value
PARAM_VALUE 0 chandef 7196937715252813824
PARAM_VALUE 1 chan 4096-ptr_max
PARAM_VALUE 2 chan_type 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 rcu_read
HALF_LOCKED2 global &rtnl_mutex

drivers/net/wireless/mediatek/mt76/scan.c mt76_offchannel_chandef() -> cfg80211_chandef_create()

Type Parameter Key Value
PARAM_VALUE 0 chandef 6163559832377122816
PARAM_VALUE 2 chan_type 1
DATA_SOURCE 0 chandef $2
DATA_SOURCE 1 chan $1
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/net/wireless/ath/ath9k/channel.c ath9k_offchannel_init() -> cfg80211_chandef_create()

Type Parameter Key Value
PARAM_VALUE 0 chandef 4096-ptr_max
PARAM_VALUE 1 chan 4096-ptr_max
PARAM_VALUE 2 chan_type 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/wireless/ath/ath9k/channel.c ath_chanctx_init() -> cfg80211_chandef_create()

Type Parameter Key Value
PARAM_VALUE 1 chan 4096-ptr_max
PARAM_VALUE 2 chan_type 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/wireless/ath/ath9k/channel.c ath_chanctx_offchan_switch() -> cfg80211_chandef_create()

Type Parameter Key Value
PARAM_VALUE 0 chandef 960559527316221952
PARAM_VALUE 2 chan_type 0
DATA_SOURCE 1 chan $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &sc->mutex

drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c iwl_mvm_p2p_find_phy_ctxt() -> cfg80211_chandef_create()

Type Parameter Key Value
PARAM_VALUE 0 chandef 7070353069342543872
PARAM_VALUE 1 chan 4096-ptr_max
PARAM_VALUE 2 chan_type 0
DATA_SOURCE 1 chan $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &mvm->mutex
TYPE_LOCK (struct iwl_mvm)->mutex

net/wireless/nl80211.c _nl80211_parse_chandef() -> cfg80211_chandef_create()

Type Parameter Key Value
PARAM_VALUE 0 chandef 4096-ptr_max
PARAM_VALUE 1 chan 4096-ptr_max
PARAM_VALUE 1 chan->band 0-1,3,5-u32max
PARAM_VALUE 2 chan_type 0-3
DATA_SOURCE 0 chandef $4
DATA_SOURCE 1 chan r ieee80211_get_channel_khz
DATA_SOURCE 2 chan_type r nla_get_u32
MEM_ZERO 0 chandef
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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 &rx_queue_mutex
HALF_LOCKED2 rcu_read

net/wireless/nl80211.c nl80211_get_nan_channel() -> cfg80211_chandef_create()

Type Parameter Key Value
PARAM_VALUE 0 chandef 2402862811632029696
PARAM_VALUE 1 chan 4096-ptr_max
PARAM_VALUE 2 chan_type 0
DATA_SOURCE 1 chan r ieee80211_get_channel
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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/ath/wil6210/cfg80211.c wil_cfg80211_init() -> cfg80211_chandef_create()

Type Parameter Key Value
PARAM_VALUE 0 chandef 4096-ptr_max
PARAM_VALUE 2 chan_type 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 chan unit_byte
HALF_LOCKED2 &pool->lock

drivers/net/wireless/mediatek/mt76/mac80211.c mt76_check_sband() -> cfg80211_chandef_create()

Type Parameter Key Value
PARAM_VALUE 0 chandef 4096-ptr_max
PARAM_VALUE 1 chan 4096-ptr_max
PARAM_VALUE 2 chan_type 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/wireless/mediatek/mt76/channel.c mt76_offchannel_chandef() -> cfg80211_chandef_create()

Type Parameter Key Value
PARAM_VALUE 0 chandef 8125053231052906496
PARAM_VALUE 1 chan 4096-ptr_max
PARAM_VALUE 2 chan_type 1
DATA_SOURCE 0 chandef $2
DATA_SOURCE 1 chan $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &dev->mutex
TYPE_LOCK (struct mt76_dev)->mutex

drivers/net/wireless/nxp/nxpwifi/cfg80211.c nxpwifi_cfg80211_get_channel() -> cfg80211_chandef_create()

Type Parameter Key Value
PARAM_VALUE 0 chandef 333131878984044544,5141701165918347264,5337544947479535616,5369208643921739776
PARAM_VALUE 1 chan 0,4096-ptr_max
PARAM_VALUE 2 chan_type 0-3
DATA_SOURCE 0 chandef $3
DATA_SOURCE 1 chan r ieee80211_get_channel
DATA_SOURCE 2 chan_type r nxpwifi_get_chan_type
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &rdev->wiphy.mtx
HALF_LOCKED2 &wiphy->mtx
HALF_LOCKED2 global &rtnl_mutex

drivers/net/wireless/nxp/nxpwifi/cfg80211.c nxpwifi_cfg80211_get_channel() -> cfg80211_chandef_create()

Type Parameter Key Value
PARAM_VALUE 0 chandef 333131878984044544,5141701165918347264,5337544947479535616,5369208643921739776
PARAM_VALUE 1 chan 0,4096-ptr_max
PARAM_VALUE 2 chan_type 0
DATA_SOURCE 0 chandef $3
DATA_SOURCE 1 chan r ieee80211_get_channel
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &rdev->wiphy.mtx
HALF_LOCKED2 &wiphy->mtx
HALF_LOCKED2 global &rtnl_mutex

drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c cfg80211_rtw_get_channel() -> cfg80211_chandef_create()

Type Parameter Key Value
PARAM_VALUE 0 chandef 333131878984044544,5141701165918347264,5337544947479535616,5369208643921739776
PARAM_VALUE 1 chan 0,4096-ptr_max
PARAM_VALUE 2 chan_type 0-3
DATA_SOURCE 0 chandef $3
DATA_SOURCE 1 chan r ieee80211_get_channel
DATA_SOURCE 2 chan_type r rtw_get_chan_type
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &rdev->wiphy.mtx
HALF_LOCKED2 &wiphy->mtx
HALF_LOCKED2 global &rtnl_mutex

drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c cfg80211_rtw_get_channel() -> cfg80211_chandef_create()

Type Parameter Key Value
PARAM_VALUE 0 chandef 333131878984044544,5141701165918347264,5337544947479535616,5369208643921739776
PARAM_VALUE 1 chan 0,4096-ptr_max
PARAM_VALUE 2 chan_type 0
DATA_SOURCE 0 chandef $3
DATA_SOURCE 1 chan r ieee80211_get_channel
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &rdev->wiphy.mtx
HALF_LOCKED2 &wiphy->mtx
HALF_LOCKED2 global &rtnl_mutex

net/wireless/util.c cfg80211_wdev_channel_allowed() -> cfg80211_chandef_create()

Type Parameter Key Value
PARAM_VALUE 0 chandef 2904369236598923264
PARAM_VALUE 2 chan_type 1
DATA_SOURCE 1 chan $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &rtnl_mutex

drivers/net/wireless/ath/ath6kl/cfg80211.c ath6kl_cfg80211_ch_switch_notify() -> cfg80211_chandef_create()

Type Parameter Key Value
PARAM_VALUE 0 chandef 5814755825663479808
PARAM_VALUE 1 chan 0,4096-ptr_max
PARAM_VALUE 2 chan_type 0-1
FUZZY_MAX 2 chan_type 1
HARD_MAX 2 chan_type 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/wireless/virtual/mac80211_hwsim_nan.c mac80211_hwsim_nan_get_tx_chandef() -> cfg80211_chandef_create()

Type Parameter Key Value
PARAM_VALUE 0 chandef 4423528759347978240
PARAM_VALUE 1 chan 0,4096-ptr_max
PARAM_VALUE 2 chan_type 0
DATA_SOURCE 0 chandef $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &local->handle_wake_tx_queue_lock
HALF_LOCKED2 rcu_read

drivers/net/wireless/virtual/mac80211_hwsim_nan.c mac80211_hwsim_nan_get_tx_chandef() -> cfg80211_chandef_create()

Type Parameter Key Value
PARAM_VALUE 0 chandef 4423528759347978240
PARAM_VALUE 1 chan 0,4096-ptr_max
PARAM_VALUE 2 chan_type 0
DATA_SOURCE 0 chandef $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &local->handle_wake_tx_queue_lock
HALF_LOCKED2 rcu_read

net/mac80211/ibss.c ieee80211_ibss_process_chanswitch() -> cfg80211_chandef_create()

Type Parameter Key Value
PARAM_VALUE 0 chandef 3770386965129879552
PARAM_VALUE 2 chan_type 0-3
DATA_SOURCE 2 chan_type r cfg80211_get_chandef_type
MEM_ZERO 0 chandef
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &rdev->wiphy.mtx

net/mac80211/ibss.c ieee80211_sta_join_ibss() -> cfg80211_chandef_create()

Type Parameter Key Value
PARAM_VALUE 0 chandef 5827722206013247488
PARAM_VALUE 2 chan_type 0-3
DATA_SOURCE 2 chan_type r cfg80211_get_chandef_type
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &rdev->wiphy.mtx

net/mac80211/ibss.c ieee80211_sta_join_ibss() -> cfg80211_chandef_create()

Type Parameter Key Value
PARAM_VALUE 0 chandef 5827722206013247488
PARAM_VALUE 2 chan_type 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &rdev->wiphy.mtx

net/mac80211/ibss.c ieee80211_update_sta_info() -> cfg80211_chandef_create()

Type Parameter Key Value
PARAM_VALUE 0 chandef 9005867664291110912
PARAM_VALUE 1 chan 4096-ptr_max
PARAM_VALUE 2 chan_type 0
DATA_SOURCE 1 chan $5
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 rcu_read
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &rdev->wiphy.mtx

drivers/net/wireless/mediatek/mt76/mt7925/main.c mt7925_start_nan() -> cfg80211_chandef_create()

Type Parameter Key Value
PARAM_VALUE 0 chandef 4096-ptr_max
PARAM_VALUE 1 chan 1-u64max
PARAM_VALUE 2 chan_type 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &dev->mt76.mutex
TYPE_LOCK (struct mt76_dev)->mutex

drivers/net/wireless/intel/iwlwifi/mvm/phy-ctxt.c iwl_mvm_phy_ctxt_unref() -> cfg80211_chandef_create()

Type Parameter Key Value
PARAM_VALUE 0 chandef 8206493793839259648
PARAM_VALUE 2 chan_type 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &mvm->mutex
TYPE_LOCK (struct iwl_mvm)->mutex

net/wireless/reg.c reg_wdev_chan_valid() -> cfg80211_chandef_create()

Type Parameter Key Value
PARAM_VALUE 0 chandef 5141701165918347264
PARAM_VALUE 1 chan 1-u64max
PARAM_VALUE 2 chan_type 0
NOCHECK_CALL
LOCK2 &wiphy->mtx
LOCK2 global &rtnl_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct wiphy)->mtx

net/mac80211/spectmgmt.c ieee80211_parse_ch_switch_ie() -> cfg80211_chandef_create()

Type Parameter Key Value
PARAM_VALUE 0 chandef 1630443538736693248,2445481384690761728,2586266322672308224
PARAM_VALUE 1 chan 4096-ptr_max
PARAM_VALUE 2 chan_type 1
DATA_SOURCE 1 chan r ieee80211_get_channel
BIT_INFO 1 chan->flags 0x0,0xfffffffe
MEM_ZERO 0 chandef
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

net/mac80211/spectmgmt.c ieee80211_parse_ch_switch_ie() -> cfg80211_chandef_create()

Type Parameter Key Value
PARAM_VALUE 0 chandef 1630443538736693248,2445481384690761728,2586266322672308224
PARAM_VALUE 1 chan 4096-ptr_max
PARAM_VALUE 2 chan_type 3
DATA_SOURCE 1 chan r ieee80211_get_channel
BIT_INFO 1 chan->flags 0x0,0xfffffffe
MEM_ZERO 0 chandef
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

net/mac80211/spectmgmt.c ieee80211_parse_ch_switch_ie() -> cfg80211_chandef_create()

Type Parameter Key Value
PARAM_VALUE 0 chandef 1630443538736693248,2445481384690761728,2586266322672308224
PARAM_VALUE 1 chan 4096-ptr_max
PARAM_VALUE 2 chan_type 2
DATA_SOURCE 1 chan r ieee80211_get_channel
BIT_INFO 1 chan->flags 0x0,0xfffffffe
MEM_ZERO 0 chandef
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

net/mac80211/spectmgmt.c ieee80211_parse_ch_switch_ie() -> cfg80211_chandef_create()

Type Parameter Key Value
PARAM_VALUE 0 chandef 1630443538736693248,2445481384690761728,2586266322672308224
PARAM_VALUE 1 chan 4096-ptr_max
PARAM_VALUE 2 chan_type 0
DATA_SOURCE 1 chan r ieee80211_get_channel
BIT_INFO 1 chan->flags 0x0,0xfffffffe
MEM_ZERO 0 chandef
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/wireless/realtek/rtw89/core.c rtw89_get_default_chandef() -> cfg80211_chandef_create()

Type Parameter Key Value
PARAM_VALUE 0 chandef 2717004555453091840
PARAM_VALUE 1 chan 2231573734103015424
PARAM_VALUE 2 chan_type 0
BUF_SIZE 1 chan 1120
DATA_SOURCE 0 chandef $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

net/mac80211/mesh.c mesh_matches_local() -> cfg80211_chandef_create()

Type Parameter Key Value
PARAM_VALUE 0 chandef 8901305611616821248
PARAM_VALUE 2 chan_type 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &rdev->wiphy.mtx
HALF_LOCKED2 rcu_read

drivers/net/wireless/ath/ath9k/init.c ath9k_init_band_txpower() -> cfg80211_chandef_create()

Type Parameter Key Value
PARAM_VALUE 0 chandef 1527855578536955904
PARAM_VALUE 1 chan 4096-ptr_max
PARAM_VALUE 2 chan_type 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL