Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

net/wireless/mlme.c __cfg80211_background_cac_event() -> cfg80211_set_dfs_state()

Type Parameter Key Value
PARAM_VALUE 0 wiphy 4096-ptr_max
PARAM_VALUE 1 chandef 4096-ptr_max
PARAM_VALUE 1 chandef->chan 4096-ptr_max
PARAM_VALUE 1 chandef->edmg.bw_config 0,4-15
PARAM_VALUE 1 chandef->freq1_offset 0-999
PARAM_VALUE 1 chandef->width 0-5,8-13
PARAM_VALUE 2 dfs_state 2
BUF_SIZE 0 wiphy 2464
DATA_SOURCE 1 chandef $2
RX_PATH
NOCHECK_CALL
LOCK2 &rdev->wiphy.mtx
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct wiphy)->mtx

net/wireless/mlme.c __cfg80211_radar_event() -> cfg80211_set_dfs_state()

Type Parameter Key Value
PARAM_VALUE 0 wiphy 1-u64max
PARAM_VALUE 1 chandef 4096-ptr_max
PARAM_VALUE 2 dfs_state 1
DATA_SOURCE 0 wiphy $0
DATA_SOURCE 1 chandef $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 chandef->center_freq1 0-u16max[u]
USER_DATA 1 chandef->center_freq2 0-u16max[u]
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 rcu_read

net/wireless/mlme.c cfg80211_cac_event() -> cfg80211_set_dfs_state()

Type Parameter Key Value
PARAM_VALUE 0 wiphy 1-u64max
PARAM_VALUE 1 chandef 1992423652501942272,3605330660028248064,4698841137949626368,5006832505527697408
PARAM_VALUE 2 dfs_state 2
DATA_SOURCE 1 chandef $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 chandef->center_freq1 0-u16max[u]
USER_DATA 1 chandef->center_freq2 0-u16max[u]
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &rtnl_mutex

net/wireless/nl80211.c nl80211_notify_radar_detection() -> cfg80211_set_dfs_state()

Type Parameter Key Value
PARAM_VALUE 1 chandef 8067256182274850816
PARAM_VALUE 1 chandef->chan 4096-ptr_max
PARAM_VALUE 1 chandef->edmg.bw_config 0,4-15
PARAM_VALUE 1 chandef->freq1_offset 0-999
PARAM_VALUE 1 chandef->width 0-5,8-13
PARAM_VALUE 2 dfs_state 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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 regulatory_propagate_dfs_state() -> cfg80211_set_dfs_state()

Type Parameter Key Value
PARAM_VALUE 0 wiphy 4096-ptr_max
PARAM_VALUE 1 chandef 4096-ptr_max
PARAM_VALUE 1 chandef->chan 4096-ptr_max
PARAM_VALUE 2 dfs_state 0-2
DATA_SOURCE 1 chandef $1
DATA_SOURCE 2 dfs_state $2
HARD_MAX 2 dfs_state 2
NOCHECK_CALL
LOCK2 global &rtnl_mutex
HALF_LOCKED2 &pool->lock