Lines Matching refs:element_len
1221 u8 element_len; in mwifiex_update_bss_desc_with_ie() local
1239 element_len = *(current_ptr + 1); in mwifiex_update_bss_desc_with_ie()
1240 total_ie_len = element_len + sizeof(struct ieee_types_header); in mwifiex_update_bss_desc_with_ie()
1250 if (element_len > IEEE80211_MAX_SSID_LEN) in mwifiex_update_bss_desc_with_ie()
1252 bss_entry->ssid.ssid_len = element_len; in mwifiex_update_bss_desc_with_ie()
1254 element_len); in mwifiex_update_bss_desc_with_ie()
1261 if (element_len > MWIFIEX_SUPPORTED_RATES) in mwifiex_update_bss_desc_with_ie()
1264 element_len); in mwifiex_update_bss_desc_with_ie()
1266 element_len); in mwifiex_update_bss_desc_with_ie()
1267 rate_size = element_len; in mwifiex_update_bss_desc_with_ie()
1316 if (!element_len) in mwifiex_update_bss_desc_with_ie()
1322 if (!element_len) in mwifiex_update_bss_desc_with_ie()
1345 if ((element_len + rate_size) > in mwifiex_update_bss_desc_with_ie()
1351 bytes_to_copy = element_len; in mwifiex_update_bss_desc_with_ie()
1368 if (element_len < sizeof(vendor_ie->vend_hdr.oui.oui)) in mwifiex_update_bss_desc_with_ie()
1372 if (element_len < sizeof(wpa_oui)) in mwifiex_update_bss_desc_with_ie()
1843 u8 element_id, element_len; in mwifiex_parse_single_response_buf() local
1846 element_len = *(current_ptr + 1); in mwifiex_parse_single_response_buf()
1847 if (curr_bcn_bytes < element_len + in mwifiex_parse_single_response_buf()
1859 current_ptr += element_len + sizeof(struct ieee_types_header); in mwifiex_parse_single_response_buf()
1860 curr_bcn_bytes -= element_len + in mwifiex_parse_single_response_buf()