Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 8 files:
- drivers/net/wireless/mediatek/mt76/mt7921/main.c, line 1489
- drivers/net/wireless/mediatek/mt76/mt7925/main.c, line 2513
- net/mac80211/chan.c, line 2432
- net/mac80211/mesh.c, line 1316
- net/mac80211/mlme.c
- net/mac80211/tx.c, line 2440
- net/wireless/chan.c, line 1622
- net/wireless/reg.c, line 2436
Smatch caller information:
net/mac80211/chan.c ieee80211_link_change_chanreq() -> cfg80211_chandef_usable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | chandef | 1100359065258942464,4098179819750797312 |
| 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 | prohibited_flags | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/wireless/mediatek/mt76/mt7921/main.c mt7921_pre_channel_switch() -> cfg80211_chandef_usable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | chandef | 1195286399645081616,7772075937401511952 |
| PARAM_VALUE | 1 | chandef->chan | 0 |
| PARAM_VALUE | 2 | prohibited_flags | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/mac80211/tx.c ieee80211_monitor_start_xmit() -> cfg80211_chandef_usable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | chandef | 1-u64max |
| PARAM_VALUE | 2 | prohibited_flags | 1 |
| BUF_SIZE | 1 | chandef | 48 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &dev->tx_global_lock | ||
| HALF_LOCKED2 | &txq->_xmit_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags |
net/mac80211/mlme.c ieee80211_chandef_usable() -> cfg80211_chandef_usable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wiphy | 4096-ptr_max |
| PARAM_VALUE | 0 | wiphy->bands | 4096-ptr_max |
| PARAM_VALUE | 1 | chandef | 1031964651006083072,4723463822551535616,8828068338220605440 |
| PARAM_VALUE | 2 | prohibited_flags | 1 |
| DATA_SOURCE | 1 | chandef | $1 |
| DATA_SOURCE | 2 | prohibited_flags | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | rcu_read |
net/mac80211/mlme.c ieee80211_determine_chan_mode() -> cfg80211_chandef_usable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | chandef | 1031964651006083072,4723463822551535616 |
| PARAM_VALUE | 2 | prohibited_flags | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
net/mac80211/mlme.c ieee80211_determine_chan_mode() -> cfg80211_chandef_usable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | chandef | 1031964651006083072,4723463822551535616 |
| 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 | prohibited_flags | 8192 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
net/mac80211/mlme.c ieee80211_determine_chan_mode() -> cfg80211_chandef_usable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | chandef | 1031964651006083072,4723463822551535616 |
| 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 | prohibited_flags | 1048576 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
net/mac80211/mlme.c ieee80211_determine_chan_mode() -> cfg80211_chandef_usable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | chandef | 1031964651006083072,4723463822551535616 |
| 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 | prohibited_flags | 262144 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
net/mac80211/mlme.c ieee80211_sta_process_chanswitch() -> cfg80211_chandef_usable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | chandef | 2445481384690761728 |
| PARAM_VALUE | 1 | chandef->chan | 4096-ptr_max |
| PARAM_VALUE | 2 | prohibited_flags | 1 |
| MEM_ZERO | 1 | chandef |
drivers/net/wireless/mediatek/mt76/mt7925/main.c mt7925_pre_channel_switch() -> cfg80211_chandef_usable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | chandef | 1195286399645081616,7772075937401511952 |
| PARAM_VALUE | 1 | chandef->chan | 0 |
| PARAM_VALUE | 2 | prohibited_flags | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/wireless/reg.c reg_wdev_chan_valid() -> cfg80211_chandef_usable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wiphy | 4096-ptr_max |
| PARAM_VALUE | 0 | wiphy->mtx.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wiphy->mtx.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | wiphy->mtx.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | wiphy->mtx.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | chandef | 5141701165918347264 |
| PARAM_VALUE | 2 | prohibited_flags | 1 |
| DATA_SOURCE | 0 | wiphy | $0 |
| LOCK2 | global &rtnl_mutex | ||
| LOCK2 | 0 | &wiphy->mtx | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct wiphy)->mtx |
net/mac80211/mesh.c ieee80211_mesh_process_chnswitch() -> cfg80211_chandef_usable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | chandef | 4443819193923788800 |
| PARAM_VALUE | 2 | prohibited_flags | 1 |
| MEM_ZERO | 1 | chandef | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &rdev->wiphy.mtx |