/external/wpa_supplicant_6/wpa_supplicant/src/rsn_supp/ |
H A D | wpa_ie.h | 19 const u8 *wpa_ie; member in struct:wpa_eapol_ie_parse 50 int wpa_gen_wpa_ie(struct wpa_sm *sm, u8 *wpa_ie, size_t wpa_ie_len);
|
H A D | wpa_ie.c | 22 #include "wpa_ie.h" 53 static int wpa_parse_wpa_ie_wpa(const u8 *wpa_ie, size_t wpa_ie_len, argument 82 hdr = (const struct wpa_ie_hdr *) wpa_ie; 165 * @wpa_ie: Pointer to WPA or RSN IE 172 int wpa_parse_wpa_ie(const u8 *wpa_ie, size_t wpa_ie_len, argument 175 if (wpa_ie_len >= 1 && wpa_ie[0] == WLAN_EID_RSN) 176 return wpa_parse_wpa_ie_rsn(wpa_ie, wpa_ie_len, data); 178 return wpa_parse_wpa_ie_wpa(wpa_ie, wpa_ie_len, data); 182 static int wpa_gen_wpa_ie_wpa(u8 *wpa_ie, size_t wpa_ie_len, argument 193 hdr = (struct wpa_ie_hdr *) wpa_ie; 382 wpa_gen_wpa_ie(struct wpa_sm *sm, u8 *wpa_ie, size_t wpa_ie_len) argument [all...] |
/external/wpa_supplicant_8/hostapd/src/ap/ |
H A D | wpa_auth_ie.h | 13 const u8 *wpa_ie; member in struct:wpa_eapol_ie_parse
|
H A D | wpa_auth_ie.c | 317 os_free(wpa_auth->wpa_ie); 318 wpa_auth->wpa_ie = os_malloc(pos - buf); 319 if (wpa_auth->wpa_ie == NULL) 321 os_memcpy(wpa_auth->wpa_ie, buf, pos - buf); 366 const u8 *wpa_ie, size_t wpa_ie_len, 378 if (wpa_ie == NULL || wpa_ie_len < 1) 381 if (wpa_ie[0] == WLAN_EID_RSN) 393 res = wpa_parse_wpa_ie_rsn(wpa_ie, wpa_ie_len, &data); 428 res = wpa_parse_wpa_ie_wpa(wpa_ie, wpa_ie_len, &data); 452 wpa_hexdump(MSG_DEBUG, "WPA/RSN IE", wpa_ie, wpa_ie_le 364 wpa_validate_wpa_ie(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, const u8 *wpa_ie, size_t wpa_ie_len, const u8 *mdie, size_t mdie_len) argument [all...] |
H A D | wpa_auth_glue.c | 490 const u8 *wpa_ie; local 530 wpa_ie = wpa_auth_get_wpa_ie(hapd->wpa_auth, &wpa_ie_len); 531 if (hostapd_set_generic_elem(hapd, wpa_ie, wpa_ie_len)) {
|
/external/wpa_supplicant_8/hostapd/src/rsn_supp/ |
H A D | wpa_ie.c | 16 #include "wpa_ie.h" 21 * @wpa_ie: Pointer to WPA or RSN IE 28 int wpa_parse_wpa_ie(const u8 *wpa_ie, size_t wpa_ie_len, argument 31 if (wpa_ie_len >= 1 && wpa_ie[0] == WLAN_EID_RSN) 32 return wpa_parse_wpa_ie_rsn(wpa_ie, wpa_ie_len, data); 34 return wpa_parse_wpa_ie_wpa(wpa_ie, wpa_ie_len, data); 38 static int wpa_gen_wpa_ie_wpa(u8 *wpa_ie, size_t wpa_ie_len, argument 50 hdr = (struct wpa_ie_hdr *) wpa_ie; 95 hdr->len = (pos - wpa_ie) - 2; 97 WPA_ASSERT((size_t) (pos - wpa_ie) < 226 wpa_gen_wpa_ie(struct wpa_sm *sm, u8 *wpa_ie, size_t wpa_ie_len) argument [all...] |
H A D | wpa_ie.h | 15 const u8 *wpa_ie; member in struct:wpa_eapol_ie_parse 56 int wpa_gen_wpa_ie(struct wpa_sm *sm, u8 *wpa_ie, size_t wpa_ie_len);
|
/external/wpa_supplicant_8/src/ap/ |
H A D | wpa_auth_ie.h | 13 const u8 *wpa_ie; member in struct:wpa_eapol_ie_parse
|
H A D | wpa_auth_ie.c | 317 os_free(wpa_auth->wpa_ie); 318 wpa_auth->wpa_ie = os_malloc(pos - buf); 319 if (wpa_auth->wpa_ie == NULL) 321 os_memcpy(wpa_auth->wpa_ie, buf, pos - buf); 366 const u8 *wpa_ie, size_t wpa_ie_len, 378 if (wpa_ie == NULL || wpa_ie_len < 1) 381 if (wpa_ie[0] == WLAN_EID_RSN) 393 res = wpa_parse_wpa_ie_rsn(wpa_ie, wpa_ie_len, &data); 428 res = wpa_parse_wpa_ie_wpa(wpa_ie, wpa_ie_len, &data); 452 wpa_hexdump(MSG_DEBUG, "WPA/RSN IE", wpa_ie, wpa_ie_le 364 wpa_validate_wpa_ie(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, const u8 *wpa_ie, size_t wpa_ie_len, const u8 *mdie, size_t mdie_len) argument [all...] |
H A D | wpa_auth_glue.c | 490 const u8 *wpa_ie; local 530 wpa_ie = wpa_auth_get_wpa_ie(hapd->wpa_auth, &wpa_ie_len); 531 if (hostapd_set_generic_elem(hapd, wpa_ie, wpa_ie_len)) {
|
/external/wpa_supplicant_8/src/rsn_supp/ |
H A D | wpa_ie.c | 16 #include "wpa_ie.h" 21 * @wpa_ie: Pointer to WPA or RSN IE 28 int wpa_parse_wpa_ie(const u8 *wpa_ie, size_t wpa_ie_len, argument 31 if (wpa_ie_len >= 1 && wpa_ie[0] == WLAN_EID_RSN) 32 return wpa_parse_wpa_ie_rsn(wpa_ie, wpa_ie_len, data); 34 return wpa_parse_wpa_ie_wpa(wpa_ie, wpa_ie_len, data); 38 static int wpa_gen_wpa_ie_wpa(u8 *wpa_ie, size_t wpa_ie_len, argument 50 hdr = (struct wpa_ie_hdr *) wpa_ie; 95 hdr->len = (pos - wpa_ie) - 2; 97 WPA_ASSERT((size_t) (pos - wpa_ie) < 226 wpa_gen_wpa_ie(struct wpa_sm *sm, u8 *wpa_ie, size_t wpa_ie_len) argument [all...] |
H A D | wpa_ie.h | 15 const u8 *wpa_ie; member in struct:wpa_eapol_ie_parse 56 int wpa_gen_wpa_ie(struct wpa_sm *sm, u8 *wpa_ie, size_t wpa_ie_len);
|
/external/wpa_supplicant_8/wpa_supplicant/src/ap/ |
H A D | wpa_auth_ie.h | 13 const u8 *wpa_ie; member in struct:wpa_eapol_ie_parse
|
H A D | wpa_auth_ie.c | 317 os_free(wpa_auth->wpa_ie); 318 wpa_auth->wpa_ie = os_malloc(pos - buf); 319 if (wpa_auth->wpa_ie == NULL) 321 os_memcpy(wpa_auth->wpa_ie, buf, pos - buf); 366 const u8 *wpa_ie, size_t wpa_ie_len, 378 if (wpa_ie == NULL || wpa_ie_len < 1) 381 if (wpa_ie[0] == WLAN_EID_RSN) 393 res = wpa_parse_wpa_ie_rsn(wpa_ie, wpa_ie_len, &data); 428 res = wpa_parse_wpa_ie_wpa(wpa_ie, wpa_ie_len, &data); 452 wpa_hexdump(MSG_DEBUG, "WPA/RSN IE", wpa_ie, wpa_ie_le 364 wpa_validate_wpa_ie(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, const u8 *wpa_ie, size_t wpa_ie_len, const u8 *mdie, size_t mdie_len) argument [all...] |
H A D | wpa_auth_glue.c | 490 const u8 *wpa_ie; local 530 wpa_ie = wpa_auth_get_wpa_ie(hapd->wpa_auth, &wpa_ie_len); 531 if (hostapd_set_generic_elem(hapd, wpa_ie, wpa_ie_len)) {
|
/external/wpa_supplicant_8/wpa_supplicant/src/rsn_supp/ |
H A D | wpa_ie.c | 16 #include "wpa_ie.h" 21 * @wpa_ie: Pointer to WPA or RSN IE 28 int wpa_parse_wpa_ie(const u8 *wpa_ie, size_t wpa_ie_len, argument 31 if (wpa_ie_len >= 1 && wpa_ie[0] == WLAN_EID_RSN) 32 return wpa_parse_wpa_ie_rsn(wpa_ie, wpa_ie_len, data); 34 return wpa_parse_wpa_ie_wpa(wpa_ie, wpa_ie_len, data); 38 static int wpa_gen_wpa_ie_wpa(u8 *wpa_ie, size_t wpa_ie_len, argument 50 hdr = (struct wpa_ie_hdr *) wpa_ie; 95 hdr->len = (pos - wpa_ie) - 2; 97 WPA_ASSERT((size_t) (pos - wpa_ie) < 226 wpa_gen_wpa_ie(struct wpa_sm *sm, u8 *wpa_ie, size_t wpa_ie_len) argument [all...] |
H A D | wpa_ie.h | 15 const u8 *wpa_ie; member in struct:wpa_eapol_ie_parse 56 int wpa_gen_wpa_ie(struct wpa_sm *sm, u8 *wpa_ie, size_t wpa_ie_len);
|
/external/wpa_supplicant_6/wpa_supplicant/src/common/ |
H A D | ieee802_11_common.h | 40 u8 *wpa_ie; member in struct:ieee802_11_elems
|
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/ |
H A D | driver_hostap.c | 58 const u8 *wpa_ie, size_t wpa_ie_len) 72 os_memcpy(param->u.generic_elem.data, wpa_ie, wpa_ie_len); 333 if (wpa_driver_hostap_set_wpa_ie(drv, params->wpa_ie, 57 wpa_driver_hostap_set_wpa_ie(struct wpa_driver_hostap_data *drv, const u8 *wpa_ie, size_t wpa_ie_len) argument
|
H A D | driver_prism54.c | 61 const u8 *wpa_ie, 76 os_memcpy(param->u.generic_elem.data, wpa_ie, wpa_ie_len); 248 if (wpa_driver_prism54_set_wpa_ie(drv, params->wpa_ie, 60 wpa_driver_prism54_set_wpa_ie(struct wpa_driver_prism54_data *drv, const u8 *wpa_ie, size_t wpa_ie_len) argument
|
H A D | driver_madwifi.c | 175 const u8 *wpa_ie, size_t wpa_ie_len) 182 iwr.u.data.pointer = (void *) wpa_ie; 359 if (wpa_driver_madwifi_set_wpa_ie(drv, params->wpa_ie, 374 params->wpa_ie[0] == WLAN_EID_RSN ? 2 : 1, 1) < 0) 174 wpa_driver_madwifi_set_wpa_ie(struct wpa_driver_madwifi_data *drv, const u8 *wpa_ie, size_t wpa_ie_len) argument
|
H A D | driver_ndiswrapper.c | 54 const u8 *wpa_ie; member in struct:wpa_assoc_info 233 wpa_assoc_info.wpa_ie = params->wpa_ie;
|
/external/wpa_supplicant_6/wpa_supplicant/ |
H A D | events.c | 65 u8 wpa_ie[80]; local 66 size_t wpa_ie_len = sizeof(wpa_ie); 68 wpa_ie, &wpa_ie_len); 285 const u8 *rsn_ie, *wpa_ie; local 337 wpa_ie = wpa_scan_get_vendor_ie(bss, WPA_IE_VENDOR_TYPE); 338 while ((ssid->proto & WPA_PROTO_WPA) && wpa_ie) { 341 if (wpa_parse_wpa_ie(wpa_ie, 2 + wpa_ie[1], &ie)) {
|
/external/wpa_supplicant_8/hostapd/src/common/ |
H A D | ieee802_11_common.h | 24 const u8 *wpa_ie; member in struct:ieee802_11_elems
|
/external/wpa_supplicant_8/src/common/ |
H A D | ieee802_11_common.h | 24 const u8 *wpa_ie; member in struct:ieee802_11_elems
|