Lines Matching refs:element_len
1209 u8 element_len; in mwifiex_update_bss_desc_with_ie() local
1227 element_len = *(current_ptr + 1); in mwifiex_update_bss_desc_with_ie()
1228 total_ie_len = element_len + sizeof(struct ieee_types_header); in mwifiex_update_bss_desc_with_ie()
1238 if (element_len > IEEE80211_MAX_SSID_LEN) in mwifiex_update_bss_desc_with_ie()
1240 bss_entry->ssid.ssid_len = element_len; in mwifiex_update_bss_desc_with_ie()
1242 element_len); in mwifiex_update_bss_desc_with_ie()
1249 if (element_len > MWIFIEX_SUPPORTED_RATES) in mwifiex_update_bss_desc_with_ie()
1252 element_len); in mwifiex_update_bss_desc_with_ie()
1254 element_len); in mwifiex_update_bss_desc_with_ie()
1255 rate_size = element_len; in mwifiex_update_bss_desc_with_ie()
1304 if (!element_len) in mwifiex_update_bss_desc_with_ie()
1310 if (!element_len) in mwifiex_update_bss_desc_with_ie()
1333 if ((element_len + rate_size) > in mwifiex_update_bss_desc_with_ie()
1339 bytes_to_copy = element_len; in mwifiex_update_bss_desc_with_ie()
1356 if (element_len < sizeof(vendor_ie->vend_hdr.oui.oui)) in mwifiex_update_bss_desc_with_ie()
1360 if (element_len < sizeof(wpa_oui)) in mwifiex_update_bss_desc_with_ie()
1831 u8 element_id, element_len; in mwifiex_parse_single_response_buf() local
1834 element_len = *(current_ptr + 1); in mwifiex_parse_single_response_buf()
1835 if (curr_bcn_bytes < element_len + in mwifiex_parse_single_response_buf()
1847 current_ptr += element_len + sizeof(struct ieee_types_header); in mwifiex_parse_single_response_buf()
1848 curr_bcn_bytes -= element_len + in mwifiex_parse_single_response_buf()