Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/ap/
Ddrv_callbacks.c47 size_t ielen; in hostapd_notif_assoc() local
76 ielen = elems.wps_ie_len + 2; in hostapd_notif_assoc()
80 ielen = elems.rsn_ie_len + 2; in hostapd_notif_assoc()
84 ielen = elems.wpa_ie_len + 2; in hostapd_notif_assoc()
89 ielen = elems.osen_len + 2; in hostapd_notif_assoc()
94 ielen = 0; in hostapd_notif_assoc()
183 if (ie == NULL || ielen == 0) { in hostapd_notif_assoc()
202 wps = ieee802_11_vendor_ie_concat(ie, ielen, in hostapd_notif_assoc()
226 ie, ielen, in hostapd_notif_assoc()
232 wpa_hexdump(MSG_DEBUG, "IE", ie, ielen); in hostapd_notif_assoc()
Dieee802_11_ht.c281 u8 ielen = data[1]; in hostapd_2040_coex_action() local
283 if (ielen > start + len - data - 2) in hostapd_2040_coex_action()
292 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.h492 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.c739 int ielen; in wpa_tdls_send_teardown() local
768 ielen = 0; in wpa_tdls_send_teardown()
771 ielen += sizeof(*ftie); in wpa_tdls_send_teardown()
774 ielen += 170; in wpa_tdls_send_teardown()
778 rbuf = os_zalloc(ielen + 1); in wpa_tdls_send_teardown()
925 int ielen; in wpa_tdls_recv_teardown() local
948 ielen = len - (pos - buf); /* start of IE in buf */ in wpa_tdls_recv_teardown()
955 if (wpa_supplicant_parse_ies((const u8 *) pos, ielen, &kde) < 0) in wpa_tdls_recv_teardown()
1773 u16 ielen; in wpa_tdls_process_tpk_m1() local
1833 ielen = len - (cpos - buf); /* start of IE in buf */ in wpa_tdls_process_tpk_m1()
[all …]
/external/wpa_supplicant_8/src/drivers/
Ddriver_atheros.c839 int ielen; in atheros_raw_receive() local
881 ielen = len - (IEEE80211_HDRLEN + sizeof(mgmt->u.assoc_req)); in atheros_raw_receive()
883 drv_event_assoc(drv->hapd, mgmt->sa, iebuf, ielen, 0); in atheros_raw_receive()
888 ielen = len - (IEEE80211_HDRLEN + sizeof(mgmt->u.reassoc_req)); in atheros_raw_receive()
890 drv_event_assoc(drv->hapd, mgmt->sa, iebuf, ielen, 1); in atheros_raw_receive()
1116 int ielen = 0; in atheros_new_sta() local
1154 ielen = iebuf[1]; in atheros_new_sta()
1161 ielen = ie.wps_ie[1]; in atheros_new_sta()
1165 if (ielen == 0) in atheros_new_sta()
1168 ielen += 2; in atheros_new_sta()
[all …]
Ddriver_bsd.c550 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()
Ddriver.h4777 size_t ielen, int reassoc) in drv_event_assoc() argument
4783 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.c322 size_t ielen = 2; in wpa_supplicant_mesh_add_scan_ie() local
324 if (wpabuf_resize(extra_ie, ielen) == 0) { in wpa_supplicant_mesh_add_scan_ie()
Dscan.c472 size_t ielen = p2p_scan_ie_buf_len(wpa_s->global->p2p); in wpa_supplicant_extra_ies() local
473 if (wpabuf_resize(&extra_ie, ielen) == 0) in wpa_supplicant_extra_ies()
Dp2p_supplicant.c352 size_t ielen; in wpas_p2p_scan() local
424 ielen = p2p_scan_ie_buf_len(wpa_s->global->p2p); in wpas_p2p_scan()
425 ies = wpabuf_alloc(wpabuf_len(wps_ie) + ielen); in wpas_p2p_scan()
4938 size_t ielen; in wpas_p2p_join_scan_req() local
4982 ielen = p2p_scan_ie_buf_len(wpa_s->global->p2p); in wpas_p2p_join_scan_req()
4983 ies = wpabuf_alloc(wpabuf_len(wps_ie) + ielen); in wpas_p2p_join_scan_req()