/external/wpa_supplicant_8/src/rsn_supp/ |
D | tdls.c | 755 int ielen; in wpa_tdls_send_teardown() local 784 ielen = 0; in wpa_tdls_send_teardown() 787 ielen += sizeof(*ftie); in wpa_tdls_send_teardown() 790 ielen += 170; in wpa_tdls_send_teardown() 794 rbuf = os_zalloc(ielen + 1); in wpa_tdls_send_teardown() 941 int ielen; in wpa_tdls_recv_teardown() local 964 ielen = len - (pos - buf); /* start of IE in buf */ in wpa_tdls_recv_teardown() 971 if (wpa_supplicant_parse_ies((const u8 *) pos, ielen, &kde) < 0) in wpa_tdls_recv_teardown() 1804 u16 ielen; in wpa_tdls_process_tpk_m1() local 1864 ielen = len - (cpos - buf); /* start of IE in buf */ in wpa_tdls_process_tpk_m1() [all …]
|
/external/wpa_supplicant_8/src/ap/ |
D | ieee802_11_ht.c | 318 u8 ielen = data[1]; in hostapd_2040_coex_action() local 320 if (ielen > start + len - data - 2) { in hostapd_2040_coex_action() 332 for (i = 0; i < ielen - 1; i++) { in hostapd_2040_coex_action() 347 data += 2 + ielen; in hostapd_2040_coex_action()
|
D | drv_callbacks.c | 113 size_t ielen; in hostapd_notif_assoc() local 142 ielen = elems.wps_ie_len + 2; in hostapd_notif_assoc() 146 ielen = elems.rsn_ie_len + 2; in hostapd_notif_assoc() 150 ielen = elems.wpa_ie_len + 2; in hostapd_notif_assoc() 155 ielen = elems.osen_len + 2; in hostapd_notif_assoc() 160 ielen = 0; in hostapd_notif_assoc() 264 if (ie == NULL || ielen == 0) { in hostapd_notif_assoc() 285 wps = ieee802_11_vendor_ie_concat(ie, ielen, in hostapd_notif_assoc() 310 ie, ielen, in hostapd_notif_assoc() 317 wpa_hexdump(MSG_DEBUG, "IE", ie, ielen); in hostapd_notif_assoc()
|
D | beacon.c | 293 size_t ielen; in hostapd_eid_wpa() local 295 ie = wpa_auth_get_wpa_ie(hapd->wpa_auth, &ielen); in hostapd_eid_wpa() 296 if (ie == NULL || ielen > len) in hostapd_eid_wpa() 299 os_memcpy(eid, ie, ielen); in hostapd_eid_wpa() 300 return eid + ielen; in hostapd_eid_wpa()
|
D | hostapd.h | 602 const u8 *ie, size_t ielen, int reassoc);
|
D | ieee802_11.c | 1675 size_t ielen; in prepare_auth_resp_fils() local 1687 ie = wpa_auth_get_wpa_ie(hapd->wpa_auth, &ielen); in prepare_auth_resp_fils() 1695 ie_buf = os_malloc(ielen + 2 + 2 + PMKID_LEN); in prepare_auth_resp_fils() 1701 os_memcpy(ie_buf, ie, ielen); in prepare_auth_resp_fils() 1702 if (wpa_insert_pmkid(ie_buf, &ielen, pmksa->pmkid) < 0) { in prepare_auth_resp_fils() 1726 data = wpabuf_alloc(1000 + ielen + (pub ? wpabuf_len(pub) : 0)); in prepare_auth_resp_fils() 1744 wpabuf_put_data(data, ie, ielen); in prepare_auth_resp_fils()
|
D | wpa_auth_ft.c | 812 u8 *pos = buf, *ielen; in wpa_write_ftie() local 821 ielen = pos++; in wpa_write_ftie() 863 *ielen = pos - buf - 2; in wpa_write_ftie()
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_atheros.c | 867 int ielen; in atheros_raw_receive() local 919 ielen = len - (IEEE80211_HDRLEN + sizeof(mgmt->u.assoc_req)); in atheros_raw_receive() 921 drv_event_assoc(drv->hapd, mgmt->sa, iebuf, ielen, 0); in atheros_raw_receive() 926 ielen = len - (IEEE80211_HDRLEN + sizeof(mgmt->u.reassoc_req)); in atheros_raw_receive() 928 drv_event_assoc(drv->hapd, mgmt->sa, iebuf, ielen, 1); in atheros_raw_receive() 1179 int ielen = 0; in atheros_new_sta() local 1217 ielen = iebuf[1]; in atheros_new_sta() 1223 ielen = ie.wps_ie[1]; in atheros_new_sta() 1227 if (ielen == 0) in atheros_new_sta() 1230 ielen += 2; in atheros_new_sta() [all …]
|
D | driver_bsd.c | 550 int ielen = 0; in bsd_new_sta() local 564 ielen = ie.wpa_ie[1]; in bsd_new_sta() 565 if (ielen == 0) in bsd_new_sta() 568 ielen += 2; in bsd_new_sta() 571 drv_event_assoc(ctx, addr, iebuf, ielen, 0); in bsd_new_sta()
|
D | driver.h | 5573 size_t ielen, int reassoc) in drv_event_assoc() argument 5579 event.assoc_info.req_ies_len = ielen; in drv_event_assoc()
|
/external/wpa_supplicant_8/tests/ |
D | test-eapol.c | 224 size_t ielen; in supp_get_beacon_ie() local 228 ie = wpa_auth_get_wpa_ie(wpa->auth_group, &ielen); in supp_get_beacon_ie() 229 if (ie == NULL || ielen < 1) in supp_get_beacon_ie()
|
/external/iw/ |
D | iw.h | 170 void print_ies(unsigned char *ie, int ielen, bool unknown,
|
D | scan.c | 1761 void print_ies(unsigned char *ie, int ielen, bool unknown, in print_ies() argument 1764 while (ielen >= 2 && ielen >= ie[1]) { in print_ies() 1779 ielen -= ie[1] + 2; in print_ies()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | mesh.c | 425 size_t ielen = 2; in wpa_supplicant_mesh_add_scan_ie() local 427 if (wpabuf_resize(extra_ie, ielen) == 0) { in wpa_supplicant_mesh_add_scan_ie()
|
D | scan.c | 573 size_t ielen = p2p_scan_ie_buf_len(wpa_s->global->p2p); in wpa_supplicant_extra_ies() local 574 if (wpabuf_resize(&extra_ie, ielen) == 0) in wpa_supplicant_extra_ies()
|
D | p2p_supplicant.c | 360 size_t ielen; in wpas_p2p_scan() local 432 ielen = p2p_scan_ie_buf_len(wpa_s->global->p2p); in wpas_p2p_scan() 433 ies = wpabuf_alloc(wpabuf_len(wps_ie) + ielen); in wpas_p2p_scan() 5107 size_t ielen; in wpas_p2p_join_scan_req() local 5151 ielen = p2p_scan_ie_buf_len(wpa_s->global->p2p); in wpas_p2p_join_scan_req() 5152 ies = wpabuf_alloc(wpabuf_len(wps_ie) + ielen); in wpas_p2p_join_scan_req()
|
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.2/ |
D | p2p_iface.cpp | 225 size_t ielen; in joinScanReq() local 283 ielen = p2p_scan_ie_buf_len(wpa_s->global->p2p); in joinScanReq() 284 ies = wpabuf_alloc(ielen); in joinScanReq()
|