Home
last modified time | relevance | path

Searched refs:ielen (Results 1 – 17 of 17) sorted by relevance

/external/wpa_supplicant_8/src/ap/
Dieee802_11_ht.c296 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()
Ddrv_callbacks.c142 size_t ielen; in hostapd_notif_assoc() local
182 ielen = elems.wps_ie_len + 2; in hostapd_notif_assoc()
186 ielen = elems.rsn_ie_len + 2; in hostapd_notif_assoc()
190 ielen = elems.wpa_ie_len + 2; in hostapd_notif_assoc()
195 ielen = elems.osen_len + 2; in hostapd_notif_assoc()
200 ielen = 0; in hostapd_notif_assoc()
302 if (ie == NULL || ielen == 0) { in hostapd_notif_assoc()
334 wps = ieee802_11_vendor_ie_concat(ie, ielen, in hostapd_notif_assoc()
359 ie, ielen, in hostapd_notif_assoc()
424 wpa_hexdump(MSG_DEBUG, "IE", ie, ielen); in hostapd_notif_assoc()
Dhostapd.h660 const u8 *ie, size_t ielen, int reassoc);
Dap_drv_ops.h136 u16 reason_code, const u8 *ie, size_t ielen);
Dap_drv_ops.c984 u16 reason_code, const u8 *ie, size_t ielen) in hostapd_drv_update_dh_ie() argument
989 ie, ielen); in hostapd_drv_update_dh_ie()
Dieee802_11.c2001 size_t ielen; in prepare_auth_resp_fils() local
2013 ie = wpa_auth_get_wpa_ie(hapd->wpa_auth, &ielen); in prepare_auth_resp_fils()
2021 ie_buf = os_malloc(ielen + 2 + 2 + PMKID_LEN); in prepare_auth_resp_fils()
2027 os_memcpy(ie_buf, ie, ielen); in prepare_auth_resp_fils()
2028 if (wpa_insert_pmkid(ie_buf, &ielen, pmksa->pmkid) < 0) { in prepare_auth_resp_fils()
2052 data = wpabuf_alloc(1000 + ielen + (pub ? wpabuf_len(pub) : 0)); in prepare_auth_resp_fils()
2070 wpabuf_put_data(data, ie, ielen); in prepare_auth_resp_fils()
Dwpa_auth_ft.c814 u8 *pos = buf, *ielen; in wpa_write_ftie() local
823 ielen = pos++; in wpa_write_ftie()
865 *ielen = pos - buf - 2; in wpa_write_ftie()
/external/wpa_supplicant_8/src/rsn_supp/
Dtdls.c756 int ielen; in wpa_tdls_send_teardown() local
785 ielen = 0; in wpa_tdls_send_teardown()
788 ielen += sizeof(*ftie); in wpa_tdls_send_teardown()
791 ielen += 170; in wpa_tdls_send_teardown()
795 rbuf = os_zalloc(ielen + 1); in wpa_tdls_send_teardown()
942 int ielen; in wpa_tdls_recv_teardown() local
965 ielen = len - (pos - buf); /* start of IE in buf */ in wpa_tdls_recv_teardown()
972 if (wpa_supplicant_parse_ies((const u8 *) pos, ielen, &kde) < 0) in wpa_tdls_recv_teardown()
1805 u16 ielen; in wpa_tdls_process_tpk_m1() local
1865 ielen = len - (cpos - buf); /* start of IE in buf */ in wpa_tdls_process_tpk_m1()
[all …]
/external/wpa_supplicant_8/src/drivers/
Ddriver_atheros.c863 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 += 2; in atheros_new_sta()
[all …]
Ddriver_bsd.c535 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()
Ddriver.h6041 size_t ielen, int reassoc) in drv_event_assoc() argument
6047 event.assoc_info.req_ies_len = ielen; in drv_event_assoc()
/external/iw/
Diw.h170 void print_ies(unsigned char *ie, int ielen, bool unknown,
Dscan.c1761 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/
Dmesh.c569 size_t ielen = 2; in wpa_supplicant_mesh_add_scan_ie() local
571 if (wpabuf_resize(extra_ie, ielen) == 0) { in wpa_supplicant_mesh_add_scan_ie()
Dscan.c622 size_t ielen = p2p_scan_ie_buf_len(wpa_s->global->p2p); in wpa_supplicant_extra_ies() local
623 if (wpabuf_resize(&extra_ie, ielen) == 0) in wpa_supplicant_extra_ies()
Dp2p_supplicant.c404 size_t ielen; in wpas_p2p_scan() local
476 ielen = p2p_scan_ie_buf_len(wpa_s->global->p2p); in wpas_p2p_scan()
477 ies = wpabuf_alloc(wpabuf_len(wps_ie) + ielen); in wpas_p2p_scan()
5340 size_t ielen; in wpas_p2p_join_scan_req() local
5391 ielen = p2p_scan_ie_buf_len(wpa_s->global->p2p); in wpas_p2p_join_scan_req()
5392 ies = wpabuf_alloc(wpabuf_len(wps_ie) + ielen); in wpas_p2p_join_scan_req()
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.4/
Dp2p_iface.cpp314 size_t ielen; in joinScanReq() local
344 ielen = p2p_scan_ie_buf_len(wpa_s->global->p2p); in joinScanReq()
345 ies = wpabuf_alloc(ielen); in joinScanReq()