/external/wpa_supplicant_8/wpa_supplicant/ |
mesh.h | 28 const u8 *ies, size_t ie_len); 36 const u8 *ies, size_t ie_len)
|
bss.c | 386 bss = os_zalloc(sizeof(*bss) + res->ie_len + res->beacon_ie_len); 394 bss->ie_len = res->ie_len; 396 os_memcpy(bss + 1, res + 1, res->ie_len + res->beacon_ie_len); 493 if (old->ie_len == new_res->ie_len && 494 os_memcmp(old + 1, new_res + 1, old->ie_len) == 0) 580 if (bss->ie_len + bss->beacon_ie_len >= 581 res->ie_len + res->beacon_ie_len) { 582 os_memcpy(bss + 1, res + 1, res->ie_len + res->beacon_ie_len) [all...] |
mesh_mpm.c | 218 u8 ie_len, add_plid = 0; local 302 ie_len = 4; 304 ie_len += PMKID_LEN; 309 ie_len += 2; 313 ie_len += 2; 315 ie_len += 2; /* reason code */ 320 wpabuf_put_u8(buf, ie_len); 1014 size_t ie_len; local 1027 ie_len = (const u8 *) mgmt + len - 1031 if (ie_len < 2 + 2) [all...] |
wnm_sta.c | 279 u8 ie_len = *(pos + 1); local 280 if (2 + ie_len > frm + len - pos) { 281 wpa_printf(MSG_INFO, "WNM: Invalid IE len %u", ie_len); 284 wpa_hexdump(MSG_DEBUG, "WNM: Element", pos, 2 + ie_len); 285 if (*pos == WLAN_EID_WNMSLEEP && ie_len >= 4) 293 pos += ie_len + 2; 1241 u8 ie, ie_len; local [all...] |
p2p_supplicant.h | 128 u16 reason_code, const u8 *ie, size_t ie_len, 131 u16 reason_code, const u8 *ie, size_t ie_len, 177 const u8 *ie, size_t ie_len, 234 const u8 *ie, size_t ie_len,
|
events.c | 3045 size_t ie_len = 0; local 3099 size_t ie_len = 0; local 3716 size_t ie_len; local 3762 size_t ie_len; local [all...] |
bss.h | 105 size_t ie_len; member in struct:wpa_bss 108 /* followed by ie_len octets of IEs */
|
mbo.c | 593 u8 *ie_len; local 615 ie_len = wpabuf_put(buf, 1); 623 *ie_len = wpabuf_len(buf) - 2; 624 if (*ie_len < 2 || wpabuf_len(buf) > len) {
|
wpa_priv.c | 168 val = sizeof(*r) + r->ie_len; 221 if (sizeof(*auth) + auth->ie_len + auth->sae_data_len > len) { 243 if (auth->ie_len) { 245 params.ie_len = auth->ie_len; 248 params.sae_data = ((u8 *) (auth + 1)) + auth->ie_len;
|
/external/tcpdump/ |
print-fr.c | 431 uint8_t ie_len; member in struct:ie_tlv_header_t 440 uint8_t ie_type,ie_len; local 474 ie_len=tptr[1]; 479 ie_len)); 482 if (ie_type == 0 || ie_len <= sizeof(struct ie_tlv_header_t)) 485 ND_TCHECK2(*tptr, ie_len); 488 ie_len-=sizeof(struct ie_tlv_header_t); 499 for (idx = 0; idx < ie_len && idx < MFR_ID_STRING_MAXLEN; idx++) { 508 if (ie_len == sizeof(struct timeval)) { 524 print_unknown_data(ndo, tptr, "\n\t ", ie_len); [all...] |
/external/wpa_supplicant_8/src/ap/ |
mbo_ap.c | 104 u8 ie_len = pos[1]; local 106 if (2 + ie_len > end - pos) 110 mbo_ap_parse_non_pref_chan(sta, pos + 2, ie_len); 213 u8 ie_len; local 228 ie_len = pos[1]; 230 if (2 + ie_len > end - pos) 234 ie_len >= 4 && WPA_GET_BE24(pos + 2) == OUI_WFA) 236 pos + 6, ie_len - 4,
|
utils.c | 21 const u8 *ie, size_t ie_len,
|
hostapd.h | 66 const u8 *ie, size_t ie_len, int ssi_signal); 485 const u8 *ie, size_t ie_len, 498 const u8 *bssid, const u8 *ie, size_t ie_len,
|
wnm_ap.c | 207 u8 ie_len = pos[1]; local 208 if (pos + 2 + ie_len > frm + len) 219 pos += ie_len + 2;
|
/external/wpa_supplicant_8/src/p2p/ |
p2p_build.c | 478 const char *svc_name, u8 **ie_len, u8 **pos, 503 if (*ie_len) { 504 int ie_data_len = (*pos - *ie_len) - 1; 518 *ie_len = p2p_buf_add_ie_hdr(buf); 538 p2p_buf_update_ie_hdr(buf, *ie_len); 539 *ie_len = p2p_buf_add_ie_hdr(buf); 560 p2p_buf_update_ie_hdr(buf, *ie_len); 561 *ie_len = p2p_buf_add_ie_hdr(buf); 568 p2p_buf_update_ie_hdr(buf, *ie_len); 569 *ie_len = p2p_buf_add_ie_hdr(buf) 602 u8 *pos, *attr_len, *ie_len = NULL; local [all...] |
/external/wpa_supplicant_8/src/common/ |
privsep_commands.h | 39 size_t ie_len; member in struct:privsep_cmd_authenticate 46 /* followed by ie_len bytes of ie */
|
hw_features_common.c | 154 ieee802_11_parse_elems((u8 *) (bss + 1), bss->ie_len, &elems, 0); 247 ieee802_11_parse_elems((u8 *) (bss + 1), bss->ie_len, &elems, 0); 331 ieee802_11_parse_elems((u8 *) (bss + 1), bss->ie_len, &elems,
|
ieee802_11_common.h | 19 u8 ie_len; member in struct:mb_ies_info::__anon26975
|
ieee802_11_common.c | 371 elems->mb_ies.ies[elems->mb_ies.nof_ies].ie_len = elen; 1145 info->ies[info->nof_ies].ie_len = ies_buf[1]; 1168 mb_ies_size += 2 + info->ies[i].ie_len; 1174 wpabuf_put_u8(mb_ies, info->ies[i].ie_len); 1177 info->ies[i].ie_len);
|
/external/wpa_supplicant_8/src/drivers/ |
driver_privsep.c | 176 if (sizeof(*r) + r->ie_len > (size_t) len) { 237 buflen = sizeof(*data) + params->ie_len + params->sae_data_len; 247 data->ie_len = params->ie_len; 258 if (params->ie_len) { 259 os_memcpy(pos, params->ie, params->ie_len); 260 pos += params->ie_len; 395 int ie_len; local 404 os_memcpy(&ie_len, pos, sizeof(int)); 406 if (ie_len < 0 || ie_len > end - pos [all...] |
driver_nl80211_scan.c | 542 const u8 *ie, size_t ie_len) 550 ssid = get_ie(ie, ie_len, WLAN_EID_SSID); 588 size_t ie_len, beacon_ie_len; local 628 ie_len = nla_len(bss[NL80211_BSS_INFORMATION_ELEMENTS]); 631 ie_len = 0; 642 ie ? ie_len : beacon_ie_len)) 645 r = os_zalloc(sizeof(*r) + ie_len + beacon_ie_len); 676 r->ie_len = ie_len; 679 os_memcpy(pos, ie, ie_len); [all...] |
driver_wext.c | 1201 size_t ie_len; member in struct:wext_scan_data [all...] |
driver.h | 229 * @ie_len: length of the following IE field in octets 241 * This structure data is followed by ie_len octets of IEs from Probe Response 259 size_t ie_len; member in struct:wpa_scan_res 261 /* Followed by ie_len + beacon_ie_len octets of IE data */ 469 size_t ie_len; member in struct:wpa_driver_auth_params 1128 int ie_len; member in struct:wpa_driver_mesh_join_params 4230 size_t ie_len; member in struct:wpa_event_data::disassoc_info 4261 size_t ie_len; member in struct:wpa_event_data::deauth_info 4532 size_t ie_len; member in struct:wpa_event_data::rx_probe_req 4721 size_t ie_len; member in struct:wpa_event_data::mesh_peer [all...] |
/system/connectivity/shill/wifi/ |
wifi_endpoint.cc | 432 int ie_len = 0; local 436 it += ie_len) { 437 ie_len = 2 + *(it + 1); 438 if (std::distance(it, ies.end()) < ie_len) { 445 if (ie_len >= 4) { 460 ParseWPACapabilities(it + 2, it + ie_len, ieee80211w_required); 463 ParseVendorIE(it + 2, it + ie_len, vendor_information,
|
/external/wpa_supplicant_8/src/rsn_supp/ |
tdls.c | 53 u8 ie_len; member in struct:wpa_tdls_ftie 63 u8 ie_len; member in struct:wpa_tdls_timeoutie 70 u8 ie_len; member in struct:wpa_tdls_lnkid 83 static u8 * wpa_add_tdls_timeoutie(u8 *pos, u8 *ie, size_t ie_len, u32 tsecs); 169 static u8 * wpa_add_ie(u8 *pos, const u8 *ie, size_t ie_len) 171 os_memcpy(pos, ie, ie_len); 172 return pos + ie_len; 719 lnkid->ie_len = 3 * ETH_ALEN; 791 ftie->ie_len = sizeof(struct wpa_tdls_ftie) - 2; 797 ftie->ie_len += 170 [all...] |