Searched defs:wpa_ie (Results 1 - 25 of 66) sorted by relevance

123

/external/wpa_supplicant_6/wpa_supplicant/src/rsn_supp/
H A Dwpa_ie.h19 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 Dwpa_ie.c22 #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 Dwpa_auth_ie.h13 const u8 *wpa_ie; member in struct:wpa_eapol_ie_parse
H A Dwpa_auth_ie.c317 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 Dwpa_auth_glue.c490 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 Dwpa_ie.c16 #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 Dwpa_ie.h15 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 Dwpa_auth_ie.h13 const u8 *wpa_ie; member in struct:wpa_eapol_ie_parse
H A Dwpa_auth_ie.c317 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 Dwpa_auth_glue.c490 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 Dwpa_ie.c16 #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 Dwpa_ie.h15 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 Dwpa_auth_ie.h13 const u8 *wpa_ie; member in struct:wpa_eapol_ie_parse
H A Dwpa_auth_ie.c317 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 Dwpa_auth_glue.c490 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 Dwpa_ie.c16 #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 Dwpa_ie.h15 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 Dieee802_11_common.h40 u8 *wpa_ie; member in struct:ieee802_11_elems
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/
H A Ddriver_hostap.c58 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 Ddriver_prism54.c61 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 Ddriver_madwifi.c175 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 Ddriver_ndiswrapper.c54 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 Devents.c65 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 Dieee802_11_common.h24 const u8 *wpa_ie; member in struct:ieee802_11_elems
/external/wpa_supplicant_8/src/common/
H A Dieee802_11_common.h24 const u8 *wpa_ie; member in struct:ieee802_11_elems

Completed in 208 milliseconds

123