Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/net/wireless/mediatek/mt76/channel.c
- drivers/net/wireless/mediatek/mt76/mac80211.c, line 1094
- drivers/net/wireless/mediatek/mt76/scan.c, line 29
Smatch caller information:
drivers/net/wireless/mediatek/mt76/scan.c mt76_scan_complete() -> __mt76_set_channel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->main_chandef.chan | 1-u64max |
| PARAM_VALUE | 1 | chandef | 4096-ptr_max |
| PARAM_VALUE | 1 | chandef->chan | 1-u64max |
| PARAM_VALUE | 2 | offchannel | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dev->mutex | ||
| TYPE_LOCK | (struct mt76_dev)->mutex |
drivers/net/wireless/mediatek/mt76/mac80211.c mt76_set_channel() -> __mt76_set_channel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->dev->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | phy->dev->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->dev->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | phy->dev->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | phy->dev->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | phy->dev->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | phy->dev->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | phy->mac_work.work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 1 | chandef | 4096-ptr_max |
| BUF_SIZE | 0 | phy | (-1),2952 |
| BUF_SIZE | 0 | phy | (-1),2952 |
| BUF_SIZE | 1 | chandef | (-1),48 |
| BUF_SIZE | 1 | chandef | (-1),48 |
| DATA_SOURCE | 0 | phy | $0 |
| DATA_SOURCE | 1 | chandef | $1 |
| DATA_SOURCE | 2 | offchannel | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->mutex | ||
| TYPE_LOCK | (struct mt76_dev)->mutex |
drivers/net/wireless/mediatek/mt76/channel.c mt76_phy_update_channel() -> __mt76_set_channel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->chanctx | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->dev->drv->link_data_size | 0,2216 |
| PARAM_VALUE | 1 | chandef | 4096-ptr_max |
| PARAM_VALUE | 2 | offchannel | 0 |
| BUF_SIZE | 0 | phy->chanctx | 72 |
| CAPPED_DATA | 0 | phy | 1 |
| DATA_SOURCE | 0 | phy | $0 |
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | phy->roc_vif->active_links | |
| LOCK2 | &dev->mutex | ||
| TYPE_LOCK | (struct mt76_dev)->mutex |
drivers/net/wireless/mediatek/mt76/channel.c mt76_remain_on_channel() -> __mt76_set_channel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->dev->band_phys | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->dev->drv->link_data_size | 0-4000000 |
| PARAM_VALUE | 0 | phy->dev->drv->vif_link_add | 0,5984001547580555264 |
| PARAM_VALUE | 0 | phy->mac_work.work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | phy->roc_link | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->roc_link->mvif | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->roc_vif | 4096-ptr_max |
| PARAM_VALUE | 1 | chandef | 8125053231052906496 |
| BUF_SIZE | 0 | phy->roc_link | (-1)-0,2216 |
| CAPPED_DATA | 0 | phy | 1 |
| DATA_SOURCE | 2 | offchannel | r mt76_offchannel_chandef |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->mutex | ||
| TYPE_LOCK | (struct mt76_dev)->mutex |
drivers/net/wireless/mediatek/mt76/channel.c mt76_roc_complete() -> __mt76_set_channel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->chanctx | 1-u64max |
| PARAM_VALUE | 0 | phy->dev->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | phy->dev->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->dev->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | phy->dev->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | phy->dev->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | phy->dev->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | phy->dev->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | phy->main_chandef.chan | 1-u64max |
| PARAM_VALUE | 0 | phy->offchannel | 1 |
| PARAM_VALUE | 0 | phy->roc_link | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phy->roc_link->mvif | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->roc_vif | 1-u64max |
| PARAM_VALUE | 1 | chandef | 4096-ptr_max |
| PARAM_VALUE | 1 | chandef->chan | 1-u64max |
| PARAM_VALUE | 2 | offchannel | 0 |
| DATA_SOURCE | 0 | phy | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | phy->roc_vif->active_links | |
| LOCK2 | &dev->mutex | ||
| TYPE_LOCK | (struct mt76_dev)->mutex |