Home
last modified time | relevance | path

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

/hostap-latest/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.c261 size_t ielen; in hostapd_notif_assoc() local
310 ielen = elems.wps_ie_len + 2; in hostapd_notif_assoc()
314 ielen = elems.rsn_ie_len + 2; in hostapd_notif_assoc()
318 ielen = elems.wpa_ie_len + 2; in hostapd_notif_assoc()
323 ielen = elems.osen_len + 2; in hostapd_notif_assoc()
328 ielen = 0; in hostapd_notif_assoc()
472 if (ie == NULL || ielen == 0) { in hostapd_notif_assoc()
493 wps = ieee802_11_vendor_ie_concat(ie, ielen, in hostapd_notif_assoc()
529 ie, ielen, in hostapd_notif_assoc()
594 wpa_hexdump(MSG_DEBUG, "IE", ie, ielen); in hostapd_notif_assoc()
Dap_drv_ops.c1211 u16 reason_code, const u8 *ie, size_t ielen) in hostapd_drv_update_dh_ie() argument
1216 ie, ielen); in hostapd_drv_update_dh_ie()
Dap_drv_ops.h144 u16 reason_code, const u8 *ie, size_t ielen);
Dieee802_11.c2066 size_t ielen; in prepare_auth_resp_fils() local
2078 ie = wpa_auth_get_wpa_ie(hapd->wpa_auth, &ielen); in prepare_auth_resp_fils()
2086 ie_buf = os_malloc(ielen + 2 + 2 + PMKID_LEN); in prepare_auth_resp_fils()
2092 os_memcpy(ie_buf, ie, ielen); in prepare_auth_resp_fils()
2093 if (wpa_insert_pmkid(ie_buf, &ielen, pmksa->pmkid, true) < 0) { in prepare_auth_resp_fils()
2117 data = wpabuf_alloc(1000 + ielen + (pub ? wpabuf_len(pub) : 0)); in prepare_auth_resp_fils()
2135 wpabuf_put_data(data, ie, ielen); in prepare_auth_resp_fils()
Dwpa_auth_ft.c818 u8 *pos = buf, *ielen; in wpa_write_ftie() local
841 ielen = pos++; in wpa_write_ftie()
899 *ielen = pos - buf - 2; in wpa_write_ftie()
/hostap-latest/src/rsn_supp/
Dtdls.c789 int ielen; in wpa_tdls_send_teardown() local
818 ielen = 0; in wpa_tdls_send_teardown()
821 ielen += sizeof(*ftie); in wpa_tdls_send_teardown()
824 ielen += 170; in wpa_tdls_send_teardown()
828 rbuf = os_zalloc(ielen + 1); in wpa_tdls_send_teardown()
977 int ielen; in wpa_tdls_recv_teardown() local
1000 ielen = len - (pos - buf); /* start of IE in buf */ in wpa_tdls_recv_teardown()
1007 if (wpa_supplicant_parse_ies((const u8 *) pos, ielen, &kde) < 0) in wpa_tdls_recv_teardown()
1961 u16 ielen; in wpa_tdls_process_tpk_m1() local
2022 ielen = len - (cpos - buf); /* start of IE in buf */ in wpa_tdls_process_tpk_m1()
[all …]
/hostap-latest/src/drivers/
Ddriver_atheros.c862 int ielen; in atheros_raw_receive() local
914 ielen = len - (IEEE80211_HDRLEN + sizeof(mgmt->u.assoc_req)); in atheros_raw_receive()
916 drv_event_assoc(drv->hapd, mgmt->sa, iebuf, ielen, NULL, 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, NULL, 0, in atheros_raw_receive()
1173 int ielen = 0; in atheros_new_sta() local
1211 ielen = iebuf[1]; in atheros_new_sta()
1217 ielen = ie.wps_ie[1]; in atheros_new_sta()
1221 if (ielen == 0) in atheros_new_sta()
1224 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, NULL, 0, NULL, -1, 0); in bsd_new_sta()
/hostap-latest/wpa_supplicant/
Dmesh.c603 size_t ielen = 2; in wpa_supplicant_mesh_add_scan_ie() local
605 if (wpabuf_resize(extra_ie, ielen) == 0) { in wpa_supplicant_mesh_add_scan_ie()
Dscan.c786 size_t ielen = p2p_scan_ie_buf_len(wpa_s->global->p2p); in wpa_supplicant_extra_ies() local
787 if (wpabuf_resize(&extra_ie, ielen) == 0) in wpa_supplicant_extra_ies()
Dp2p_supplicant.c431 size_t ielen; in wpas_p2p_scan() local
511 ielen = p2p_scan_ie_buf_len(wpa_s->global->p2p); in wpas_p2p_scan()
512 ies = wpabuf_alloc(wpabuf_len(wps_ie) + ielen); in wpas_p2p_scan()
5572 size_t ielen; in wpas_p2p_join_scan_req() local
5618 ielen = p2p_scan_ie_buf_len(wpa_s->global->p2p); in wpas_p2p_join_scan_req()
5619 ies = wpabuf_alloc(wpabuf_len(wps_ie) + ielen); in wpas_p2p_join_scan_req()