/external/wpa_supplicant_8/wpa_supplicant/src/rsn_supp/ |
H A D | wpa.h | 109 int wpa_sm_set_assoc_wpa_ie_default(struct wpa_sm *sm, u8 *wpa_ie, 125 int wpa_parse_wpa_ie(const u8 *wpa_ie, size_t wpa_ie_len, 201 u8 *wpa_ie, 248 static inline int wpa_parse_wpa_ie(const u8 *wpa_ie, size_t wpa_ie_len, argument 200 wpa_sm_set_assoc_wpa_ie_default(struct wpa_sm *sm, u8 *wpa_ie, size_t *wpa_ie_len) argument
|
H A D | wpa.c | 22 #include "wpa_ie.h" 265 * @wpa_ie: WPA/RSN IE 273 const u8 *wpa_ie, size_t wpa_ie_len, 281 if (wpa_ie == NULL) { 282 wpa_msg(sm->ctx->msg_ctx, MSG_WARNING, "WPA: No wpa_ie set - " 299 os_memcpy(rsn_ie_buf, wpa_ie, wpa_ie_len); 314 wpa_ie = rsn_ie_buf; 318 wpa_hexdump(MSG_DEBUG, "WPA: WPA IE for msg 2/4", wpa_ie, wpa_ie_len); 342 os_memcpy(reply + 1, wpa_ie, wpa_ie_len); 754 const u8 *wpa_ie, size_ 270 wpa_supplicant_send_2_of_4(struct wpa_sm *sm, const unsigned char *dst, const struct wpa_eapol_key *key, int ver, const u8 *nonce, const u8 *wpa_ie, size_t wpa_ie_len, struct wpa_ptk *ptk) argument 752 wpa_report_ie_mismatch(struct wpa_sm *sm, const char *reason, const u8 *src_addr, const u8 *wpa_ie, size_t wpa_ie_len, const u8 *rsn_ie, size_t rsn_ie_len) argument 2386 wpa_sm_set_assoc_wpa_ie_default(struct wpa_sm *sm, u8 *wpa_ie, size_t *wpa_ie_len) argument [all...] |
/external/wpa_supplicant_6/wpa_supplicant/ |
H A D | mlme.c | 69 u8 *wpa_ie; member in struct:ieee80211_sta_bss 1257 os_free(bss->wpa_ie); 1457 if (elems.wpa_ie && 1458 (bss->wpa_ie == NULL || bss->wpa_ie_len != elems.wpa_ie_len || 1459 os_memcmp(bss->wpa_ie, elems.wpa_ie, elems.wpa_ie_len))) { 1460 os_free(bss->wpa_ie); 1461 bss->wpa_ie = os_malloc(elems.wpa_ie_len + 2); 1462 if (bss->wpa_ie) { 1463 os_memcpy(bss->wpa_ie, elem [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/ |
H A D | driver.h | 39 * @wpa_ie: WPA IE 40 * @wpa_ie_len: length of the wpa_ie 68 u8 wpa_ie[SSID_MAX_WPA_IE_LEN]; member in struct:wpa_scan_result 170 * wpa_ie - WPA information element for (Re)Association Request 180 * When using WPA2/IEEE 802.11i, wpa_ie is used for RSN IE 185 * When using WPS, wpa_ie is used for WPS IE instead of WPA/RSN IE. 187 const u8 *wpa_ie; member in struct:wpa_driver_associate_params 189 * wpa_ie_len - length of the wpa_ie 194 * suites. These are usually ignored if @wpa_ie is used. */ 676 * If the driver generates RSN IE, i.e., it does not use wpa_ie i [all...] |
/external/wpa_supplicant_8/hostapd/src/ap/ |
H A D | wpa_auth.c | 386 os_free(wpa_auth->wpa_ie); 395 os_free(wpa_auth->wpa_ie); 404 os_free(wpa_auth->wpa_ie); 461 os_free(wpa_auth->wpa_ie); 580 os_free(sm->wpa_ie); 959 eapol_key_ie = kde.wpa_ie; 964 if (sm->wpa_ie == NULL || 966 sm->wpa_ie, sm->wpa_ie_len, 971 if (sm->wpa_ie) { 973 sm->wpa_ie, s 1888 u8 *wpa_ie; local [all...] |
/external/wpa_supplicant_8/hostapd/src/drivers/ |
H A D | driver_atheros.c | 73 struct wpabuf *wpa_ie; member in struct:atheros_driver_data 646 wpabuf_free(drv->wpa_ie); 647 drv->wpa_ie = wpabuf_alloc_copy(ie, ie_len); 1012 (drv->wpa_ie != NULL)) { 1014 drv->wpa_ie); 1015 os_memcpy(&(beac_ie->app_buf[len]), wpabuf_head(drv->wpa_ie), 1016 wpabuf_len(drv->wpa_ie)); 1017 beac_ie->app_buflen += wpabuf_len(drv->wpa_ie); 1161 ie.wpa_ie, IEEE80211_MAX_OPT_IE); 1168 iebuf = ie.wpa_ie; [all...] |
H A D | driver.h | 362 * wpa_ie - WPA information element for (Re)Association Request 372 * When using WPA2/IEEE 802.11i, wpa_ie is used for RSN IE 377 * When using WPS, wpa_ie is used for WPS IE instead of WPA/RSN IE. 379 const u8 *wpa_ie; member in struct:wpa_driver_associate_params 382 * wpa_ie_len - length of the wpa_ie 394 * This is usually ignored if @wpa_ie is used. 401 * This is usually ignored if @wpa_ie is used. 408 * This is usually ignored if @wpa_ie is used. 1229 * If the driver generates RSN IE, i.e., it does not use wpa_ie in 1231 * in the driver. If the driver uses wpa_ie fro [all...] |
/external/wpa_supplicant_8/hostapd/src/rsn_supp/ |
H A D | wpa.c | 22 #include "wpa_ie.h" 265 * @wpa_ie: WPA/RSN IE 273 const u8 *wpa_ie, size_t wpa_ie_len, 281 if (wpa_ie == NULL) { 282 wpa_msg(sm->ctx->msg_ctx, MSG_WARNING, "WPA: No wpa_ie set - " 299 os_memcpy(rsn_ie_buf, wpa_ie, wpa_ie_len); 314 wpa_ie = rsn_ie_buf; 318 wpa_hexdump(MSG_DEBUG, "WPA: WPA IE for msg 2/4", wpa_ie, wpa_ie_len); 342 os_memcpy(reply + 1, wpa_ie, wpa_ie_len); 754 const u8 *wpa_ie, size_ 270 wpa_supplicant_send_2_of_4(struct wpa_sm *sm, const unsigned char *dst, const struct wpa_eapol_key *key, int ver, const u8 *nonce, const u8 *wpa_ie, size_t wpa_ie_len, struct wpa_ptk *ptk) argument 752 wpa_report_ie_mismatch(struct wpa_sm *sm, const char *reason, const u8 *src_addr, const u8 *wpa_ie, size_t wpa_ie_len, const u8 *rsn_ie, size_t rsn_ie_len) argument 2386 wpa_sm_set_assoc_wpa_ie_default(struct wpa_sm *sm, u8 *wpa_ie, size_t *wpa_ie_len) argument [all...] |
/external/wpa_supplicant_8/src/ap/ |
H A D | wpa_auth.c | 386 os_free(wpa_auth->wpa_ie); 395 os_free(wpa_auth->wpa_ie); 404 os_free(wpa_auth->wpa_ie); 461 os_free(wpa_auth->wpa_ie); 580 os_free(sm->wpa_ie); 959 eapol_key_ie = kde.wpa_ie; 964 if (sm->wpa_ie == NULL || 966 sm->wpa_ie, sm->wpa_ie_len, 971 if (sm->wpa_ie) { 973 sm->wpa_ie, s 1888 u8 *wpa_ie; local [all...] |
/external/wpa_supplicant_8/src/drivers/ |
H A D | driver_atheros.c | 73 struct wpabuf *wpa_ie; member in struct:atheros_driver_data 646 wpabuf_free(drv->wpa_ie); 647 drv->wpa_ie = wpabuf_alloc_copy(ie, ie_len); 1012 (drv->wpa_ie != NULL)) { 1014 drv->wpa_ie); 1015 os_memcpy(&(beac_ie->app_buf[len]), wpabuf_head(drv->wpa_ie), 1016 wpabuf_len(drv->wpa_ie)); 1017 beac_ie->app_buflen += wpabuf_len(drv->wpa_ie); 1161 ie.wpa_ie, IEEE80211_MAX_OPT_IE); 1168 iebuf = ie.wpa_ie; [all...] |
H A D | driver.h | 362 * wpa_ie - WPA information element for (Re)Association Request 372 * When using WPA2/IEEE 802.11i, wpa_ie is used for RSN IE 377 * When using WPS, wpa_ie is used for WPS IE instead of WPA/RSN IE. 379 const u8 *wpa_ie; member in struct:wpa_driver_associate_params 382 * wpa_ie_len - length of the wpa_ie 394 * This is usually ignored if @wpa_ie is used. 401 * This is usually ignored if @wpa_ie is used. 408 * This is usually ignored if @wpa_ie is used. 1229 * If the driver generates RSN IE, i.e., it does not use wpa_ie in 1231 * in the driver. If the driver uses wpa_ie fro [all...] |
/external/wpa_supplicant_8/src/rsn_supp/ |
H A D | wpa.c | 22 #include "wpa_ie.h" 265 * @wpa_ie: WPA/RSN IE 273 const u8 *wpa_ie, size_t wpa_ie_len, 281 if (wpa_ie == NULL) { 282 wpa_msg(sm->ctx->msg_ctx, MSG_WARNING, "WPA: No wpa_ie set - " 299 os_memcpy(rsn_ie_buf, wpa_ie, wpa_ie_len); 314 wpa_ie = rsn_ie_buf; 318 wpa_hexdump(MSG_DEBUG, "WPA: WPA IE for msg 2/4", wpa_ie, wpa_ie_len); 342 os_memcpy(reply + 1, wpa_ie, wpa_ie_len); 754 const u8 *wpa_ie, size_ 270 wpa_supplicant_send_2_of_4(struct wpa_sm *sm, const unsigned char *dst, const struct wpa_eapol_key *key, int ver, const u8 *nonce, const u8 *wpa_ie, size_t wpa_ie_len, struct wpa_ptk *ptk) argument 752 wpa_report_ie_mismatch(struct wpa_sm *sm, const char *reason, const u8 *src_addr, const u8 *wpa_ie, size_t wpa_ie_len, const u8 *rsn_ie, size_t rsn_ie_len) argument 2386 wpa_sm_set_assoc_wpa_ie_default(struct wpa_sm *sm, u8 *wpa_ie, size_t *wpa_ie_len) argument [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/ap/ |
H A D | wpa_auth.c | 386 os_free(wpa_auth->wpa_ie); 395 os_free(wpa_auth->wpa_ie); 404 os_free(wpa_auth->wpa_ie); 461 os_free(wpa_auth->wpa_ie); 580 os_free(sm->wpa_ie); 959 eapol_key_ie = kde.wpa_ie; 964 if (sm->wpa_ie == NULL || 966 sm->wpa_ie, sm->wpa_ie_len, 971 if (sm->wpa_ie) { 973 sm->wpa_ie, s 1888 u8 *wpa_ie; local [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/ |
H A D | driver_atheros.c | 73 struct wpabuf *wpa_ie; member in struct:atheros_driver_data 646 wpabuf_free(drv->wpa_ie); 647 drv->wpa_ie = wpabuf_alloc_copy(ie, ie_len); 1012 (drv->wpa_ie != NULL)) { 1014 drv->wpa_ie); 1015 os_memcpy(&(beac_ie->app_buf[len]), wpabuf_head(drv->wpa_ie), 1016 wpabuf_len(drv->wpa_ie)); 1017 beac_ie->app_buflen += wpabuf_len(drv->wpa_ie); 1161 ie.wpa_ie, IEEE80211_MAX_OPT_IE); 1168 iebuf = ie.wpa_ie; [all...] |
H A D | driver.h | 362 * wpa_ie - WPA information element for (Re)Association Request 372 * When using WPA2/IEEE 802.11i, wpa_ie is used for RSN IE 377 * When using WPS, wpa_ie is used for WPS IE instead of WPA/RSN IE. 379 const u8 *wpa_ie; member in struct:wpa_driver_associate_params 382 * wpa_ie_len - length of the wpa_ie 394 * This is usually ignored if @wpa_ie is used. 401 * This is usually ignored if @wpa_ie is used. 408 * This is usually ignored if @wpa_ie is used. 1229 * If the driver generates RSN IE, i.e., it does not use wpa_ie in 1231 * in the driver. If the driver uses wpa_ie fro [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
H A D | wpa_supplicant.c | 951 * @wpa_ie: Buffer for the WPA/RSN IE 952 * @wpa_ie_len: Maximum wpa_ie buffer size on input. This is changed to be the 962 u8 *wpa_ie, size_t *wpa_ie_len) 1134 if (wpa_sm_set_assoc_wpa_ie_default(wpa_s->wpa, wpa_ie, wpa_ie_len)) { 1227 u8 wpa_ie[200]; local 1356 wpa_ie_len = sizeof(wpa_ie); 1358 wpa_ie, &wpa_ie_len)) { 1374 wpa_ie_len = sizeof(wpa_ie); 1376 wpa_ie, &wpa_ie_len)) { 1386 if (wps_ie && wpabuf_len(wps_ie) <= sizeof(wpa_ie)) { 960 wpa_supplicant_set_suites(struct wpa_supplicant *wpa_s, struct wpa_bss *bss, struct wpa_ssid *ssid, u8 *wpa_ie, size_t *wpa_ie_len) argument [all...] |