Lines Matching refs:bytes_left
1226 u32 bytes_left; in mwifiex_update_bss_desc_with_ie() local
1234 bytes_left = bss_entry->beacon_buf_size; in mwifiex_update_bss_desc_with_ie()
1237 while (bytes_left >= 2) { in mwifiex_update_bss_desc_with_ie()
1242 if (bytes_left < total_ie_len) { in mwifiex_update_bss_desc_with_ie()
1463 bytes_left -= total_ie_len; in mwifiex_update_bss_desc_with_ie()
1753 u32 *bytes_left, u64 fw_tsf, u8 *radio_type, in mwifiex_parse_single_response_buf() argument
1774 if (*bytes_left >= sizeof(beacon_size)) { in mwifiex_parse_single_response_buf()
1777 *bytes_left -= sizeof(beacon_size); in mwifiex_parse_single_response_buf()
1781 if (!beacon_size || beacon_size > *bytes_left) { in mwifiex_parse_single_response_buf()
1782 *bss_info += *bytes_left; in mwifiex_parse_single_response_buf()
1783 *bytes_left = 0; in mwifiex_parse_single_response_buf()
1794 *bytes_left -= beacon_size; in mwifiex_parse_single_response_buf()
2123 u32 bytes_left; in mwifiex_ret_802_11_scan() local
2153 bytes_left = le16_to_cpu(scan_rsp->bss_descript_size); in mwifiex_ret_802_11_scan()
2156 bytes_left); in mwifiex_ret_802_11_scan()
2172 tlv_buf_size = scan_resp_size - (bytes_left in mwifiex_ret_802_11_scan()
2179 bytes_left); in mwifiex_ret_802_11_scan()
2210 for (idx = 0; idx < scan_rsp->number_of_sets && bytes_left; idx++) { in mwifiex_ret_802_11_scan()
2242 &bytes_left, in mwifiex_ret_802_11_scan()
2623 u32 bytes_left, bytes_left_for_tlv, idx; in mwifiex_handle_event_ext_scan_report() local
2644 bytes_left = scan_resp_size; in mwifiex_handle_event_ext_scan_report()
2654 for (idx = 0; idx < num_of_set && bytes_left; idx++) { in mwifiex_handle_event_ext_scan_report()
2657 if (bytes_left < sizeof(struct mwifiex_ie_types_header) + len) { in mwifiex_handle_event_ext_scan_report()
2664 bytes_left_for_tlv = bytes_left; in mwifiex_handle_event_ext_scan_report()
2707 bytes_left -= in mwifiex_handle_event_ext_scan_report()
2722 bytes_left -= sizeof(u16); in mwifiex_handle_event_ext_scan_report()
2735 &bytes_left, fw_tsf, in mwifiex_handle_event_ext_scan_report()