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

12

/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;
97 hdr->len = (pos - wpa_ie) - 2;
99 WPA_ASSERT((size_t) (pos - wpa_ie) <
227 wpa_gen_wpa_ie_osen(u8 *wpa_ie, size_t wpa_ie_len, int pairwise_cipher, int group_cipher, int key_mgmt) argument
291 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
72 int wpa_gen_wpa_ie(struct wpa_sm *sm, u8 *wpa_ie, size_t wpa_ie_len);
H A Dwpa.h118 int wpa_sm_set_assoc_wpa_ie_default(struct wpa_sm *sm, u8 *wpa_ie,
133 int wpa_parse_wpa_ie(const u8 *wpa_ie, size_t wpa_ie_len,
211 u8 *wpa_ie,
257 static inline int wpa_parse_wpa_ie(const u8 *wpa_ie, size_t wpa_ie_len, argument
210 wpa_sm_set_assoc_wpa_ie_default(struct wpa_sm *sm, u8 *wpa_ie, size_t *wpa_ie_len) argument
/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;
97 hdr->len = (pos - wpa_ie) - 2;
99 WPA_ASSERT((size_t) (pos - wpa_ie) <
227 wpa_gen_wpa_ie_osen(u8 *wpa_ie, size_t wpa_ie_len, int pairwise_cipher, int group_cipher, int key_mgmt) argument
291 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
72 int wpa_gen_wpa_ie(struct wpa_sm *sm, u8 *wpa_ie, size_t 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;
97 hdr->len = (pos - wpa_ie) - 2;
99 WPA_ASSERT((size_t) (pos - wpa_ie) <
227 wpa_gen_wpa_ie_osen(u8 *wpa_ie, size_t wpa_ie_len, int pairwise_cipher, int group_cipher, int key_mgmt) argument
291 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
72 int wpa_gen_wpa_ie(struct wpa_sm *sm, u8 *wpa_ie, size_t wpa_ie_len);
/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.c399 os_free(wpa_auth->wpa_ie);
400 wpa_auth->wpa_ie = os_malloc(pos - buf);
401 if (wpa_auth->wpa_ie == NULL)
403 os_memcpy(wpa_auth->wpa_ie, buf, pos - buf);
448 const u8 *wpa_ie, size_t wpa_ie_len,
460 if (wpa_ie == NULL || wpa_ie_len < 1)
463 if (wpa_ie[0] == WLAN_EID_RSN)
475 res = wpa_parse_wpa_ie_rsn(wpa_ie, wpa_ie_len, &data);
516 res = wpa_parse_wpa_ie_wpa(wpa_ie, wpa_ie_len, &data);
540 wpa_hexdump(MSG_DEBUG, "WPA/RSN IE", wpa_ie, wpa_ie_le
446 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.c534 const u8 *wpa_ie; local
574 wpa_ie = wpa_auth_get_wpa_ie(hapd->wpa_auth, &wpa_ie_len);
575 if (hostapd_set_generic_elem(hapd, wpa_ie, wpa_ie_len)) {
H A Dhostapd.c97 const u8 *wpa_ie; local
100 wpa_ie = wpa_auth_get_wpa_ie(hapd->wpa_auth, &wpa_ie_len);
101 if (hostapd_set_generic_elem(hapd, wpa_ie, wpa_ie_len))
H A Dieee802_11.c881 const u8 *wpa_ie; local
951 wpa_ie = elems.rsn_ie;
954 elems.wpa_ie) {
955 wpa_ie = elems.wpa_ie;
958 wpa_ie = NULL;
975 wpa_ie = NULL;
982 } else if (hapd->conf->wps_state && wpa_ie == NULL) {
988 if (hapd->conf->wpa && wpa_ie == NULL) {
995 if (hapd->conf->wpa && wpa_ie) {
[all...]
H A Dwpa_auth_i.h96 u8 *wpa_ie; member in struct:wpa_state_machine
194 u8 *wpa_ie; member in struct:wpa_authenticator
/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.c399 os_free(wpa_auth->wpa_ie);
400 wpa_auth->wpa_ie = os_malloc(pos - buf);
401 if (wpa_auth->wpa_ie == NULL)
403 os_memcpy(wpa_auth->wpa_ie, buf, pos - buf);
448 const u8 *wpa_ie, size_t wpa_ie_len,
460 if (wpa_ie == NULL || wpa_ie_len < 1)
463 if (wpa_ie[0] == WLAN_EID_RSN)
475 res = wpa_parse_wpa_ie_rsn(wpa_ie, wpa_ie_len, &data);
516 res = wpa_parse_wpa_ie_wpa(wpa_ie, wpa_ie_len, &data);
540 wpa_hexdump(MSG_DEBUG, "WPA/RSN IE", wpa_ie, wpa_ie_le
446 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.c534 const u8 *wpa_ie; local
574 wpa_ie = wpa_auth_get_wpa_ie(hapd->wpa_auth, &wpa_ie_len);
575 if (hostapd_set_generic_elem(hapd, wpa_ie, wpa_ie_len)) {
H A Dhostapd.c97 const u8 *wpa_ie; local
100 wpa_ie = wpa_auth_get_wpa_ie(hapd->wpa_auth, &wpa_ie_len);
101 if (hostapd_set_generic_elem(hapd, wpa_ie, wpa_ie_len))
H A Dieee802_11.c881 const u8 *wpa_ie; local
951 wpa_ie = elems.rsn_ie;
954 elems.wpa_ie) {
955 wpa_ie = elems.wpa_ie;
958 wpa_ie = NULL;
975 wpa_ie = NULL;
982 } else if (hapd->conf->wps_state && wpa_ie == NULL) {
988 if (hapd->conf->wpa && wpa_ie == NULL) {
995 if (hapd->conf->wpa && wpa_ie) {
[all...]
/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.c399 os_free(wpa_auth->wpa_ie);
400 wpa_auth->wpa_ie = os_malloc(pos - buf);
401 if (wpa_auth->wpa_ie == NULL)
403 os_memcpy(wpa_auth->wpa_ie, buf, pos - buf);
448 const u8 *wpa_ie, size_t wpa_ie_len,
460 if (wpa_ie == NULL || wpa_ie_len < 1)
463 if (wpa_ie[0] == WLAN_EID_RSN)
475 res = wpa_parse_wpa_ie_rsn(wpa_ie, wpa_ie_len, &data);
516 res = wpa_parse_wpa_ie_wpa(wpa_ie, wpa_ie_len, &data);
540 wpa_hexdump(MSG_DEBUG, "WPA/RSN IE", wpa_ie, wpa_ie_le
446 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.c534 const u8 *wpa_ie; local
574 wpa_ie = wpa_auth_get_wpa_ie(hapd->wpa_auth, &wpa_ie_len);
575 if (hostapd_set_generic_elem(hapd, wpa_ie, wpa_ie_len)) {
/external/wpa_supplicant_8/hostapd/src/common/
H A Dieee802_11_common.h20 const u8 *wpa_ie; member in struct:ieee802_11_elems
H A Dwpa_common.c619 int wpa_parse_wpa_ie_wpa(const u8 *wpa_ie, size_t wpa_ie_len, argument
648 hdr = (const struct wpa_ie_hdr *) wpa_ie;
/external/wpa_supplicant_8/src/common/
H A Dieee802_11_common.h20 const u8 *wpa_ie; member in struct:ieee802_11_elems
/external/wpa_supplicant_8/wpa_supplicant/src/common/
H A Dieee802_11_common.h20 const u8 *wpa_ie; member in struct:ieee802_11_elems

Completed in 4164 milliseconds

12