Lines Matching refs:bytes_left
1227 u32 bytes_left; in mwifiex_update_bss_desc_with_ie() local
1235 bytes_left = bss_entry->beacon_buf_size; in mwifiex_update_bss_desc_with_ie()
1238 while (bytes_left >= 2) { in mwifiex_update_bss_desc_with_ie()
1243 if (bytes_left < total_ie_len) { in mwifiex_update_bss_desc_with_ie()
1466 bytes_left -= (element_len + 2); in mwifiex_update_bss_desc_with_ie()
1756 u32 *bytes_left, u64 fw_tsf, u8 *radio_type, in mwifiex_parse_single_response_buf() argument
1777 if (*bytes_left >= sizeof(beacon_size)) { in mwifiex_parse_single_response_buf()
1780 *bytes_left -= sizeof(beacon_size); in mwifiex_parse_single_response_buf()
1784 if (!beacon_size || beacon_size > *bytes_left) { in mwifiex_parse_single_response_buf()
1785 *bss_info += *bytes_left; in mwifiex_parse_single_response_buf()
1786 *bytes_left = 0; in mwifiex_parse_single_response_buf()
1797 *bytes_left -= beacon_size; in mwifiex_parse_single_response_buf()
2126 u32 bytes_left; in mwifiex_ret_802_11_scan() local
2156 bytes_left = le16_to_cpu(scan_rsp->bss_descript_size); in mwifiex_ret_802_11_scan()
2159 bytes_left); in mwifiex_ret_802_11_scan()
2175 tlv_buf_size = scan_resp_size - (bytes_left in mwifiex_ret_802_11_scan()
2182 bytes_left); in mwifiex_ret_802_11_scan()
2213 for (idx = 0; idx < scan_rsp->number_of_sets && bytes_left; idx++) { in mwifiex_ret_802_11_scan()
2245 &bytes_left, in mwifiex_ret_802_11_scan()
2626 u32 bytes_left, bytes_left_for_tlv, idx; in mwifiex_handle_event_ext_scan_report() local
2647 bytes_left = scan_resp_size; in mwifiex_handle_event_ext_scan_report()
2657 for (idx = 0; idx < num_of_set && bytes_left; idx++) { in mwifiex_handle_event_ext_scan_report()
2660 if (bytes_left < sizeof(struct mwifiex_ie_types_header) + len) { in mwifiex_handle_event_ext_scan_report()
2667 bytes_left_for_tlv = bytes_left; in mwifiex_handle_event_ext_scan_report()
2710 bytes_left -= in mwifiex_handle_event_ext_scan_report()
2725 bytes_left -= sizeof(u16); in mwifiex_handle_event_ext_scan_report()
2738 &bytes_left, fw_tsf, in mwifiex_handle_event_ext_scan_report()