Searched refs:wpa_ie (Results 1 - 25 of 88) sorted by relevance

1234

/external/wpa_supplicant_8/hostapd/src/rsn_supp/
H A Dwpa_ie.h15 const u8 *wpa_ie; member in struct:wpa_eapol_ie_parse
62 int wpa_gen_wpa_ie(struct wpa_sm *sm, u8 *wpa_ie, size_t wpa_ie_len);
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) <
232 wpa_gen_wpa_ie(struct wpa_sm *sm, u8 *wpa_ie, size_t wpa_ie_len) argument
[all...]
H A Dwpa.h113 int wpa_sm_set_assoc_wpa_ie_default(struct wpa_sm *sm, u8 *wpa_ie,
130 int wpa_parse_wpa_ie(const u8 *wpa_ie, size_t wpa_ie_len,
206 u8 *wpa_ie,
258 static inline int wpa_parse_wpa_ie(const u8 *wpa_ie, size_t wpa_ie_len, argument
205 wpa_sm_set_assoc_wpa_ie_default(struct wpa_sm *sm, u8 *wpa_ie, size_t *wpa_ie_len) argument
H A Dwpa.c22 #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);
748 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
746 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
2431 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/rsn_supp/
H A Dwpa_ie.h15 const u8 *wpa_ie; member in struct:wpa_eapol_ie_parse
62 int wpa_gen_wpa_ie(struct wpa_sm *sm, u8 *wpa_ie, size_t wpa_ie_len);
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) <
232 wpa_gen_wpa_ie(struct wpa_sm *sm, u8 *wpa_ie, size_t wpa_ie_len) argument
[all...]
H A Dwpa.h113 int wpa_sm_set_assoc_wpa_ie_default(struct wpa_sm *sm, u8 *wpa_ie,
130 int wpa_parse_wpa_ie(const u8 *wpa_ie, size_t wpa_ie_len,
206 u8 *wpa_ie,
258 static inline int wpa_parse_wpa_ie(const u8 *wpa_ie, size_t wpa_ie_len, argument
205 wpa_sm_set_assoc_wpa_ie_default(struct wpa_sm *sm, u8 *wpa_ie, size_t *wpa_ie_len) argument
/external/wpa_supplicant_8/wpa_supplicant/src/rsn_supp/
H A Dwpa_ie.h15 const u8 *wpa_ie; member in struct:wpa_eapol_ie_parse
62 int wpa_gen_wpa_ie(struct wpa_sm *sm, u8 *wpa_ie, size_t wpa_ie_len);
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) <
232 wpa_gen_wpa_ie(struct wpa_sm *sm, u8 *wpa_ie, size_t wpa_ie_len) argument
[all...]
H A Dwpa.h113 int wpa_sm_set_assoc_wpa_ie_default(struct wpa_sm *sm, u8 *wpa_ie,
130 int wpa_parse_wpa_ie(const u8 *wpa_ie, size_t wpa_ie_len,
206 u8 *wpa_ie,
258 static inline int wpa_parse_wpa_ie(const u8 *wpa_ie, size_t wpa_ie_len, argument
205 wpa_sm_set_assoc_wpa_ie_default(struct wpa_sm *sm, u8 *wpa_ie, size_t *wpa_ie_len) argument
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dwpa_auth_ie.c329 os_free(wpa_auth->wpa_ie);
330 wpa_auth->wpa_ie = os_malloc(pos - buf);
331 if (wpa_auth->wpa_ie == NULL)
333 os_memcpy(wpa_auth->wpa_ie, buf, pos - buf);
378 const u8 *wpa_ie, size_t wpa_ie_len,
390 if (wpa_ie == NULL || wpa_ie_len < 1)
393 if (wpa_ie[0] == WLAN_EID_RSN)
405 res = wpa_parse_wpa_ie_rsn(wpa_ie, wpa_ie_len, &data);
446 res = wpa_parse_wpa_ie_wpa(wpa_ie, wpa_ie_len, &data);
470 wpa_hexdump(MSG_DEBUG, "WPA/RSN IE", wpa_ie, wpa_ie_le
376 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_ie.h13 const u8 *wpa_ie; member in struct:wpa_eapol_ie_parse
H A Dwpa_auth.c392 os_free(wpa_auth->wpa_ie);
401 os_free(wpa_auth->wpa_ie);
410 os_free(wpa_auth->wpa_ie);
467 os_free(wpa_auth->wpa_ie);
589 os_free(sm->wpa_ie);
970 eapol_key_ie = kde.wpa_ie;
975 if (sm->wpa_ie == NULL ||
977 sm->wpa_ie, sm->wpa_ie_len,
982 if (sm->wpa_ie) {
984 sm->wpa_ie, s
1911 u8 *wpa_ie; local
[all...]
H A Dwpa_auth_i.h96 u8 *wpa_ie; member in struct:wpa_state_machine
180 u8 *wpa_ie; member in struct:wpa_authenticator
/external/wpa_supplicant_8/src/ap/
H A Dwpa_auth_ie.c329 os_free(wpa_auth->wpa_ie);
330 wpa_auth->wpa_ie = os_malloc(pos - buf);
331 if (wpa_auth->wpa_ie == NULL)
333 os_memcpy(wpa_auth->wpa_ie, buf, pos - buf);
378 const u8 *wpa_ie, size_t wpa_ie_len,
390 if (wpa_ie == NULL || wpa_ie_len < 1)
393 if (wpa_ie[0] == WLAN_EID_RSN)
405 res = wpa_parse_wpa_ie_rsn(wpa_ie, wpa_ie_len, &data);
446 res = wpa_parse_wpa_ie_wpa(wpa_ie, wpa_ie_len, &data);
470 wpa_hexdump(MSG_DEBUG, "WPA/RSN IE", wpa_ie, wpa_ie_le
376 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_ie.h13 const u8 *wpa_ie; member in struct:wpa_eapol_ie_parse
H A Dwpa_auth.c392 os_free(wpa_auth->wpa_ie);
401 os_free(wpa_auth->wpa_ie);
410 os_free(wpa_auth->wpa_ie);
467 os_free(wpa_auth->wpa_ie);
589 os_free(sm->wpa_ie);
970 eapol_key_ie = kde.wpa_ie;
975 if (sm->wpa_ie == NULL ||
977 sm->wpa_ie, sm->wpa_ie_len,
982 if (sm->wpa_ie) {
984 sm->wpa_ie, s
1911 u8 *wpa_ie; local
[all...]
H A Dwpa_auth_i.h96 u8 *wpa_ie; member in struct:wpa_state_machine
180 u8 *wpa_ie; member in struct:wpa_authenticator
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Dwpa_auth_ie.c329 os_free(wpa_auth->wpa_ie);
330 wpa_auth->wpa_ie = os_malloc(pos - buf);
331 if (wpa_auth->wpa_ie == NULL)
333 os_memcpy(wpa_auth->wpa_ie, buf, pos - buf);
378 const u8 *wpa_ie, size_t wpa_ie_len,
390 if (wpa_ie == NULL || wpa_ie_len < 1)
393 if (wpa_ie[0] == WLAN_EID_RSN)
405 res = wpa_parse_wpa_ie_rsn(wpa_ie, wpa_ie_len, &data);
446 res = wpa_parse_wpa_ie_wpa(wpa_ie, wpa_ie_len, &data);
470 wpa_hexdump(MSG_DEBUG, "WPA/RSN IE", wpa_ie, wpa_ie_le
376 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_ie.h13 const u8 *wpa_ie; member in struct:wpa_eapol_ie_parse
H A Dwpa_auth.c392 os_free(wpa_auth->wpa_ie);
401 os_free(wpa_auth->wpa_ie);
410 os_free(wpa_auth->wpa_ie);
467 os_free(wpa_auth->wpa_ie);
589 os_free(sm->wpa_ie);
970 eapol_key_ie = kde.wpa_ie;
975 if (sm->wpa_ie == NULL ||
977 sm->wpa_ie, sm->wpa_ie_len,
982 if (sm->wpa_ie) {
984 sm->wpa_ie, s
1911 u8 *wpa_ie; local
[all...]
H A Dwpa_auth_i.h96 u8 *wpa_ie; member in struct:wpa_state_machine
180 u8 *wpa_ie; member in struct:wpa_authenticator
/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
/external/wpa_supplicant_8/wpa_supplicant/src/common/
H A Dieee802_11_common.h24 const u8 *wpa_ie; member in struct:ieee802_11_elems

Completed in 334 milliseconds

1234