/external/wpa_supplicant_8/src/ap/ |
D | drv_callbacks.c | 44 size_t ielen; in hostapd_notif_assoc() local 73 ielen = elems.wps_ie_len + 2; in hostapd_notif_assoc() 77 ielen = elems.rsn_ie_len + 2; in hostapd_notif_assoc() 81 ielen = elems.wpa_ie_len + 2; in hostapd_notif_assoc() 86 ielen = elems.osen_len + 2; in hostapd_notif_assoc() 91 ielen = 0; in hostapd_notif_assoc() 159 if (ie == NULL || ielen == 0) { in hostapd_notif_assoc() 178 wps = ieee802_11_vendor_ie_concat(ie, ielen, in hostapd_notif_assoc() 202 ie, ielen, in hostapd_notif_assoc() 207 wpa_hexdump(MSG_DEBUG, "IE", ie, ielen); in hostapd_notif_assoc()
|
D | ieee802_11_ht.c | 258 u8 ielen = data[1]; in hostapd_2040_coex_action() local 260 if (ielen > start + len - data - 2) in hostapd_2040_coex_action() 269 for (i = 0; i < ielen - 1; i++) { in hostapd_2040_coex_action()
|
D | beacon.c | 287 size_t ielen; in hostapd_eid_wpa() local 289 ie = wpa_auth_get_wpa_ie(hapd->wpa_auth, &ielen); in hostapd_eid_wpa() 290 if (ie == NULL || ielen > len) in hostapd_eid_wpa() 293 os_memcpy(eid, ie, ielen); in hostapd_eid_wpa() 294 return eid + ielen; in hostapd_eid_wpa()
|
D | hostapd.h | 455 const u8 *ie, size_t ielen, int reassoc);
|
D | wpa_auth_ft.c | 102 u8 *pos = buf, *ielen; in wpa_write_ftie() local 110 ielen = pos++; in wpa_write_ftie() 139 *ielen = pos - buf - 2; in wpa_write_ftie()
|
/external/wpa_supplicant_8/src/rsn_supp/ |
D | tdls.c | 732 int ielen; in wpa_tdls_send_teardown() local 761 ielen = 0; in wpa_tdls_send_teardown() 764 ielen += sizeof(*ftie); in wpa_tdls_send_teardown() 767 ielen += 170; in wpa_tdls_send_teardown() 771 rbuf = os_zalloc(ielen + 1); in wpa_tdls_send_teardown() 918 int ielen; in wpa_tdls_recv_teardown() local 941 ielen = len - (pos - buf); /* start of IE in buf */ in wpa_tdls_recv_teardown() 948 if (wpa_supplicant_parse_ies((const u8 *) pos, ielen, &kde) < 0) in wpa_tdls_recv_teardown() 1766 u16 ielen; in wpa_tdls_process_tpk_m1() local 1826 ielen = len - (cpos - buf); /* start of IE in buf */ in wpa_tdls_process_tpk_m1() [all …]
|
/external/wpa_supplicant_8/wpa_supplicant/tests/ |
D | test_wpa.c | 123 size_t ielen; in supp_get_beacon_ie() local 127 ie = wpa_auth_get_wpa_ie(wpa->auth_group, &ielen); in supp_get_beacon_ie() 128 if (ie == NULL || ielen < 1) in supp_get_beacon_ie()
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_atheros.c | 834 int ielen; in atheros_raw_receive() local 877 ielen = len - (IEEE80211_HDRLEN + sizeof(mgmt->u.assoc_req)); in atheros_raw_receive() 879 drv_event_assoc(drv->hapd, mgmt->sa, iebuf, ielen, 0); in atheros_raw_receive() 884 ielen = len - (IEEE80211_HDRLEN + sizeof(mgmt->u.reassoc_req)); in atheros_raw_receive() 886 drv_event_assoc(drv->hapd, mgmt->sa, iebuf, ielen, 1); in atheros_raw_receive() 1112 int ielen = 0; in atheros_new_sta() local 1150 ielen = iebuf[1]; in atheros_new_sta() 1157 ielen = ie.wps_ie[1]; in atheros_new_sta() 1161 if (ielen == 0) in atheros_new_sta() 1164 ielen += 2; in atheros_new_sta() [all …]
|
D | driver_bsd.c | 508 int ielen = 0; in bsd_new_sta() local 522 ielen = ie.wpa_ie[1]; in bsd_new_sta() 523 if (ielen == 0) in bsd_new_sta() 526 ielen += 2; in bsd_new_sta() 529 drv_event_assoc(ctx, addr, iebuf, ielen, 0); in bsd_new_sta()
|
D | driver.h | 4602 size_t ielen, int reassoc) in drv_event_assoc() argument 4608 event.assoc_info.req_ies_len = ielen; in drv_event_assoc()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | mesh.c | 297 size_t ielen = 2; in wpa_supplicant_mesh_add_scan_ie() local 299 if (wpabuf_resize(extra_ie, ielen) == 0) { in wpa_supplicant_mesh_add_scan_ie()
|
D | scan.c | 473 size_t ielen = p2p_scan_ie_buf_len(wpa_s->global->p2p); in wpa_supplicant_extra_ies() local 474 if (wpabuf_resize(&extra_ie, ielen) == 0) in wpa_supplicant_extra_ies()
|
D | p2p_supplicant.c | 318 size_t ielen; in wpas_p2p_scan() local 349 ielen = p2p_scan_ie_buf_len(wpa_s->global->p2p); in wpas_p2p_scan() 350 ies = wpabuf_alloc(wpabuf_len(wps_ie) + ielen); in wpas_p2p_scan() 4526 size_t ielen; in wpas_p2p_join_scan_req() local 4553 ielen = p2p_scan_ie_buf_len(wpa_s->global->p2p); in wpas_p2p_join_scan_req() 4554 ies = wpabuf_alloc(wpabuf_len(wps_ie) + ielen); in wpas_p2p_join_scan_req()
|