Home
last modified time | relevance | path

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

/hal_espressif-latest/components/wpa_supplicant/src/ap/
Dwps_hostapd.h14 int hostapd_init_wps(struct hostapd_data *hapd, struct wps_data *wps_data, struct wps_context *wps);
15 int hostapd_init_wps_complete(struct hostapd_data *hapd);
16 void hostapd_deinit_wps(struct hostapd_data *hapd);
17 void hostapd_update_wps(struct hostapd_data *hapd);
18 void hostapd_wps_eap_completed(struct hostapd_data *hapd);
19 int hostapd_wps_add_pin(struct hostapd_data *hapd, const u8 *pin);
20 int hostapd_wps_button_pushed(struct hostapd_data *hapd,
22 int hostapd_wps_cancel(struct hostapd_data *hapd);
23 int hostapd_wps_get_mib_sta(struct hostapd_data *hapd, const u8 *addr,
25 void hostapd_wps_ap_pin_disable(struct hostapd_data *hapd);
[all …]
Dsta_info.h91 struct hostapd_data;
93 int ap_for_each_sta(struct hostapd_data *hapd,
94 int (*cb)(struct hostapd_data *hapd, struct sta_info *sta,
97 struct sta_info * ap_get_sta(struct hostapd_data *hapd, const u8 *sta);
98 void ap_sta_hash_add(struct hostapd_data *hapd, struct sta_info *sta);
99 void ap_free_sta(struct hostapd_data *hapd, struct sta_info *sta);
100 void hostapd_free_stas(struct hostapd_data *hapd);
102 void ap_sta_session_timeout(struct hostapd_data *hapd, struct sta_info *sta,
104 void ap_sta_no_session_timeout(struct hostapd_data *hapd,
106 struct sta_info * ap_sta_add(struct hostapd_data *hapd, const u8 *addr);
[all …]
Dwps_hostapd.c58 struct hostapd_data *current_hapd;
64 static int wps_stop_registrar(struct hostapd_data *hapd, void *ctx) in wps_stop_registrar()
73 void hostapd_wps_eap_completed(struct hostapd_data *hapd) in hostapd_wps_eap_completed()
81 struct hostapd_data *hapd = ctx; in hostapd_wps_reg_success_cb()
100 struct hostapd_data *hapd = eloop_data; in hostapd_wps_reenable_ap_pin()
113 static void hostapd_pwd_auth_fail(struct hostapd_data *hapd, in hostapd_pwd_auth_fail()
130 static int wps_ap_pin_success(struct hostapd_data *hapd, void *ctx) in wps_ap_pin_success()
147 static void hostapd_wps_event_pbc_overlap(struct hostapd_data *hapd) in hostapd_wps_event_pbc_overlap()
156 static void hostapd_wps_event_pbc_timeout(struct hostapd_data *hapd) in hostapd_wps_event_pbc_timeout()
163 static void hostapd_wps_event_pin_timeout(struct hostapd_data *hapd) in hostapd_wps_event_pin_timeout()
[all …]
Dieee802_1x.h12 struct hostapd_data;
20 void ieee802_1x_receive(struct hostapd_data *hapd, const u8 *sa, const u8 *buf,
23 void ieee802_1x_free_station(struct hostapd_data *hapd, struct sta_info *sta);
24 int ieee802_1x_init(struct hostapd_data *hapd);
26 ieee802_1x_alloc_eapol_sm(struct hostapd_data *hapd, struct sta_info *sta);
Dsta_info.c24 void hostapd_wps_eap_completed(struct hostapd_data *hapd);
26 int ap_for_each_sta(struct hostapd_data *hapd, in ap_for_each_sta()
27 int (*cb)(struct hostapd_data *hapd, struct sta_info *sta, in ap_for_each_sta()
42 struct sta_info * ap_get_sta(struct hostapd_data *hapd, const u8 *sta) in ap_get_sta()
53 static void ap_sta_list_del(struct hostapd_data *hapd, struct sta_info *sta) in ap_sta_list_del()
73 void ap_sta_hash_add(struct hostapd_data *hapd, struct sta_info *sta) in ap_sta_hash_add()
80 static void ap_sta_hash_del(struct hostapd_data *hapd, struct sta_info *sta) in ap_sta_hash_del()
101 void ap_free_sta(struct hostapd_data *hapd, struct sta_info *sta) in ap_free_sta()
131 void hostapd_free_stas(struct hostapd_data *hapd) in hostapd_free_stas()
147 struct sta_info * ap_sta_add(struct hostapd_data *hapd, const u8 *addr) in ap_sta_add()
[all …]
Dhostapd.h19 struct hostapd_data;
32 int (*ctrl_iface_init)(struct hostapd_data *hapd);
33 void (*ctrl_iface_deinit)(struct hostapd_data *hapd);
98 struct hostapd_data { struct
166 struct hostapd_data *hostapd_get_hapd_data(void); argument
169 hostapd_get_eap_user(struct hostapd_data *hapd, const u8 *identity,
Dieee802_11.h13 int auth_sae_queued_addr(struct hostapd_data *hapd, const u8 *addr);
14 int auth_sae_queue(struct hostapd_data *hapd, u8 *buf, size_t len, u8 *bssid, u16 status, u32 auth_…
15 int handle_auth_sae(struct hostapd_data *hapd, struct sta_info *sta,
Dieee802_1x.c32 static void ieee802_1x_finished(struct hostapd_data *hapd,
36 static void ieee802_1x_send(struct hostapd_data *hapd, struct sta_info *sta, in ieee802_1x_send()
65 static void handle_eap_response(struct hostapd_data *hapd, in handle_eap_response()
92 static void handle_eap(struct hostapd_data *hapd, struct sta_info *sta, in handle_eap()
132 ieee802_1x_alloc_eapol_sm(struct hostapd_data *hapd, struct sta_info *sta) in ieee802_1x_alloc_eapol_sm()
154 void ieee802_1x_receive(struct hostapd_data *hapd, const u8 *sa, const u8 *buf, in ieee802_1x_receive()
282 void ieee802_1x_free_station(struct hostapd_data *hapd, struct sta_info *sta) in ieee802_1x_free_station()
329 struct hostapd_data *hapd = ctx; in ieee802_1x_aaa_send()
340 struct hostapd_data *hapd = ctx; in _ieee802_1x_finished()
350 struct hostapd_data *hapd = ctx; in ieee802_1x_get_eap_user()
[all …]
Dieee802_11.c34 static const char * sae_get_password(struct hostapd_data *hapd, in sae_get_password()
55 static struct wpabuf *auth_build_sae_commit(struct hostapd_data *hapd, in auth_build_sae_commit()
111 static struct wpabuf *auth_build_sae_confirm(struct hostapd_data *hapd, in auth_build_sae_confirm()
130 static int auth_sae_send_commit(struct hostapd_data *hapd, in auth_sae_send_commit()
166 static int auth_sae_send_confirm(struct hostapd_data *hapd, in auth_sae_send_confirm()
193 static int use_sae_anti_clogging(struct hostapd_data *hapd) in use_sae_anti_clogging()
225 static int sae_check_big_sync(struct hostapd_data *hapd, struct sta_info *sta) in sae_check_big_sync()
236 void sae_accept_sta(struct hostapd_data *hapd, struct sta_info *sta) in sae_accept_sta()
251 static int sae_sm_step(struct hostapd_data *hapd, struct sta_info *sta, in sae_sm_step()
390 static int sae_status_success(struct hostapd_data *hapd, u16 status_code) in sae_status_success()
[all …]
Dpmksa_cache_auth.h65 void pmksa_cache_to_eapol_data(struct hostapd_data *hapd,
Deap_user_db.c135 eap_user_sqlite_get(struct hostapd_data *hapd, const u8 *identity, in eap_user_sqlite_get()
232 hostapd_get_eap_user(struct hostapd_data *hapd, const u8 *identity, in hostapd_get_eap_user()
Dwpa_auth.c128 struct hostapd_data *hapd = (struct hostapd_data *)esp_wifi_get_hostap_private_internal(); in wpa_auth_get_psk()
/hal_espressif-latest/components/wpa_supplicant/esp_supplicant/src/
Desp_hostap.c30 struct hostapd_data *global_hapd;
36 struct hostapd_data *hostapd_get_hapd_data(void) in hostapd_get_hapd_data()
44 struct hostapd_data *hapd = NULL; in hostap_init()
51 hapd = (struct hostapd_data *)os_zalloc(sizeof(struct hostapd_data)); in hostap_init()
194 void hostapd_cleanup(struct hostapd_data *hapd) in hostapd_cleanup()
238 struct hostapd_data *hapd = (struct hostapd_data *)data; in hostap_deinit()
263 int esp_wifi_build_rsnxe(struct hostapd_data *hapd, u8 *eid, size_t len) in esp_wifi_build_rsnxe()
292 u16 esp_send_assoc_resp(struct hostapd_data *hapd, const u8 *addr, in esp_send_assoc_resp()
356 struct hostapd_data *hapd = (struct hostapd_data*)esp_wifi_get_hostap_private_internal(); in hostap_new_assoc_sta()
418 struct hostapd_data *hapd = (struct hostapd_data *) ctx; in ap_free_sta_timeout()
[all …]
Desp_wpa3.c452 struct hostapd_data *hapd = (struct hostapd_data *)esp_wifi_get_hostap_private_internal(); in wpa3_process_rx_commit()
505 struct hostapd_data *hapd = (struct hostapd_data *)esp_wifi_get_hostap_private_internal(); in wpa3_process_rx_confirm()
623 struct hostapd_data *hapd = (struct hostapd_data *)data; in wpa3_hostap_auth_init()
640 struct hostapd_data *hapd = (struct hostapd_data *)esp_wifi_get_hostap_private_internal(); in wpa3_hostap_handle_auth()
673 int esp_send_sae_auth_reply(struct hostapd_data *hapd, in esp_send_sae_auth_reply()
Desp_wpa_main.c143 struct hostapd_data *hapd = (struct hostapd_data *)esp_wifi_get_hostap_private_internal(); in wpa_ap_get_wpa_ie()
155 struct hostapd_data *hapd = (struct hostapd_data *)hapd_data; in wpa_ap_rx_eapol()
290 static int check_n_add_wps_sta(struct hostapd_data *hapd, struct sta_info *sta_info, u8 *ies, u8 ie… in check_n_add_wps_sta()
325 struct hostapd_data *hapd = hostapd_get_hapd_data(); in hostap_sta_join()
Desp_hostap.h20 u16 esp_send_assoc_resp(struct hostapd_data *data, const u8 *addr,
Desp_wpa3_i.h60 int esp_send_sae_auth_reply(struct hostapd_data *hapd,
Desp_hostpad_wps.c43 struct hostapd_data *hapd = hostapd_get_hapd_data(); in wifi_ap_wps_init()