Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/net/wireless/mediatek/mt76/mt7615/mcu.c, line 868
- drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c
- drivers/net/wireless/mediatek/mt76/mt7915/mcu.c, line 1751
- drivers/net/wireless/mediatek/mt76/mt7925/mcu.c, line 2146
- drivers/net/wireless/mediatek/mt76/mt7996/mcu.c, line 2799
Smatch caller information:
drivers/net/wireless/mediatek/mt76/mt7615/mcu.c mt7615_mcu_wtbl_sta_add() -> mt76_connac_mcu_sta_basic_tlv()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev->mcu_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | skb | 4096-ptr_max |
| PARAM_VALUE | 2 | link_conf | 4096-ptr_max |
| PARAM_VALUE | 3 | link_sta | 0,4096-ptr_max |
| PARAM_VALUE | 4 | conn_state | 0,2 |
| BUF_SIZE | 1 | skb | 0-s32max |
| BUF_SIZE | 1 | skb | 0-s32max |
| BUF_SIZE | 3 | link_sta | 0,272 |
| BUF_SIZE | 3 | link_sta | 0,272 |
| DATA_SOURCE | 1 | skb | r mt76_connac_mcu_alloc_sta_req |
| FUZZY_MAX | 4 | conn_state | 2 |
| BIT_INFO | 4 | conn_state | 0x0,0x2 |
| HARD_MAX | 4 | conn_state | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | link_conf->qos | 0-1[c] |
| HALF_LOCKED2 | &dev->mt76.mutex | ||
| HALF_LOCKED2 | &mdev->mutex | ||
| TYPE_LOCK | (struct mt76_dev)->mutex |
drivers/net/wireless/mediatek/mt76/mt7925/mcu.c mt7925_mcu_sta_cmd() -> mt76_connac_mcu_sta_basic_tlv()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mcu_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mcu_ops->headroom | 0,4,32,64,68 |
| PARAM_VALUE | 1 | skb | 4096-ptr_max |
| PARAM_VALUE | 1 | skb->data_len | 0 |
| PARAM_VALUE | 2 | link_conf | 4096-ptr_max |
| PARAM_VALUE | 3 | link_sta | 4096-ptr_max |
| PARAM_VALUE | 4 | conn_state | 2 |
| BUF_SIZE | 1 | skb | 0-s32max |
| BUF_SIZE | 1 | skb | 0-s32max |
| DATA_SOURCE | 1 | skb | r __mt76_connac_mcu_alloc_sta_req |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mt76.mutex |
drivers/net/wireless/mediatek/mt76/mt7996/mcu.c mt7996_mcu_add_sta() -> mt76_connac_mcu_sta_basic_tlv()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev->mcu_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | skb | 4096-ptr_max |
| PARAM_VALUE | 1 | skb->data_len | 0 |
| PARAM_VALUE | 2 | link_conf | 1-u64max |
| PARAM_VALUE | 2 | *link_conf->mu_group.membership | 0-4294967295 |
| PARAM_VALUE | 3 | link_sta | 0,4096-ptr_max |
| PARAM_VALUE | 4 | conn_state | 0-2 |
| BUF_SIZE | 1 | skb | 0-s32max |
| BUF_SIZE | 1 | skb | 0-s32max |
| BUF_SIZE | 2 | link_conf | (-1),1176 |
| BUF_SIZE | 2 | link_conf | (-1),1176 |
| CAPPED_DATA | 2 | link_conf | 1 |
| DATA_SOURCE | 1 | skb | r __mt76_connac_mcu_alloc_sta_req |
| DATA_SOURCE | 2 | link_conf | $1 |
| DATA_SOURCE | 3 | link_sta | $2 |
| DATA_SOURCE | 4 | conn_state | $5 |
| DATA_SOURCE | 5 | newly | $6 |
| HARD_MAX | 4 | conn_state | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | link_conf->npca.init_qsrc | 0-3[c] |
| USER_DATA | 2 | link_conf->npca.min_dur_thresh | 0-15[c] |
| USER_DATA | 2 | link_conf->npca.moplen | 0-1[c] |
| USER_DATA | 2 | link_conf->npca.switch_back_delay | 0-63[c] |
| USER_DATA | 2 | link_conf->npca.switch_delay | 0-63[c] |
| HALF_LOCKED2 | &dev->mt76.mutex | ||
| HALF_LOCKED2 | &dev->mutex |
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c mt7915_mcu_add_sta() -> mt76_connac_mcu_sta_basic_tlv()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev->mcu_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | skb | 4096-ptr_max |
| PARAM_VALUE | 2 | link_conf | 4096-ptr_max |
| PARAM_VALUE | 3 | link_sta | 0,4096-ptr_max |
| PARAM_VALUE | 4 | conn_state | 0-2 |
| BUF_SIZE | 1 | skb | 0-s32max |
| BUF_SIZE | 1 | skb | 0-s32max |
| BUF_SIZE | 3 | link_sta | 0,272 |
| BUF_SIZE | 3 | link_sta | 0,272 |
| DATA_SOURCE | 1 | skb | r mt76_connac_mcu_alloc_sta_req |
| DATA_SOURCE | 4 | conn_state | $3 |
| DATA_SOURCE | 5 | newly | $4 |
| FUZZY_MAX | 4 | conn_state | 2 |
| HARD_MAX | 4 | conn_state | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | link_conf->qos | 0-1[c] |
| HALF_LOCKED2 | &dev->mt76.mutex | ||
| HALF_LOCKED2 | &mdev->mutex |
drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c mt76_connac_mcu_sta_cmd() -> mt76_connac_mcu_sta_basic_tlv()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mcu_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mcu_ops->headroom | 0,4,32,64,68 |
| PARAM_VALUE | 1 | skb | 4096-ptr_max |
| PARAM_VALUE | 2 | link_conf | 4096-ptr_max |
| PARAM_VALUE | 3 | link_sta | 0,4096-ptr_max |
| PARAM_VALUE | 4 | conn_state | 0,2 |
| BUF_SIZE | 1 | skb | 0-s32max |
| BUF_SIZE | 1 | skb | 0-s32max |
| BUF_SIZE | 2 | link_conf | (-1),1176 |
| BUF_SIZE | 2 | link_conf | (-1),1176 |
| BUF_SIZE | 3 | link_sta | 0,272 |
| BUF_SIZE | 3 | link_sta | 0,272 |
| DATA_SOURCE | 1 | skb | r mt76_connac_mcu_alloc_sta_req |
| FUZZY_MAX | 4 | conn_state | 2 |
| BIT_INFO | 4 | conn_state | 0x0,0x2 |
| HARD_MAX | 4 | conn_state | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mt76.mutex | ||
| HALF_LOCKED2 | &mdev->mutex |