/third_party/wpa_supplicant/wpa_supplicant-2.9/src/rsn_supp/ |
H A 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 in wpa_tdls_process_tpk_m1() 2193 int ielen; wpa_tdls_process_tpk_m2() local 2478 int ielen; wpa_tdls_process_tpk_m3() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/rsn_supp/ |
H A D | tdls.c | 771 int ielen; 800 ielen = 0; 803 ielen += sizeof(*ftie); 806 ielen += 170; 810 rbuf = os_zalloc(ielen + 1); 957 int ielen; 980 ielen = len - (pos - buf); /* start of IE in buf */ 987 if (wpa_supplicant_parse_ies((const u8 *) pos, ielen, &kde) < 0) 1875 u16 ielen; 1935 ielen [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
H A D | ieee802_11_ht.c | 296 u8 ielen = data[1]; in hostapd_2040_coex_action() local 298 if (ielen > start + len - data - 2) { in hostapd_2040_coex_action() 310 for (i = 0; i < ielen - 1; i++) { in hostapd_2040_coex_action() 325 data += 2 + ielen; in hostapd_2040_coex_action()
|
H A D | drv_callbacks.c | 153 size_t ielen; in hostapd_notif_assoc() local 193 ielen = elems.wps_ie_len + 2; in hostapd_notif_assoc() 197 ielen = elems.rsn_ie_len + 2; in hostapd_notif_assoc() 201 ielen = elems.wpa_ie_len + 2; in hostapd_notif_assoc() 206 ielen = elems.osen_len + 2; in hostapd_notif_assoc() 211 ielen = 0; in hostapd_notif_assoc() 313 if (ie == NULL || ielen == 0) { in hostapd_notif_assoc() 345 wps = ieee802_11_vendor_ie_concat(ie, ielen, in hostapd_notif_assoc() 370 ie, ielen, in hostapd_notif_assoc() 435 wpa_hexdump(MSG_DEBUG, "IE", ie, ielen); in hostapd_notif_assoc() [all...] |
H A D | hostapd.h | 663 const u8 *ie, size_t ielen, int reassoc);
|
H A D | ap_drv_ops.c | 988 u16 reason_code, const u8 *ie, size_t ielen) in hostapd_drv_update_dh_ie() 993 ie, ielen); in hostapd_drv_update_dh_ie() 987 hostapd_drv_update_dh_ie(struct hostapd_data *hapd, const u8 *peer, u16 reason_code, const u8 *ie, size_t ielen) hostapd_drv_update_dh_ie() argument
|
H A D | ap_drv_ops.h | 137 u16 reason_code, const u8 *ie, size_t ielen);
|
H A D | ieee802_11.c | 2034 size_t ielen; in prepare_auth_resp_fils() local 2046 ie = wpa_auth_get_wpa_ie(hapd->wpa_auth, &ielen); in prepare_auth_resp_fils() 2054 ie_buf = os_malloc(ielen + 2 + 2 + PMKID_LEN); in prepare_auth_resp_fils() 2060 os_memcpy(ie_buf, ie, ielen); in prepare_auth_resp_fils() 2061 if (wpa_insert_pmkid(ie_buf, &ielen, pmksa->pmkid) < 0) { in prepare_auth_resp_fils() 2085 data = wpabuf_alloc(1000 + ielen + (pub ? wpabuf_len(pub) : 0)); in prepare_auth_resp_fils() 2103 wpabuf_put_data(data, ie, ielen); in prepare_auth_resp_fils() 2105 /* MDE when using FILS+FT (already included in ie,ielen with RSNE) */ in prepare_auth_resp_fils()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
H A 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()
|
H A D | drv_callbacks.c | 113 size_t ielen; in hostapd_notif_assoc() local 155 ielen = elems.wps_ie_len + 2; in hostapd_notif_assoc() 159 ielen = elems.rsn_ie_len + 2; in hostapd_notif_assoc() 163 ielen = elems.wpa_ie_len + 2; in hostapd_notif_assoc() 168 ielen = elems.osen_len + 2; in hostapd_notif_assoc() 173 ielen = 0; in hostapd_notif_assoc() 277 if (ie == NULL || ielen == 0) { in hostapd_notif_assoc() 298 wps = ieee802_11_vendor_ie_concat(ie, ielen, in hostapd_notif_assoc() 323 ie, ielen, in hostapd_notif_assoc() 330 wpa_hexdump(MSG_DEBUG, "IE", ie, ielen); in hostapd_notif_assoc() [all...] |
H A 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()
|
H A D | ap_drv_ops.h | 134 u16 reason_code, const u8 *ie, size_t ielen);
|
H A D | hostapd.h | 626 const u8 *ie, size_t ielen, int reassoc);
|
H A D | ap_drv_ops.c | 964 u16 reason_code, const u8 *ie, size_t ielen) in hostapd_drv_update_dh_ie() 969 ie, ielen); in hostapd_drv_update_dh_ie() 963 hostapd_drv_update_dh_ie(struct hostapd_data *hapd, const u8 *peer, u16 reason_code, const u8 *ie, size_t ielen) hostapd_drv_update_dh_ie() argument
|
H A D | ieee802_11.c | 1678 size_t ielen; in prepare_auth_resp_fils() local 1690 ie = wpa_auth_get_wpa_ie(hapd->wpa_auth, &ielen); in prepare_auth_resp_fils() 1698 ie_buf = os_malloc(ielen + 2 + 2 + PMKID_LEN); in prepare_auth_resp_fils() 1704 os_memcpy(ie_buf, ie, ielen); in prepare_auth_resp_fils() 1705 if (wpa_insert_pmkid(ie_buf, &ielen, pmksa->pmkid) < 0) { in prepare_auth_resp_fils() 1729 data = wpabuf_alloc(1000 + ielen + (pub ? wpabuf_len(pub) : 0)); in prepare_auth_resp_fils() 1747 wpabuf_put_data(data, ie, ielen); in prepare_auth_resp_fils() 1749 /* MDE when using FILS+FT (already included in ie,ielen with RSNE) */ in prepare_auth_resp_fils()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/ |
H A 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 in atheros_new_sta() [all...] |
H A 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()
|
H A D | driver.h | 5702 size_t ielen, int reassoc) in drv_event_assoc() 5708 event.assoc_info.req_ies_len = ielen; in drv_event_assoc() 5701 drv_event_assoc(void *ctx, const u8 *addr, const u8 *ie, size_t ielen, int reassoc) drv_event_assoc() argument
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/ |
H A D | driver_atheros.c | 863 int ielen; in atheros_raw_receive() local 915 ielen = len - (IEEE80211_HDRLEN + sizeof(mgmt->u.assoc_req)); in atheros_raw_receive() 917 drv_event_assoc(drv->hapd, mgmt->sa, iebuf, ielen, 0); in atheros_raw_receive() 922 ielen = len - (IEEE80211_HDRLEN + sizeof(mgmt->u.reassoc_req)); in atheros_raw_receive() 924 drv_event_assoc(drv->hapd, mgmt->sa, iebuf, ielen, 1); in atheros_raw_receive() 1172 int ielen = 0; in atheros_new_sta() local 1210 ielen = iebuf[1]; in atheros_new_sta() 1216 ielen = ie.wps_ie[1]; in atheros_new_sta() 1220 if (ielen == 0) in atheros_new_sta() 1223 ielen in atheros_new_sta() [all...] |
H A D | driver_bsd.c | 535 int ielen = 0; in bsd_new_sta() local 549 ielen = ie.wpa_ie[1]; in bsd_new_sta() 550 if (ielen == 0) in bsd_new_sta() 553 ielen += 2; in bsd_new_sta() 556 drv_event_assoc(ctx, addr, iebuf, ielen, 0); in bsd_new_sta()
|
H A D | driver.h | 6267 size_t ielen, int reassoc) in drv_event_assoc() 6273 event.assoc_info.req_ies_len = ielen; in drv_event_assoc() 6266 drv_event_assoc(void *ctx, const u8 *addr, const u8 *ie, size_t ielen, int reassoc) drv_event_assoc() argument
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
H A D | mesh.c | 426 size_t ielen = 2; in wpa_supplicant_mesh_add_scan_ie() local 428 if (wpabuf_resize(extra_ie, ielen) == 0) { in wpa_supplicant_mesh_add_scan_ie()
|
H A D | p2p_supplicant.c | 363 size_t ielen; in wpas_p2p_scan() local 435 ielen = p2p_scan_ie_buf_len(wpa_s->global->p2p); in wpas_p2p_scan() 436 ies = wpabuf_alloc(wpabuf_len(wps_ie) + ielen); in wpas_p2p_scan() 5114 size_t ielen; in wpas_p2p_join_scan_req() local 5158 ielen = p2p_scan_ie_buf_len(wpa_s->global->p2p); in wpas_p2p_join_scan_req() 5159 ies = wpabuf_alloc(wpabuf_len(wps_ie) + ielen); in wpas_p2p_join_scan_req()
|
H A D | scan.c | 584 size_t ielen = p2p_scan_ie_buf_len(wpa_s->global->p2p); in wpa_supplicant_extra_ies() local 585 if (wpabuf_resize(&extra_ie, ielen) == 0) in wpa_supplicant_extra_ies()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A D | mesh.c | 608 size_t ielen = 2; in wpa_supplicant_mesh_add_scan_ie() local 610 if (wpabuf_resize(extra_ie, ielen) == 0) { in wpa_supplicant_mesh_add_scan_ie()
|