Home
last modified time | relevance | path

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

/hal_nxp-latest/mcux/middleware/wifi_nxp/wifidriver/
Dmlan_uap_cmdevent.c941 int tlv_buf_left = pevent->data_len - ASSOC_EVENT_FIX_SIZE; local
946 while (tlv_buf_left >= (int)sizeof(MrvlIEtypesHeader_t))
950 if ((sizeof(MrvlIEtypesHeader_t) + tlv_len) > (unsigned int)tlv_buf_left)
952 wifi_d("wrong tlv: tlvLen=%d, tlvBufLeft=%d", tlv_len, tlv_buf_left);
987 tlv_buf_left -= (sizeof(MrvlIEtypesHeader_t) + tlv_len);
1039 t_u16 tlv_buf_left; local
1097 tlv_buf_left = bss->param.sta_info.tlv_len;
1114 while (tlv_buf_left >= sizeof(MrvlIEtypesHeader_t))
1116 if (tlv_buf_left < (sizeof(MrvlIEtypesHeader_t) + tlv->len))
1199 tlv_buf_left -= sizeof(MrvlIEtypesHeader_t) + tlv_len;
Dmlan_glue.c210 int tlv_buf_left = 0; in wifi_11k_save_request() local
235 tlv_buf_left = (int)evt->length; in wifi_11k_save_request()
236 tlv_buf_left = wlan_le16_to_cpu(tlv_buf_left); in wifi_11k_save_request()
237 if (tlv_buf_left < (int)sizeof(MrvlIEtypesHeader_t)) in wifi_11k_save_request()
246 wifi_d("neighbor AP list tlv len: %d", tlv_buf_left); in wifi_11k_save_request()
248 while (tlv_buf_left >= (int)sizeof(MrvlIEtypesHeader_t)) in wifi_11k_save_request()
252 if ((sizeof(MrvlIEtypesHeader_t) + tlv_len) > (unsigned int)tlv_buf_left) in wifi_11k_save_request()
254 wifi_d("wrong tlv: tlvLen=%d, tlvBufLeft=%d", tlv_len, tlv_buf_left); in wifi_11k_save_request()
287 tlv_buf_left -= (int)(buf_used); in wifi_11k_save_request()
4882 … int tlv_buf_left = (int)pevent->length - (int)INTF_HEADER_LEN - (int)ASSOC_EVENT_FIX_SIZE; in wrapper_wlan_check_sta_capability() local
[all …]
Dmlan_cmdevt.c1365 t_u16 tlv_buf_left; in wlan_ret_chan_region_cfg() local
1387 tlv_buf_left = (t_u16)(wlan_le16_to_cpu(resp->size) - S_DS_GEN - sizeof(*reg)); in wlan_ret_chan_region_cfg()
1390 wlan_add_fw_cfp_tables(pmpriv, tlv_buf, tlv_buf_left); in wlan_ret_chan_region_cfg()
1669 t_u16 tlv_buf_left = 0; in wlan_ret_gpio_tsf_latch() local
1680 tlv_buf_left = resp->size - (sizeof(HostCmd_DS_GPIO_TSF_LATCH_PARAM_CONFIG) + S_DS_GEN); in wlan_ret_gpio_tsf_latch()
1681 while (tlv_buf_left >= sizeof(MrvlIEtypesHeader_t)) in wlan_ret_gpio_tsf_latch()
1685 if (tlv_buf_left < (tlv_len + sizeof(MrvlIEtypesHeader_t))) in wlan_ret_gpio_tsf_latch()
1732 tlv_buf_left -= tlv_len + sizeof(MrvlIEtypesHeader_t); in wlan_ret_gpio_tsf_latch()
Dmlan_scan.c2837 t_u32 tlv_buf_left; in wlan_ret_802_11_scan() local
2895 tlv_buf_left = tlv_buf_size; in wlan_ret_802_11_scan()
2899 while (tlv_buf_left >= sizeof(MrvlIEtypesHeader_t)) in wlan_ret_802_11_scan()
2908 if (sizeof(ptlv->header) + tlv_len > tlv_buf_left) in wlan_ret_802_11_scan()
2935 tlv_buf_left -= (sizeof(ptlv->header) + tlv_len); in wlan_ret_802_11_scan()
3280 t_u16 tlv_buf_left = 0; in wlan_ret_802_11_scan_ext() local
3329 tlv_buf_left = resp->size - (sizeof(HostCmd_DS_802_11_SCAN_EXT) - 1 + S_DS_GEN); in wlan_ret_802_11_scan_ext()
3330 while (tlv_buf_left >= sizeof(MrvlIEtypesHeader_t)) in wlan_ret_802_11_scan_ext()
3334 if (tlv_buf_left < (tlv_len + sizeof(MrvlIEtypesHeader_t))) in wlan_ret_802_11_scan_ext()
3348 tlv_buf_left -= tlv_len + sizeof(MrvlIEtypesHeader_t); in wlan_ret_802_11_scan_ext()
[all …]
Dmlan_cfp.c2251 t_u16 tlv_buf_left; local
2282 tlv_buf_left = buf_left;
2284 while (tlv_buf_left >= sizeof(*head))
2290 if (tlv_buf_left < (sizeof(*head) + tlv_buf_len))
2532 tlv_buf_left -= ((t_u16)sizeof(*head) + tlv_buf_len);