Home
last modified time | relevance | path

Searched refs:wpa_auth (Results 1 – 18 of 18) sorted by relevance

/hal_espressif-latest/components/wpa_supplicant/src/ap/
Dwpa_auth.c48 static void wpa_group_sm_step(struct wpa_authenticator *wpa_auth,
51 static int wpa_gtk_update(struct wpa_authenticator *wpa_auth,
53 static int wpa_group_config_group_keys(struct wpa_authenticator *wpa_auth,
106 struct wpa_authenticator *wpa_auth, const u8 *addr) in wpa_auth_mic_failure_report() argument
112 static inline void wpa_auth_set_eapol(struct wpa_authenticator *wpa_auth, in wpa_auth_set_eapol() argument
119 static inline int wpa_auth_get_eapol(struct wpa_authenticator *wpa_auth, in wpa_auth_get_eapol() argument
125 static inline const u8 * wpa_auth_get_psk(struct wpa_authenticator *wpa_auth, in wpa_auth_get_psk() argument
151 static inline int wpa_auth_get_msk(struct wpa_authenticator *wpa_auth, in wpa_auth_get_msk() argument
157 static inline int wpa_auth_set_key(struct wpa_authenticator *wpa_auth, in wpa_auth_set_key() argument
194 static inline int wpa_auth_get_seqnum(struct wpa_authenticator *wpa_auth, in wpa_auth_get_seqnum() argument
[all …]
Dwpa_auth.h212 int wpa_init_keys(struct wpa_authenticator *wpa_auth);
213 void wpa_deinit(struct wpa_authenticator *wpa_auth);
214 int wpa_reconfig(struct wpa_authenticator *wpa_auth,
226 wpa_validate_wpa_ie(struct wpa_authenticator *wpa_auth,
233 wpa_auth_sta_init(struct wpa_authenticator *wpa_auth, const u8 *addr);
234 int wpa_auth_sta_associated(struct wpa_authenticator *wpa_auth,
238 void wpa_receive(struct wpa_authenticator *wpa_auth,
248 void wpa_gtk_rekey(struct wpa_authenticator *wpa_auth);
249 int wpa_get_mib(struct wpa_authenticator *wpa_auth, char *buf, size_t buflen);
251 void wpa_auth_countermeasures_start(struct wpa_authenticator *wpa_auth);
[all …]
Dwpa_auth_ie.c329 int wpa_auth_gen_wpa_ie(struct wpa_authenticator *wpa_auth) in wpa_auth_gen_wpa_ie() argument
336 if (wpa_auth->conf.wpa & WPA_PROTO_RSN) { in wpa_auth_gen_wpa_ie()
337 res = wpa_write_rsn_ie(&wpa_auth->conf, in wpa_auth_gen_wpa_ie()
342 res = wpa_write_rsnxe(&wpa_auth->conf, pos, in wpa_auth_gen_wpa_ie()
349 if (wpa_key_mgmt_ft(wpa_auth->conf.wpa_key_mgmt)) { in wpa_auth_gen_wpa_ie()
350 res = wpa_write_mdie(&wpa_auth->conf, pos, in wpa_auth_gen_wpa_ie()
357 if (wpa_auth->conf.wpa & WPA_PROTO_WPA) { in wpa_auth_gen_wpa_ie()
358 res = wpa_write_wpa_ie(&wpa_auth->conf, in wpa_auth_gen_wpa_ie()
365 os_free(wpa_auth->wpa_ie); in wpa_auth_gen_wpa_ie()
366 wpa_auth->wpa_ie = os_malloc(pos - buf); in wpa_auth_gen_wpa_ie()
[all …]
Dwpa_auth_i.h25 struct wpa_authenticator *wpa_auth; member
200 void __wpa_send_eapol(struct wpa_authenticator *wpa_auth,
205 int wpa_auth_for_each_sta(struct wpa_authenticator *wpa_auth,
208 int wpa_auth_for_each_auth(struct wpa_authenticator *wpa_auth,
Dwpa_auth_ie.h40 int wpa_auth_gen_wpa_ie(struct wpa_authenticator *wpa_auth);
Dhostapd.h111 struct wpa_authenticator *wpa_auth; member
Dwps_hostapd.c517 if (hapd->wpa_auth->conf.wpa == WPA_PROTO_WPA) { in hostapd_wps_config_ap()
520 } else if (hapd->wpa_auth->conf.wpa == WPA_PROTO_RSN) { in hostapd_wps_config_ap()
523 } else if (hapd->wpa_auth->conf.wpa == (WPA_PROTO_RSN | WPA_PROTO_WPA)) { in hostapd_wps_config_ap()
Dieee802_1x.c205 wpa_receive(hapd->wpa_auth, sta->wpa_sm, (u8 *) hdr, in ieee802_1x_receive()
Dieee802_11.c246 wpa_auth_pmksa_add_sae(hapd->wpa_auth, sta->addr, in sae_accept_sta()
/hal_espressif-latest/components/wpa_supplicant/esp_supplicant/src/
Desp_hostap.c171 hapd->wpa_auth = wpa_init(hapd->own_addr, auth_conf, NULL); in hostap_init()
172 if (hapd->wpa_auth == NULL) { in hostap_init()
176 …esp_wifi_set_appie_internal(WIFI_APPIE_WPA, hapd->wpa_auth->wpa_ie, (uint16_t)hapd->wpa_auth->wpa_… in hostap_init()
199 if(hapd->wpa_auth) { in hostapd_cleanup()
200 wpa_deinit(hapd->wpa_auth); in hostapd_cleanup()
201 hapd->wpa_auth = NULL; in hostapd_cleanup()
269 if (!(hapd->wpa_auth->conf.wpa & WPA_PROTO_RSN)) { in esp_wifi_build_rsnxe()
273 if (wpa_key_mgmt_sae(hapd->wpa_auth->conf.wpa_key_mgmt) && in esp_wifi_build_rsnxe()
366 if (hapd->wpa_auth->conf.wpa) { in hostap_new_assoc_sta()
371 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, bssid); in hostap_new_assoc_sta()
[all …]
Desp_wpa_main.c145 if (!hapd || !hapd->wpa_auth || !hapd->wpa_auth->wpa_ie) { in wpa_ap_get_wpa_ie()
149 *ie_len = hapd->wpa_auth->wpa_ie_len; in wpa_ap_get_wpa_ie()
150 return hapd->wpa_auth->wpa_ie; in wpa_ap_get_wpa_ie()
170 wpa_receive(hapd->wpa_auth, sta->wpa_sm, data, data_len); in wpa_ap_rx_eapol()
/hal_espressif-latest/components/wpa_supplicant/
DCMakeLists.txt15 "src/ap/wpa_auth.c"
/hal_espressif-latest/zephyr/esp32/
DCMakeLists.txt440 "${WPA_SUPPLICANT_COMPONENT_DIR}/src/ap/wpa_auth.c"
/hal_espressif-latest/zephyr/esp32c2/
DCMakeLists.txt398 "${WPA_SUPPLICANT_COMPONENT_DIR}/src/ap/wpa_auth.c"
/hal_espressif-latest/zephyr/esp32s2/
DCMakeLists.txt401 "${WPA_SUPPLICANT_COMPONENT_DIR}/src/ap/wpa_auth.c"
/hal_espressif-latest/zephyr/esp32c3/
DCMakeLists.txt453 "${WPA_SUPPLICANT_COMPONENT_DIR}/src/ap/wpa_auth.c"
/hal_espressif-latest/zephyr/esp32c6/
DCMakeLists.txt406 "${WPA_SUPPLICANT_COMPONENT_DIR}/src/ap/wpa_auth.c"
/hal_espressif-latest/zephyr/esp32s3/
DCMakeLists.txt470 "${WPA_SUPPLICANT_COMPONENT_DIR}/src/ap/wpa_auth.c"