Home
last modified time | relevance | path

Searched refs:tlv_buf_left (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/net/wireless/marvell/mwifiex/
Dsta_event.c418 u16 tlv_buf_left, tlv_type, tlv_len; in mwifiex_process_multi_chan_event() local
422 tlv_buf_left = event_skb->len - sizeof(u32); in mwifiex_process_multi_chan_event()
426 tlv_buf_left < sizeof(struct mwifiex_ie_types_multi_chan_info)) { in mwifiex_process_multi_chan_event()
436 tlv_buf_left -= sizeof(struct mwifiex_ie_types_multi_chan_info); in mwifiex_process_multi_chan_event()
439 while (tlv_buf_left >= (int)sizeof(struct mwifiex_ie_types_header)) { in mwifiex_process_multi_chan_event()
443 tlv_buf_left) { in mwifiex_process_multi_chan_event()
445 "tlvBufLeft=%d\n", tlv_len, tlv_buf_left); in mwifiex_process_multi_chan_event()
477 tlv_buf_left -= sizeof(struct mwifiex_ie_types_header) + in mwifiex_process_multi_chan_event()
495 int tlv_buf_left; in mwifiex_process_tx_pause_event() local
504 tlv_buf_left = event_skb->len - sizeof(u32); in mwifiex_process_tx_pause_event()
[all …]
Dsta_cmdresp.c262 u16 tlv, tlv_buf_len, tlv_buf_left; in mwifiex_ret_tx_rate_cfg() local
267 tlv_buf_left = le16_to_cpu(resp->size) - S_DS_GEN - sizeof(*rate_cfg); in mwifiex_ret_tx_rate_cfg()
269 while (tlv_buf_left >= sizeof(*head)) { in mwifiex_ret_tx_rate_cfg()
274 if (tlv_buf_left < (sizeof(*head) + tlv_buf_len)) in mwifiex_ret_tx_rate_cfg()
304 tlv_buf_left -= (sizeof(*head) + tlv_buf_len); in mwifiex_ret_tx_rate_cfg()
377 u16 tlv_buf_left; in mwifiex_ret_tx_power_cfg() local
387 tlv_buf_left = le16_to_cpu(resp->size) - S_DS_GEN - sizeof(*txp_cfg); in mwifiex_ret_tx_power_cfg()
388 if (tlv_buf_left < in mwifiex_ret_tx_power_cfg()
1131 u16 tlv, tlv_buf_len, tlv_buf_left; in mwifiex_ret_chan_region_cfg() local
1140 tlv_buf_left = le16_to_cpu(resp->size) - S_DS_GEN - sizeof(*reg); in mwifiex_ret_chan_region_cfg()
[all …]
D11n_rxreorder.c910 int tlv_buf_left = len; in mwifiex_11n_rxba_sync_event() local
916 while (tlv_buf_left > sizeof(*tlv_rxba)) { in mwifiex_11n_rxba_sync_event()
919 if (size_add(sizeof(tlv_rxba->header), tlv_len) > tlv_buf_left) { in mwifiex_11n_rxba_sync_event()
923 tlv_buf_left); in mwifiex_11n_rxba_sync_event()
935 if (size_add(sizeof(*tlv_rxba), tlv_bitmap_len) > tlv_buf_left) { in mwifiex_11n_rxba_sync_event()
939 tlv_buf_left); in mwifiex_11n_rxba_sync_event()
979 tlv_buf_left -= (sizeof(tlv_rxba->header) + tlv_len); in mwifiex_11n_rxba_sync_event()
Dscan.c1118 u32 tlv_buf_left; in mwifiex_ret_802_11_scan_get_tlv_ptrs() local
1123 tlv_buf_left = tlv_buf_size; in mwifiex_ret_802_11_scan_get_tlv_ptrs()
1130 while (tlv_buf_left >= sizeof(struct mwifiex_ie_types_header)) { in mwifiex_ret_802_11_scan_get_tlv_ptrs()
1135 if (sizeof(tlv->header) + tlv_len > tlv_buf_left) { in mwifiex_ret_802_11_scan_get_tlv_ptrs()
1170 tlv_buf_left -= (sizeof(tlv->header) + tlv_len); in mwifiex_ret_802_11_scan_get_tlv_ptrs()