Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/net/wireless/mediatek/mt76/mt7615/mac.c, line 870
- drivers/net/wireless/mediatek/mt76/mt7615/mcu.c
- drivers/net/wireless/mediatek/mt76/mt7615/pci_mac.c, line 100
- drivers/net/wireless/mediatek/mt76/mt7615/usb_sdio.c, line 52
Smatch caller information:
drivers/net/wireless/mediatek/mt76/mt7615/mcu.c mt7615_mcu_add_beacon_offload() -> mt7615_mac_write_txwi()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mcu_ops | 4096-ptr_max |
| PARAM_VALUE | 2 | skb | 4096-ptr_max |
| PARAM_VALUE | 2 | skb->len | 0-480 |
| PARAM_VALUE | 3 | wcid | 4096-ptr_max |
| PARAM_VALUE | 4 | sta | 0 |
| PARAM_VALUE | 5 | pid | 0 |
| PARAM_VALUE | 6 | key | 0 |
| PARAM_VALUE | 7 | qid | 0 |
| PARAM_VALUE | 8 | beacon | 1 |
| BUF_SIZE | 1 | txwi | 512 |
| BUF_SIZE | 2 | skb | (-1)-s32max |
| BUF_SIZE | 2 | skb | (-1)-s32max |
| BUF_SIZE | 3 | wcid | 1024 |
| CAPPED_DATA | 2 | skb | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 2 | skb | r ieee80211_beacon_get_template |
| FUZZY_MAX | 2 | skb->len | 480 |
| PARAM_COMPARE | 0 | &dev->mt76.global_wcid | == $3 |
| HARD_MAX | 2 | skb->len | 480 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mt76.mutex |
drivers/net/wireless/mediatek/mt76/mt7615/mcu.c mt7615_mcu_uni_add_beacon_offload() -> mt7615_mac_write_txwi()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mcu_ops | 4096-ptr_max |
| PARAM_VALUE | 2 | skb | 4096-ptr_max |
| PARAM_VALUE | 2 | skb->len | 0-480 |
| PARAM_VALUE | 3 | wcid | 4096-ptr_max |
| PARAM_VALUE | 4 | sta | 0 |
| PARAM_VALUE | 5 | pid | 0 |
| PARAM_VALUE | 6 | key | 0 |
| PARAM_VALUE | 7 | qid | 0 |
| PARAM_VALUE | 8 | beacon | 1 |
| BUF_SIZE | 1 | txwi | 512 |
| BUF_SIZE | 2 | skb | (-1)-s32max |
| BUF_SIZE | 2 | skb | (-1)-s32max |
| BUF_SIZE | 3 | wcid | 1024 |
| CAPPED_DATA | 2 | skb | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 2 | skb | r ieee80211_beacon_get_template |
| FUZZY_MAX | 2 | skb->len | 480 |
| PARAM_COMPARE | 0 | &dev->mt76.global_wcid | == $3 |
| BIT_INFO | 1 | txwi | 0x0,0x0 |
| HARD_MAX | 2 | skb->len | 480 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mt76.mutex |
drivers/net/wireless/mediatek/mt76/mt7615/pci_mac.c mt7615_tx_prepare_skb() -> mt7615_mac_write_txwi()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 2 | skb | 4096-ptr_max |
| PARAM_VALUE | 2 | skb->cb->flags | 4096-u32max |
| PARAM_VALUE | 3 | wcid | 4096-ptr_max |
| PARAM_VALUE | 5 | pid | 0-2 |
| PARAM_VALUE | 7 | qid | 0-u16max |
| PARAM_VALUE | 8 | beacon | 0 |
| BUF_SIZE | 3 | wcid | (-1),248,1024 |
| BUF_SIZE | 3 | wcid | (-1),248,1024 |
| DATA_SOURCE | 1 | txwi | $1 |
| DATA_SOURCE | 3 | wcid | $3 [m] |
| DATA_SOURCE | 4 | sta | $4 |
| DATA_SOURCE | 5 | pid | r mt76_tx_status_skb_add |
| DATA_SOURCE | 7 | qid | $2 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->ps_lock | ||
| HALF_LOCKED2 | &q->lock |
drivers/net/wireless/mediatek/mt76/mt7615/usb_sdio.c mt7663_usb_sdio_write_txwi() -> mt7615_mac_write_txwi()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 2 | skb | 4096-ptr_max |
| PARAM_VALUE | 2 | skb->cb->flags | 4096-4294967295 |
| PARAM_VALUE | 3 | wcid | 4096-ptr_max |
| PARAM_VALUE | 5 | pid | 0-2 |
| PARAM_VALUE | 7 | qid | 0-u16max |
| PARAM_VALUE | 8 | beacon | 0 |
| BUF_SIZE | 3 | wcid | (-1),248,1024 |
| BUF_SIZE | 3 | wcid | (-1),248,1024 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 2 | skb | $6 |
| DATA_SOURCE | 3 | wcid | $1 |
| DATA_SOURCE | 4 | sta | $3 |
| DATA_SOURCE | 5 | pid | $5 |
| DATA_SOURCE | 6 | key | $4 |
| DATA_SOURCE | 7 | qid | $2 |
| MEM_ZERO | 1 | txwi | |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | txwi | unit_byte |
| HALF_LOCKED2 | &dev->ps_lock | ||
| HALF_LOCKED2 | &q->lock |