Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/wireless/mediatek/mt76/mt7915/mcu.c mt7915_mcu_add_inband_discov() -> mt7915_mcu_add_nested_subtlv()

Type Parameter Key Value
PARAM_VALUE 0 skb 4096-ptr_max
PARAM_VALUE 0 skb->data 4096-ptr_max
PARAM_VALUE 0 skb->data->tlv_num 0-u16max
PARAM_VALUE 0 skb->data_len 0
PARAM_VALUE 1 sub_tag 4
PARAM_VALUE 3 sub_ntlv 4096-ptr_max
PARAM_VALUE 4 len 4096-ptr_max
BUF_SIZE 0 skb 0-s32max
BUF_SIZE 0 skb 0-s32max
DATA_SOURCE 0 skb r __mt76_connac_mcu_alloc_sta_req
RX_PATH
TASK_NOT_RUNNING
UNITS 2 sub_len unit_byte
LOCK2 &dev->mt76.mutex
TYPE_LOCK (struct mt76_dev)->mutex

drivers/net/wireless/mediatek/mt76/mt7915/mcu.c mt7915_mcu_beacon_cntdwn() -> mt7915_mcu_add_nested_subtlv()

Type Parameter Key Value
PARAM_VALUE 0 skb 4096-ptr_max
PARAM_VALUE 0 skb->data 4096-ptr_max
PARAM_VALUE 0 skb->data->tlv_num 0-u16max
PARAM_VALUE 0 skb->data_len 0
PARAM_VALUE 1 sub_tag 0-1
PARAM_VALUE 2 sub_len 8
PARAM_VALUE 3 sub_ntlv 4096-ptr_max
PARAM_VALUE 4 len 4096-ptr_max
BUF_SIZE 0 skb 0-s32max
BUF_SIZE 0 skb 0-s32max
DATA_SOURCE 0 skb $1
FUZZY_MAX 1 sub_tag 1
HARD_MAX 1 sub_tag 1
RX_PATH
TASK_NOT_RUNNING
UNITS 2 sub_len unit_byte
HALF_LOCKED2 &dev->mt76.mutex

drivers/net/wireless/mediatek/mt76/mt7915/mcu.c mt7915_mcu_beacon_cont() -> mt7915_mcu_add_nested_subtlv()

Type Parameter Key Value
PARAM_VALUE 0 skb 4096-ptr_max
PARAM_VALUE 0 skb->data 4096-ptr_max
PARAM_VALUE 0 skb->data->tlv_num 0-u16max
PARAM_VALUE 0 skb->data_len 0
PARAM_VALUE 1 sub_tag 3
PARAM_VALUE 2 sub_len 44-1356
PARAM_VALUE 3 sub_ntlv 4096-ptr_max
PARAM_VALUE 4 len 4096-ptr_max
BUF_SIZE 0 skb 0-s32max
BUF_SIZE 0 skb 0-s32max
DATA_SOURCE 0 skb $2
FUZZY_MAX 2 sub_len 1352
RX_PATH
TASK_NOT_RUNNING
UNITS 2 sub_len unit_byte
HALF_LOCKED2 &dev->mt76.mutex

drivers/net/wireless/mediatek/mt76/mt7915/mcu.c mt7915_mcu_beacon_mbss() -> mt7915_mcu_add_nested_subtlv()

Type Parameter Key Value
PARAM_VALUE 0 skb 4096-ptr_max
PARAM_VALUE 0 skb->data 4096-ptr_max
PARAM_VALUE 0 skb->data->tlv_num 0-u16max
PARAM_VALUE 0 skb->data_len 0
PARAM_VALUE 1 sub_tag 2
PARAM_VALUE 2 sub_len 80
PARAM_VALUE 3 sub_ntlv 4096-ptr_max
PARAM_VALUE 4 len 4096-ptr_max
BUF_SIZE 0 skb 0-s32max
BUF_SIZE 0 skb 0-s32max
DATA_SOURCE 0 skb $0
RX_PATH
TASK_NOT_RUNNING
UNITS 2 sub_len unit_byte
HALF_LOCKED2 &dev->mt76.mutex