Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/ap/
Ddrv_callbacks.c44 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()
Dieee802_11_ht.c258 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()
Dbeacon.c287 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()
Dhostapd.h455 const u8 *ie, size_t ielen, int reassoc);
Dwpa_auth_ft.c102 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/
Dtdls.c732 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/
Dtest_wpa.c123 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/
Ddriver_atheros.c834 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 …]
Ddriver_bsd.c508 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()
Ddriver.h4602 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/
Dmesh.c297 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()
Dscan.c473 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()
Dp2p_supplicant.c318 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()