/hal_espressif-latest/components/wpa_supplicant/src/rsn_supp/ |
D | wpa.h | 21 struct wpa_sm; 22 extern struct wpa_sm gWpaSm; 59 int wpa_sm_set_assoc_rsnxe(struct wpa_sm *sm, const u8 *ie, size_t len); 61 void wpa_sm_drop_sa(struct wpa_sm *sm); 65 int wpa_sm_set_ft_params(struct wpa_sm *sm, const u8 *ies, size_t ies_len); 66 int wpa_ft_prepare_auth_request(struct wpa_sm *sm, const u8 *mdie); 67 int wpa_ft_add_mdie(struct wpa_sm *sm, u8 *ies, size_t ies_len, 69 const u8 * wpa_sm_get_ft_md(struct wpa_sm *sm); 70 int wpa_ft_process_response(struct wpa_sm *sm, const u8 *ies, size_t ies_len, 73 int wpa_ft_is_completed(struct wpa_sm *sm); [all …]
|
D | pmksa_cache.h | 52 void *ctx, struct wpa_sm *sm); 62 struct rsn_pmksa_cache_entry * pmksa_cache_get_current(struct wpa_sm *sm); 63 void pmksa_cache_clear_current(struct wpa_sm *sm); 64 int pmksa_cache_set_current(struct wpa_sm *sm, const u8 *pmkid, 78 void *ctx, struct wpa_sm *sm) in pmksa_cache_init() 95 pmksa_cache_get_current(struct wpa_sm *sm) in pmksa_cache_get_current() 114 static inline void pmksa_cache_clear_current(struct wpa_sm *sm) in pmksa_cache_clear_current() 118 static inline int pmksa_cache_set_current(struct wpa_sm *sm, const u8 *pmkid, in pmksa_cache_set_current()
|
D | wpa_i.h | 12 extern struct wpa_sm gWpaSm; 28 struct wpa_sm { struct 169 int wpa_sm_update_ft_ies(struct wpa_sm *sm, const u8 *md, 172 static inline int wpa_sm_send_ft_action(struct wpa_sm *sm, u8 action, in wpa_sm_send_ft_action() 179 static inline int wpa_sm_mark_authenticated(struct wpa_sm *sm, in wpa_sm_mark_authenticated() 210 int wpa_derive_ptk_ft(struct wpa_sm *sm, const unsigned char *src_addr,
|
D | wpa.c | 54 struct wpa_sm gWpaSm; 69 void wpa_sm_set_pmk_from_pmksa(struct wpa_sm *sm); 70 static bool wpa_supplicant_gtk_in_use(struct wpa_sm *sm, struct wpa_gtk_data *gd); 72 static inline enum wpa_states wpa_sm_get_state(struct wpa_sm *sm) in wpa_sm_get_state() 77 static inline void wpa_sm_cancel_auth_timeout(struct wpa_sm *sm) in wpa_sm_cancel_auth_timeout() 202 static inline int wpa_sm_get_bssid(struct wpa_sm *sm, u8 *bssid) in wpa_sm_get_bssid() 217 static inline int wpa_sm_ether_send(struct wpa_sm *sm, const u8 *dest, u16 proto, in wpa_sm_ether_send() 235 void wpa_eapol_key_send(struct wpa_sm *sm, const u8 *kck, size_t kck_len, in wpa_eapol_key_send() 280 static void wpa_sm_key_request(struct wpa_sm *sm, int error, int pairwise) in wpa_sm_key_request() 354 struct wpa_sm *sm = ctx; in wpa_sm_pmksa_free_cb() [all …]
|
D | wpa_ie.h | 48 int wpa_gen_wpa_ie(struct wpa_sm *sm, u8 *wpa_ie, size_t wpa_ie_len); 49 int wpa_gen_rsnxe(struct wpa_sm *sm, u8 *rsnxe, size_t rsnxe_len);
|
D | wpa_ft.c | 23 int wpa_derive_ptk_ft(struct wpa_sm *sm, const unsigned char *src_addr, in wpa_derive_ptk_ft() 63 int wpa_sm_set_ft_params(struct wpa_sm *sm, const u8 *ies, size_t ies_len) in wpa_sm_set_ft_params() 153 static u8 * wpa_ft_gen_req_ies(struct wpa_sm *sm, size_t *len, in wpa_ft_gen_req_ies() 327 static int wpa_ft_install_ptk(struct wpa_sm *sm, const u8 *bssid) in wpa_ft_install_ptk() 360 int wpa_ft_prepare_auth_request(struct wpa_sm *sm, const u8 *mdie) in wpa_ft_prepare_auth_request() 383 int wpa_ft_add_mdie(struct wpa_sm *sm, u8 *buf, size_t buf_len, in wpa_ft_add_mdie() 408 const u8 * wpa_sm_get_ft_md(struct wpa_sm *sm) in wpa_sm_get_ft_md() 414 int wpa_ft_process_response(struct wpa_sm *sm, const u8 *ies, size_t ies_len, in wpa_ft_process_response() 566 int wpa_ft_is_completed(struct wpa_sm *sm) in wpa_ft_is_completed() 578 void wpa_reset_ft_completed(struct wpa_sm *sm) in wpa_reset_ft_completed() [all …]
|
D | pmksa_cache.c | 27 struct wpa_sm *sm; /* TODO: get rid of this reference(?) */ 385 struct rsn_pmksa_cache_entry * pmksa_cache_get_current(struct wpa_sm *sm) in pmksa_cache_get_current() 397 void pmksa_cache_clear_current(struct wpa_sm *sm) in pmksa_cache_clear_current() 414 int pmksa_cache_set_current(struct wpa_sm *sm, const u8 *pmkid, in pmksa_cache_set_current() 505 void *ctx, struct wpa_sm *sm) in pmksa_cache_init()
|
D | wpa_ie.c | 116 struct wpa_sm *sm) in wpa_gen_wpa_ie_rsn() 272 int wpa_gen_wpa_ie(struct wpa_sm *sm, u8 *wpa_ie, size_t wpa_ie_len) in wpa_gen_wpa_ie() 291 int wpa_gen_rsnxe(struct wpa_sm *sm, u8 *rsnxe, size_t rsnxe_len) in wpa_gen_rsnxe()
|
/hal_espressif-latest/components/wpa_supplicant/esp_supplicant/src/ |
D | esp_wpas_glue.h | 10 u8 *wpa_sm_alloc_eapol(struct wpa_sm *sm, u8 type, 14 int wpa_sm_mlme_setprotection(struct wpa_sm *sm, const u8 *addr, 17 void wpa_sm_deauthenticate(struct wpa_sm *sm, u8 reason_code); 19 void wpa_sm_disassociate(struct wpa_sm *sm, int reason_code); 21 int wpa_sm_get_beacon_ie(struct wpa_sm *sm); 34 void wpa_supplicant_transition_disable(struct wpa_sm *sm, u8 bitmap);
|
D | esp_wpas_glue.c | 101 void wpa_supplicant_transition_disable(struct wpa_sm *sm, u8 bitmap) in wpa_supplicant_transition_disable() 129 u8 *wpa_sm_alloc_eapol(struct wpa_sm *sm, u8 type, in wpa_sm_alloc_eapol() 141 void wpa_sm_deauthenticate(struct wpa_sm *sm, u8 reason_code) in wpa_sm_deauthenticate() 166 int wpa_sm_mlme_setprotection(struct wpa_sm *sm, const u8 *addr, in wpa_sm_mlme_setprotection() 175 int wpa_sm_get_beacon_ie(struct wpa_sm *sm) in wpa_sm_get_beacon_ie() 188 void wpa_sm_disassociate(struct wpa_sm *sm, int reason_code) in wpa_sm_disassociate()
|
D | esp_hostap.c | 367 if (sta->wpa_sm) { in hostap_new_assoc_sta() 368 wpa_auth_sta_deinit(sta->wpa_sm); in hostap_new_assoc_sta() 371 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, bssid); in hostap_new_assoc_sta() 372 wpa_printf(MSG_DEBUG, "init wpa sm=%p", sta->wpa_sm); in hostap_new_assoc_sta() 374 if (sta->wpa_sm == NULL) { in hostap_new_assoc_sta() 379 … res = wpa_validate_wpa_ie(hapd->wpa_auth, sta->wpa_sm, wpa_ie, wpa_ie_len, rsnxe, rsnxe_len); in hostap_new_assoc_sta() 382 if (wpa_auth_uses_sae(sta->wpa_sm) && sta->sae && in hostap_new_assoc_sta() 384 wpa_auth_add_sae_pmkid(sta->wpa_sm, sta->sae->pmkid); in hostap_new_assoc_sta() 405 *pmf_enable = wpa_auth_uses_mfp(sta->wpa_sm); in hostap_new_assoc_sta() 406 *pairwise_cipher = GET_BIT_POSITION(sta->wpa_sm->pairwise); in hostap_new_assoc_sta() [all …]
|
D | esp_owe.c | 14 struct wpa_sm *sm = NULL; in owe_build_dhie() 21 struct wpa_sm *sm; in owe_deinit()
|
D | esp_wpa_main.c | 170 wpa_receive(hapd->wpa_auth, sta->wpa_sm, data, data_len); in wpa_ap_rx_eapol() 179 if (!sta || !sta->wpa_sm) { in wpa_ap_get_peer_spp_msg() 183 *spp_cap = sta->wpa_sm->spp_sup.capable; in wpa_ap_get_peer_spp_msg() 184 *spp_req = sta->wpa_sm->spp_sup.require; in wpa_ap_get_peer_spp_msg() 189 struct wpa_sm *sm = &gWpaSm; in wpa_deattach()
|
D | esp_wps.c | 1917 struct wpa_sm *wpa_sm = &gWpaSm; in wifi_wps_enable_internal() local 1946 wpa_sm->wpa_sm_wps_disable = esp_wifi_wps_disable; in wifi_wps_enable_internal() 1967 struct wpa_sm *wpa_sm = &gWpaSm; in esp_wifi_wps_disable() local 2003 wpa_sm->wpa_sm_wps_disable = NULL; in esp_wifi_wps_disable()
|
D | esp_common.c | 717 struct wpa_sm *sm = &gWpaSm; in add_mdie() 748 int wpa_sm_update_ft_ies(struct wpa_sm *sm, const u8 *md, in wpa_sm_update_ft_ies()
|
D | esp_eap_client.c | 832 struct wpa_sm *sm = &gWpaSm; in esp_wifi_sta_enterprise_enable() 861 struct wpa_sm *sm = &gWpaSm; in eap_client_disable_fn()
|
/hal_espressif-latest/components/wpa_supplicant/src/ap/ |
D | ieee802_1x.c | 136 if (sta->wpa_sm) { in ieee802_1x_alloc_eapol_sm() 205 wpa_receive(hapd->wpa_auth, sta->wpa_sm, (u8 *) hdr, in ieee802_1x_receive() 256 wpa_auth_sm_event(sta->wpa_sm, WPA_REAUTH_EAPOL); in ieee802_1x_receive() 418 wpa_auth_sm_notify(sta->wpa_sm); in ieee802_1x_eapol_event() 421 wpa_auth_sm_event(sta->wpa_sm, WPA_REAUTH_EAPOL); in ieee802_1x_eapol_event()
|
D | sta_info.h | 49 struct wpa_state_machine *wpa_sm; member
|
D | sta_info.c | 117 wpa_auth_sta_deinit(sta->wpa_sm); in ap_free_sta()
|
D | wpa_auth.c | 141 if (sta && wpa_auth_uses_sae(sta->wpa_sm)) { in wpa_auth_get_psk()
|