Home
last modified time | relevance | path

Searched defs:hapd (Results 1 – 25 of 53) sorted by relevance

123

/external/wpa_supplicant_8/src/ap/
Dap_drv_ops.h125 static inline int hostapd_drv_set_countermeasures(struct hostapd_data *hapd, in hostapd_drv_set_countermeasures()
135 struct hostapd_data *hapd, in hostapd_drv_set_sta_vlan()
144 static inline int hostapd_drv_get_inact_sec(struct hostapd_data *hapd, in hostapd_drv_get_inact_sec()
152 static inline int hostapd_drv_sta_remove(struct hostapd_data *hapd, in hostapd_drv_sta_remove()
160 static inline int hostapd_drv_hapd_send_eapol(struct hostapd_data *hapd, in hostapd_drv_hapd_send_eapol()
173 struct hostapd_data *hapd, struct hostap_sta_driver_data *data, in hostapd_drv_read_sta_data()
181 static inline int hostapd_drv_sta_clear_stats(struct hostapd_data *hapd, in hostapd_drv_sta_clear_stats()
189 static inline int hostapd_drv_set_acl(struct hostapd_data *hapd, in hostapd_drv_set_acl()
197 static inline int hostapd_drv_set_ap(struct hostapd_data *hapd, in hostapd_drv_set_ap()
205 static inline int hostapd_drv_set_radius_acl_auth(struct hostapd_data *hapd, in hostapd_drv_set_radius_acl_auth()
[all …]
Dsta_info.c47 int ap_for_each_sta(struct hostapd_data *hapd, in ap_for_each_sta()
48 int (*cb)(struct hostapd_data *hapd, struct sta_info *sta, in ap_for_each_sta()
63 struct sta_info * ap_get_sta(struct hostapd_data *hapd, const u8 *sta) in ap_get_sta()
75 struct sta_info * ap_get_sta_p2p(struct hostapd_data *hapd, const u8 *addr) in ap_get_sta_p2p()
98 static void ap_sta_list_del(struct hostapd_data *hapd, struct sta_info *sta) in ap_sta_list_del()
118 void ap_sta_hash_add(struct hostapd_data *hapd, struct sta_info *sta) in ap_sta_hash_add()
125 static void ap_sta_hash_del(struct hostapd_data *hapd, struct sta_info *sta) in ap_sta_hash_del()
147 void ap_free_sta(struct hostapd_data *hapd, struct sta_info *sta) in ap_free_sta()
288 void hostapd_free_stas(struct hostapd_data *hapd) in hostapd_free_stas()
318 struct hostapd_data *hapd = eloop_ctx; in ap_handle_timer() local
[all …]
Dwps_hostapd.h49 static inline int hostapd_init_wps(struct hostapd_data *hapd, in hostapd_init_wps()
55 static inline void hostapd_deinit_wps(struct hostapd_data *hapd) in hostapd_deinit_wps()
59 static inline int hostapd_init_wps_complete(struct hostapd_data *hapd) in hostapd_init_wps_complete()
64 static inline void hostapd_update_wps(struct hostapd_data *hapd) in hostapd_update_wps()
68 static inline void hostapd_wps_eap_completed(struct hostapd_data *hapd) in hostapd_wps_eap_completed()
72 static inline int hostapd_wps_get_mib_sta(struct hostapd_data *hapd, in hostapd_wps_get_mib_sta()
79 static inline int hostapd_wps_button_pushed(struct hostapd_data *hapd, in hostapd_wps_button_pushed()
85 static inline int hostapd_wps_cancel(struct hostapd_data *hapd) in hostapd_wps_cancel()
Dwps_hostapd.c61 struct hostapd_data *hapd = iface->bss[j]; in wps_for_each() local
78 static int hostapd_wps_for_each(struct hostapd_data *hapd, in hostapd_wps_for_each()
99 struct hostapd_data *hapd = ctx; in hostapd_wps_new_psk_cb() local
160 struct hostapd_data *hapd = ctx; in hostapd_wps_set_ie_cb() local
174 struct hostapd_data *hapd = ctx; in hostapd_wps_pin_needed_cb() local
217 static int wps_stop_registrar(struct hostapd_data *hapd, void *ctx) in wps_stop_registrar()
231 struct hostapd_data *hapd = ctx; in hostapd_wps_reg_success_cb() local
256 struct hostapd_data *hapd = ctx; in hostapd_wps_enrollee_seen_cb() local
291 void hostapd_wps_eap_completed(struct hostapd_data *hapd) in hostapd_wps_eap_completed()
305 static void hapd_new_ap_event(struct hostapd_data *hapd, const u8 *attr, in hapd_new_ap_event()
[all …]
Dap_drv_ops.c39 int hostapd_build_ap_extra_ies(struct hostapd_data *hapd, in hostapd_build_ap_extra_ies()
208 void hostapd_free_ap_extra_ies(struct hostapd_data *hapd, in hostapd_free_ap_extra_ies()
219 int hostapd_set_ap_wps_ie(struct hostapd_data *hapd) in hostapd_set_ap_wps_ie()
240 int hostapd_set_authorized(struct hostapd_data *hapd, in hostapd_set_authorized()
256 int hostapd_set_sta_flags(struct hostapd_data *hapd, struct sta_info *sta) in hostapd_set_sta_flags()
272 int hostapd_set_drv_ieee8021x(struct hostapd_data *hapd, const char *ifname, in hostapd_set_drv_ieee8021x()
295 int hostapd_vlan_if_add(struct hostapd_data *hapd, const char *ifname) in hostapd_vlan_if_add()
304 int hostapd_vlan_if_remove(struct hostapd_data *hapd, const char *ifname) in hostapd_vlan_if_remove()
310 int hostapd_set_wds_sta(struct hostapd_data *hapd, char *ifname_wds, in hostapd_set_wds_sta()
326 int hostapd_add_sta_node(struct hostapd_data *hapd, const u8 *addr, in hostapd_add_sta_node()
[all …]
Dap_mlme.c53 void mlme_authenticate_indication(struct hostapd_data *hapd, in mlme_authenticate_indication()
77 void mlme_deauthenticate_indication(struct hostapd_data *hapd, in mlme_deauthenticate_indication()
101 void mlme_associate_indication(struct hostapd_data *hapd, struct sta_info *sta) in mlme_associate_indication()
124 void mlme_reassociate_indication(struct hostapd_data *hapd, in mlme_reassociate_indication()
148 void mlme_disassociate_indication(struct hostapd_data *hapd, in mlme_disassociate_indication()
159 void mlme_michaelmicfailure_indication(struct hostapd_data *hapd, in mlme_michaelmicfailure_indication()
169 void mlme_deletekeys_request(struct hostapd_data *hapd, struct sta_info *sta) in mlme_deletekeys_request()
Dieee802_11_shared.c22 u8 * hostapd_eid_assoc_comeback_time(struct hostapd_data *hapd, in hostapd_eid_assoc_comeback_time()
49 void ieee802_11_send_sa_query_req(struct hostapd_data *hapd, in ieee802_11_send_sa_query_req()
76 static void ieee802_11_send_sa_query_resp(struct hostapd_data *hapd, in ieee802_11_send_sa_query_resp()
114 void ieee802_11_sa_query_action(struct hostapd_data *hapd, const u8 *sa, in ieee802_11_sa_query_action()
167 static void hostapd_ext_capab_byte(struct hostapd_data *hapd, u8 *pos, int idx) in hostapd_ext_capab_byte()
217 u8 * hostapd_eid_ext_capab(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_ext_capab()
267 u8 * hostapd_eid_qos_map_set(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_qos_map_set()
284 u8 * hostapd_eid_interworking(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_interworking()
324 u8 * hostapd_eid_adv_proto(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_adv_proto()
343 u8 * hostapd_eid_roaming_consortium(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_roaming_consortium()
[all …]
Daccounting.h13 static inline void accounting_sta_get_id(struct hostapd_data *hapd, in accounting_sta_get_id()
18 static inline void accounting_sta_start(struct hostapd_data *hapd, in accounting_sta_start()
23 static inline void accounting_sta_stop(struct hostapd_data *hapd, in accounting_sta_stop()
28 static inline int accounting_init(struct hostapd_data *hapd) in accounting_init()
33 static inline void accounting_deinit(struct hostapd_data *hapd) in accounting_deinit()
Daccounting.c32 static struct radius_msg * accounting_msg(struct hostapd_data *hapd, in accounting_msg()
151 static int accounting_sta_update_stats(struct hostapd_data *hapd, in accounting_sta_update_stats()
178 struct hostapd_data *hapd = eloop_ctx; in accounting_interim_update() local
201 void accounting_sta_start(struct hostapd_data *hapd, struct sta_info *sta) in accounting_sta_start()
238 static void accounting_sta_report(struct hostapd_data *hapd, in accounting_sta_report()
349 static void accounting_sta_interim(struct hostapd_data *hapd, in accounting_sta_interim()
362 void accounting_sta_stop(struct hostapd_data *hapd, struct sta_info *sta) in accounting_sta_stop()
377 void accounting_sta_get_id(struct hostapd_data *hapd, in accounting_sta_get_id()
416 static void accounting_report_state(struct hostapd_data *hapd, int on) in accounting_report_state()
449 int accounting_init(struct hostapd_data *hapd) in accounting_init()
[all …]
Dieee802_11.c44 u8 * hostapd_eid_supp_rates(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_supp_rates()
88 u8 * hostapd_eid_ext_supp_rates(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_ext_supp_rates()
134 u16 hostapd_own_capab_info(struct hostapd_data *hapd, struct sta_info *sta, in hostapd_own_capab_info()
205 static u16 auth_shared_key(struct hostapd_data *hapd, struct sta_info *sta, in auth_shared_key()
260 static void send_auth_reply(struct hostapd_data *hapd, in send_auth_reply()
304 struct hostapd_data *hapd = ctx; in handle_auth_ft_finish() local
327 static struct wpabuf * auth_process_sae_commit(struct hostapd_data *hapd, in auth_process_sae_commit()
359 static struct wpabuf * auth_build_sae_confirm(struct hostapd_data *hapd, in auth_build_sae_confirm()
374 static int use_sae_anti_clogging(struct hostapd_data *hapd) in use_sae_anti_clogging()
397 static int check_sae_token(struct hostapd_data *hapd, const u8 *addr, in check_sae_token()
[all …]
Dvlan_init.h24 static inline int vlan_init(struct hostapd_data *hapd) in vlan_init()
29 static inline void vlan_deinit(struct hostapd_data *hapd) in vlan_deinit()
33 static inline struct hostapd_vlan * vlan_add_dynamic(struct hostapd_data *hapd, in vlan_add_dynamic()
40 static inline int vlan_remove_dynamic(struct hostapd_data *hapd, int vlan_id) in vlan_remove_dynamic()
45 static inline int vlan_setup_encryption_dyn(struct hostapd_data *hapd, in vlan_setup_encryption_dyn()
Dpreauth_auth.h24 static inline int rsn_preauth_iface_init(struct hostapd_data *hapd) in rsn_preauth_iface_init()
29 static inline void rsn_preauth_iface_deinit(struct hostapd_data *hapd) in rsn_preauth_iface_deinit()
33 static inline void rsn_preauth_finished(struct hostapd_data *hapd, in rsn_preauth_finished()
39 static inline void rsn_preauth_send(struct hostapd_data *hapd, in rsn_preauth_send()
45 static inline void rsn_preauth_free_station(struct hostapd_data *hapd, in rsn_preauth_free_station()
Dhostapd.c64 static void hostapd_reload_bss(struct hostapd_data *hapd) in hostapd_reload_bss()
149 struct hostapd_data *hapd = iface->bss[0]; in hostapd_reload_config() local
198 static void hostapd_broadcast_key_clear_iface(struct hostapd_data *hapd, in hostapd_broadcast_key_clear_iface()
227 static int hostapd_broadcast_wep_clear(struct hostapd_data *hapd) in hostapd_broadcast_wep_clear()
234 static int hostapd_broadcast_wep_set(struct hostapd_data *hapd) in hostapd_broadcast_wep_set()
253 static void hostapd_free_hapd_data(struct hostapd_data *hapd) in hostapd_free_hapd_data()
330 static void hostapd_cleanup(struct hostapd_data *hapd) in hostapd_cleanup()
377 static void hostapd_clear_wep(struct hostapd_data *hapd) in hostapd_clear_wep()
386 static int hostapd_setup_encryption(char *iface, struct hostapd_data *hapd) in hostapd_setup_encryption()
422 static int hostapd_flush_old_stations(struct hostapd_data *hapd, u16 reason) in hostapd_flush_old_stations()
[all …]
Dp2p_hostapd.c23 int hostapd_p2p_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta, in hostapd_p2p_get_mib_sta()
33 int hostapd_p2p_set_noa(struct hostapd_data *hapd, u8 count, int start, in hostapd_p2p_set_noa()
68 void hostapd_p2p_non_p2p_sta_connected(struct hostapd_data *hapd) in hostapd_p2p_non_p2p_sta_connected()
79 void hostapd_p2p_non_p2p_sta_disconnected(struct hostapd_data *hapd) in hostapd_p2p_non_p2p_sta_disconnected()
94 u8 * hostapd_eid_p2p_manage(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_p2p_manage()
Dwpa_auth_glue.c108 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_logger() local
132 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_disconnect() local
142 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_mic_failure_report() local
150 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_set_eapol() local
192 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_get_eapol() local
211 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_get_psk() local
246 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_get_msk() local
272 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_set_key() local
289 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_get_seqnum() local
298 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_send_eapol() local
[all …]
Ddrv_callbacks.c37 int hostapd_notif_assoc(struct hostapd_data *hapd, const u8 *addr, in hostapd_notif_assoc()
386 void hostapd_notif_disassoc(struct hostapd_data *hapd, const u8 *addr) in hostapd_notif_disassoc()
422 void hostapd_event_sta_low_ack(struct hostapd_data *hapd, const u8 *addr) in hostapd_event_sta_low_ack()
438 void hostapd_event_ch_switch(struct hostapd_data *hapd, int freq, int ht, in hostapd_event_ch_switch()
509 void hostapd_event_connect_failed_reason(struct hostapd_data *hapd, in hostapd_event_connect_failed_reason()
525 int hostapd_probe_req_rx(struct hostapd_data *hapd, const u8 *sa, const u8 *da, in hostapd_probe_req_rx()
556 struct hostapd_data *hapd = ctx; in hostapd_notify_auth_ft_finish() local
572 static void hostapd_notif_auth(struct hostapd_data *hapd, in hostapd_notif_auth()
615 static void hostapd_action_rx(struct hostapd_data *hapd, in hostapd_action_rx()
687 static void hostapd_rx_from_unknown_sta(struct hostapd_data *hapd, in hostapd_rx_from_unknown_sta()
[all …]
Dgas_serv.c30 gas_dialog_create(struct hostapd_data *hapd, const u8 *addr, u8 dialog_token) in gas_dialog_create()
88 gas_serv_dialog_find(struct hostapd_data *hapd, const u8 *addr, in gas_serv_dialog_find()
119 static void gas_serv_free_dialogs(struct hostapd_data *hapd, in gas_serv_free_dialogs()
140 static void anqp_add_hs_capab_list(struct hostapd_data *hapd, in anqp_add_hs_capab_list()
170 static void anqp_add_capab_list(struct hostapd_data *hapd, in anqp_add_capab_list()
198 static void anqp_add_venue_name(struct hostapd_data *hapd, struct wpabuf *buf) in anqp_add_venue_name()
218 static void anqp_add_network_auth_type(struct hostapd_data *hapd, in anqp_add_network_auth_type()
230 static void anqp_add_roaming_consortium(struct hostapd_data *hapd, in anqp_add_roaming_consortium()
247 static void anqp_add_ip_addr_type_availability(struct hostapd_data *hapd, in anqp_add_ip_addr_type_availability()
296 static int hs20_add_nai_home_realm_matches(struct hostapd_data *hapd, in hs20_add_nai_home_realm_matches()
[all …]
Dieee802_1x.c42 static void ieee802_1x_send(struct hostapd_data *hapd, struct sta_info *sta, in ieee802_1x_send()
81 void ieee802_1x_set_sta_authorized(struct hostapd_data *hapd, in ieee802_1x_set_sta_authorized()
114 static void ieee802_1x_tx_key_one(struct hostapd_data *hapd, in ieee802_1x_tx_key_one()
193 void ieee802_1x_tx_key(struct hostapd_data *hapd, struct sta_info *sta) in ieee802_1x_tx_key()
249 const char *radius_mode_txt(struct hostapd_data *hapd) in radius_mode_txt()
265 int radius_sta_rate(struct hostapd_data *hapd, struct sta_info *sta) in radius_sta_rate()
279 static void ieee802_1x_learn_identity(struct hostapd_data *hapd, in ieee802_1x_learn_identity()
309 static int add_common_radius_sta_attr_rsn(struct hostapd_data *hapd, in add_common_radius_sta_attr_rsn()
370 static int add_common_radius_sta_attr(struct hostapd_data *hapd, in add_common_radius_sta_attr()
444 int add_common_radius_attr(struct hostapd_data *hapd, in add_common_radius_attr()
[all …]
Dpreauth_auth.c34 struct hostapd_data *hapd; member
45 struct hostapd_data *hapd = piface->hapd; in rsn_preauth_receive() local
97 static int rsn_preauth_iface_add(struct hostapd_data *hapd, const char *ifname) in rsn_preauth_iface_add()
133 void rsn_preauth_iface_deinit(struct hostapd_data *hapd) in rsn_preauth_iface_deinit()
149 int rsn_preauth_iface_init(struct hostapd_data *hapd) in rsn_preauth_iface_init()
187 struct hostapd_data *hapd = eloop_ctx; in rsn_preauth_finished_cb() local
195 void rsn_preauth_finished(struct hostapd_data *hapd, struct sta_info *sta, in rsn_preauth_finished()
231 void rsn_preauth_send(struct hostapd_data *hapd, struct sta_info *sta, in rsn_preauth_send()
268 void rsn_preauth_free_station(struct hostapd_data *hapd, struct sta_info *sta) in rsn_preauth_free_station()
Dtkip_countermeasures.c26 struct hostapd_data *hapd = eloop_ctx; in ieee80211_tkip_countermeasures_stop() local
34 static void ieee80211_tkip_countermeasures_start(struct hostapd_data *hapd) in ieee80211_tkip_countermeasures_start()
63 void ieee80211_tkip_countermeasures_deinit(struct hostapd_data *hapd) in ieee80211_tkip_countermeasures_deinit()
69 int michael_mic_failure(struct hostapd_data *hapd, const u8 *addr, int local) in michael_mic_failure()
Dauthsrv.c29 static int hostapd_sim_db_cb_sta(struct hostapd_data *hapd, in hostapd_sim_db_cb_sta()
40 struct hostapd_data *hapd = ctx; in hostapd_sim_db_cb() local
91 static int hostapd_setup_radius_srv(struct hostapd_data *hapd) in hostapd_setup_radius_srv()
140 int authsrv_init(struct hostapd_data *hapd) in authsrv_init()
203 void authsrv_deinit(struct hostapd_data *hapd) in authsrv_deinit()
Dieee802_11_vht.c22 u8 * hostapd_eid_vht_capabilities(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_vht_capabilities()
49 u8 * hostapd_eid_vht_operation(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_vht_operation()
84 u16 copy_sta_vht_capab(struct hostapd_data *hapd, struct sta_info *sta, in copy_sta_vht_capab()
112 u16 set_sta_vht_opmode(struct hostapd_data *hapd, struct sta_info *sta, in set_sta_vht_opmode()
126 void hostapd_get_vht_capab(struct hostapd_data *hapd, in hostapd_get_vht_capab()
Dbeacon.c35 static u8 * hostapd_eid_bss_load(struct hostapd_data *hapd, u8 *eid, size_t len) in hostapd_eid_bss_load()
51 static u8 ieee802_11_erp_info(struct hostapd_data *hapd) in ieee802_11_erp_info()
73 static u8 * hostapd_eid_ds_params(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_ds_params()
82 static u8 * hostapd_eid_erp_info(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_erp_info()
106 static u8 * hostapd_eid_pwr_constraint(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_pwr_constraint()
192 static u8 * hostapd_eid_country(struct hostapd_data *hapd, u8 *eid, in hostapd_eid_country()
254 static u8 * hostapd_eid_wpa(struct hostapd_data *hapd, u8 *eid, size_t len) in hostapd_eid_wpa()
268 static u8 * hostapd_eid_csa(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_csa()
289 static u8 * hostapd_eid_secondary_channel(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_secondary_channel()
311 static u8 * hostapd_add_csa_elems(struct hostapd_data *hapd, u8 *pos, in hostapd_add_csa_elems()
[all …]
/external/wpa_supplicant_8/wpa_supplicant/tests/
Dlink_test.c21 struct sta_info * ap_get_sta(struct hostapd_data *hapd, const u8 *sta) in ap_get_sta()
27 int ap_for_each_sta(struct hostapd_data *hapd, in ap_for_each_sta()
28 int (*cb)(struct hostapd_data *hapd, struct sta_info *sta, in ap_for_each_sta()
36 void ap_sta_session_timeout(struct hostapd_data *hapd, struct sta_info *sta, in ap_sta_session_timeout()
42 int ap_sta_bind_vlan(struct hostapd_data *hapd, struct sta_info *sta, in ap_sta_bind_vlan()
49 void rsn_preauth_finished(struct hostapd_data *hapd, struct sta_info *sta, in rsn_preauth_finished()
55 void rsn_preauth_send(struct hostapd_data *hapd, struct sta_info *sta, in rsn_preauth_send()
61 void accounting_sta_start(struct hostapd_data *hapd, struct sta_info *sta) in accounting_sta_start()
/external/wpa_supplicant_8/hostapd/
Dctrl_iface.c55 static int hostapd_ctrl_iface_attach(struct hostapd_data *hapd, in hostapd_ctrl_iface_attach()
76 static int hostapd_ctrl_iface_detach(struct hostapd_data *hapd, in hostapd_ctrl_iface_detach()
106 static int hostapd_ctrl_iface_level(struct hostapd_data *hapd, in hostapd_ctrl_iface_level()
134 static int hostapd_ctrl_iface_new_sta(struct hostapd_data *hapd, in hostapd_ctrl_iface_new_sta()
162 static int hostapd_ctrl_iface_sa_query(struct hostapd_data *hapd, in hostapd_ctrl_iface_sa_query()
183 static int hostapd_ctrl_iface_wps_pin(struct hostapd_data *hapd, char *txt) in hostapd_ctrl_iface_wps_pin()
213 struct hostapd_data *hapd, char *cmd, char *buf, size_t buflen) in hostapd_ctrl_iface_wps_check_pin()
258 static int hostapd_ctrl_iface_wps_nfc_tag_read(struct hostapd_data *hapd, in hostapd_ctrl_iface_wps_nfc_tag_read()
285 static int hostapd_ctrl_iface_wps_nfc_config_token(struct hostapd_data *hapd, in hostapd_ctrl_iface_wps_nfc_config_token()
315 static int hostapd_ctrl_iface_wps_nfc_token_gen(struct hostapd_data *hapd, in hostapd_ctrl_iface_wps_nfc_token_gen()
[all …]

123