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

1234

/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);
33 if (wpa_ie_len >= 6 && wpa_ie[0] == WLAN_EID_VENDOR_SPECIFIC &&
34 wpa_ie[1] >= 4 && WPA_GET_BE32(&wpa_ie[2]) == OSEN_IE_VENDOR_TYPE)
35 return wpa_parse_wpa_ie_rsn(wpa_ie, wpa_ie_len, data);
37 return wpa_parse_wpa_ie_wpa(wpa_ie, wpa_ie_le
41 wpa_gen_wpa_ie_wpa(u8 *wpa_ie, size_t wpa_ie_len, int pairwise_cipher, int group_cipher, int key_mgmt) argument
234 wpa_gen_wpa_ie_osen(u8 *wpa_ie, size_t wpa_ie_len, int pairwise_cipher, int group_cipher, int key_mgmt) argument
298 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
70 int wpa_gen_wpa_ie(struct wpa_sm *sm, u8 *wpa_ie, size_t wpa_ie_len);
H A DMakefile25 wpa_ie.o
H A Dwpa.h127 int wpa_sm_set_assoc_wpa_ie_default(struct wpa_sm *sm, u8 *wpa_ie,
142 int wpa_parse_wpa_ie(const u8 *wpa_ie, size_t wpa_ie_len,
226 u8 *wpa_ie,
272 static inline int wpa_parse_wpa_ie(const u8 *wpa_ie, size_t wpa_ie_len, argument
225 wpa_sm_set_assoc_wpa_ie_default(struct wpa_sm *sm, u8 *wpa_ie, size_t *wpa_ie_len) argument
H A Dwpa.c23 #include "wpa_ie.h"
331 * @wpa_ie: WPA/RSN IE
339 const u8 *wpa_ie, size_t wpa_ie_len,
348 if (wpa_ie == NULL) {
349 wpa_msg(sm->ctx->msg_ctx, MSG_WARNING, "WPA: No wpa_ie set - "
366 os_memcpy(rsn_ie_buf, wpa_ie, wpa_ie_len);
380 wpa_ie = rsn_ie_buf;
384 wpa_hexdump(MSG_DEBUG, "WPA: WPA IE for msg 2/4", wpa_ie, wpa_ie_len);
414 os_memcpy(reply192 + 1, wpa_ie, wpa_ie_len);
417 os_memcpy(reply + 1, wpa_ie, wpa_ie_le
336 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
956 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
2754 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.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);
33 if (wpa_ie_len >= 6 && wpa_ie[0] == WLAN_EID_VENDOR_SPECIFIC &&
34 wpa_ie[1] >= 4 && WPA_GET_BE32(&wpa_ie[2]) == OSEN_IE_VENDOR_TYPE)
35 return wpa_parse_wpa_ie_rsn(wpa_ie, wpa_ie_len, data);
37 return wpa_parse_wpa_ie_wpa(wpa_ie, wpa_ie_le
41 wpa_gen_wpa_ie_wpa(u8 *wpa_ie, size_t wpa_ie_len, int pairwise_cipher, int group_cipher, int key_mgmt) argument
234 wpa_gen_wpa_ie_osen(u8 *wpa_ie, size_t wpa_ie_len, int pairwise_cipher, int group_cipher, int key_mgmt) argument
298 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
70 int wpa_gen_wpa_ie(struct wpa_sm *sm, u8 *wpa_ie, size_t wpa_ie_len);
H A DMakefile25 wpa_ie.o
H A Dwpa.h127 int wpa_sm_set_assoc_wpa_ie_default(struct wpa_sm *sm, u8 *wpa_ie,
142 int wpa_parse_wpa_ie(const u8 *wpa_ie, size_t wpa_ie_len,
226 u8 *wpa_ie,
272 static inline int wpa_parse_wpa_ie(const u8 *wpa_ie, size_t wpa_ie_len, argument
225 wpa_sm_set_assoc_wpa_ie_default(struct wpa_sm *sm, u8 *wpa_ie, size_t *wpa_ie_len) argument
H A Dwpa.c23 #include "wpa_ie.h"
331 * @wpa_ie: WPA/RSN IE
339 const u8 *wpa_ie, size_t wpa_ie_len,
348 if (wpa_ie == NULL) {
349 wpa_msg(sm->ctx->msg_ctx, MSG_WARNING, "WPA: No wpa_ie set - "
366 os_memcpy(rsn_ie_buf, wpa_ie, wpa_ie_len);
380 wpa_ie = rsn_ie_buf;
384 wpa_hexdump(MSG_DEBUG, "WPA: WPA IE for msg 2/4", wpa_ie, wpa_ie_len);
414 os_memcpy(reply192 + 1, wpa_ie, wpa_ie_len);
417 os_memcpy(reply + 1, wpa_ie, wpa_ie_le
336 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
956 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
2754 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/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);
33 if (wpa_ie_len >= 6 && wpa_ie[0] == WLAN_EID_VENDOR_SPECIFIC &&
34 wpa_ie[1] >= 4 && WPA_GET_BE32(&wpa_ie[2]) == OSEN_IE_VENDOR_TYPE)
35 return wpa_parse_wpa_ie_rsn(wpa_ie, wpa_ie_len, data);
37 return wpa_parse_wpa_ie_wpa(wpa_ie, wpa_ie_le
41 wpa_gen_wpa_ie_wpa(u8 *wpa_ie, size_t wpa_ie_len, int pairwise_cipher, int group_cipher, int key_mgmt) argument
234 wpa_gen_wpa_ie_osen(u8 *wpa_ie, size_t wpa_ie_len, int pairwise_cipher, int group_cipher, int key_mgmt) argument
298 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
70 int wpa_gen_wpa_ie(struct wpa_sm *sm, u8 *wpa_ie, size_t wpa_ie_len);
H A DMakefile25 wpa_ie.o
H A Dwpa.h127 int wpa_sm_set_assoc_wpa_ie_default(struct wpa_sm *sm, u8 *wpa_ie,
142 int wpa_parse_wpa_ie(const u8 *wpa_ie, size_t wpa_ie_len,
226 u8 *wpa_ie,
272 static inline int wpa_parse_wpa_ie(const u8 *wpa_ie, size_t wpa_ie_len, argument
225 wpa_sm_set_assoc_wpa_ie_default(struct wpa_sm *sm, u8 *wpa_ie, size_t *wpa_ie_len) argument
H A Dwpa.c23 #include "wpa_ie.h"
331 * @wpa_ie: WPA/RSN IE
339 const u8 *wpa_ie, size_t wpa_ie_len,
348 if (wpa_ie == NULL) {
349 wpa_msg(sm->ctx->msg_ctx, MSG_WARNING, "WPA: No wpa_ie set - "
366 os_memcpy(rsn_ie_buf, wpa_ie, wpa_ie_len);
380 wpa_ie = rsn_ie_buf;
384 wpa_hexdump(MSG_DEBUG, "WPA: WPA IE for msg 2/4", wpa_ie, wpa_ie_len);
414 os_memcpy(reply192 + 1, wpa_ie, wpa_ie_len);
417 os_memcpy(reply + 1, wpa_ie, wpa_ie_le
336 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
956 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
2754 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/hostapd/src/ap/
H A Dwpa_auth_ie.c386 os_free(wpa_auth->wpa_ie);
387 wpa_auth->wpa_ie =
389 if (wpa_auth->wpa_ie == NULL)
391 os_memcpy(wpa_auth->wpa_ie, wpa_auth->conf.own_ie_override,
427 os_free(wpa_auth->wpa_ie);
428 wpa_auth->wpa_ie = os_malloc(pos - buf);
429 if (wpa_auth->wpa_ie == NULL)
431 os_memcpy(wpa_auth->wpa_ie, buf, pos - buf);
476 const u8 *wpa_ie, size_t wpa_ie_len,
488 if (wpa_ie
474 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_i.h101 u8 *wpa_ie; member in struct:wpa_state_machine
202 u8 *wpa_ie; member in struct:wpa_authenticator
H A Dwpa_auth.c431 os_free(wpa_auth->wpa_ie);
441 os_free(wpa_auth->wpa_ie);
451 os_free(wpa_auth->wpa_ie);
526 os_free(wpa_auth->wpa_ie);
668 os_free(sm->wpa_ie);
1138 eapol_key_ie = kde.wpa_ie;
1143 if (sm->wpa_ie == NULL ||
1145 sm->wpa_ie, sm->wpa_ie_len,
1150 if (sm->wpa_ie) {
1152 sm->wpa_ie, s
2225 u8 *wpa_ie; local
[all...]
/external/wpa_supplicant_8/src/ap/
H A Dwpa_auth_ie.c386 os_free(wpa_auth->wpa_ie);
387 wpa_auth->wpa_ie =
389 if (wpa_auth->wpa_ie == NULL)
391 os_memcpy(wpa_auth->wpa_ie, wpa_auth->conf.own_ie_override,
427 os_free(wpa_auth->wpa_ie);
428 wpa_auth->wpa_ie = os_malloc(pos - buf);
429 if (wpa_auth->wpa_ie == NULL)
431 os_memcpy(wpa_auth->wpa_ie, buf, pos - buf);
476 const u8 *wpa_ie, size_t wpa_ie_len,
488 if (wpa_ie
474 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_i.h101 u8 *wpa_ie; member in struct:wpa_state_machine
202 u8 *wpa_ie; member in struct:wpa_authenticator
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Dwpa_auth_ie.c386 os_free(wpa_auth->wpa_ie);
387 wpa_auth->wpa_ie =
389 if (wpa_auth->wpa_ie == NULL)
391 os_memcpy(wpa_auth->wpa_ie, wpa_auth->conf.own_ie_override,
427 os_free(wpa_auth->wpa_ie);
428 wpa_auth->wpa_ie = os_malloc(pos - buf);
429 if (wpa_auth->wpa_ie == NULL)
431 os_memcpy(wpa_auth->wpa_ie, buf, pos - buf);
476 const u8 *wpa_ie, size_t wpa_ie_len,
488 if (wpa_ie
474 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_i.h101 u8 *wpa_ie; member in struct:wpa_state_machine
202 u8 *wpa_ie; member in struct:wpa_authenticator

Completed in 215 milliseconds

1234