Home
last modified time | relevance | path

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

123

/external/wpa_supplicant_8/src/ap/
Dsta_info.c44 int ap_for_each_sta(struct hostapd_data *hapd, in ap_for_each_sta()
45 int (*cb)(struct hostapd_data *hapd, struct sta_info *sta, in ap_for_each_sta()
60 struct sta_info * ap_get_sta(struct hostapd_data *hapd, const u8 *sta) in ap_get_sta()
71 static void ap_sta_list_del(struct hostapd_data *hapd, struct sta_info *sta) in ap_sta_list_del()
91 void ap_sta_hash_add(struct hostapd_data *hapd, struct sta_info *sta) in ap_sta_hash_add()
98 static void ap_sta_hash_del(struct hostapd_data *hapd, struct sta_info *sta) in ap_sta_hash_del()
120 void ap_free_sta(struct hostapd_data *hapd, struct sta_info *sta) in ap_free_sta()
245 void hostapd_free_stas(struct hostapd_data *hapd) in hostapd_free_stas()
275 struct hostapd_data *hapd = eloop_ctx; in ap_handle_timer() local
428 struct hostapd_data *hapd = eloop_ctx; in ap_handle_session_timer() local
[all …]
Dwps_hostapd.h46 static inline int hostapd_init_wps(struct hostapd_data *hapd, in hostapd_init_wps()
52 static inline void hostapd_deinit_wps(struct hostapd_data *hapd) in hostapd_deinit_wps()
56 static inline int hostapd_init_wps_complete(struct hostapd_data *hapd) in hostapd_init_wps_complete()
61 static inline void hostapd_update_wps(struct hostapd_data *hapd) in hostapd_update_wps()
65 static inline int hostapd_wps_get_mib_sta(struct hostapd_data *hapd, in hostapd_wps_get_mib_sta()
72 static inline int hostapd_wps_button_pushed(struct hostapd_data *hapd, in hostapd_wps_button_pushed()
78 static inline int hostapd_wps_cancel(struct hostapd_data *hapd) in hostapd_wps_cancel()
Dap_drv_ops.h108 static inline int hostapd_drv_set_countermeasures(struct hostapd_data *hapd, in hostapd_drv_set_countermeasures()
118 struct hostapd_data *hapd, in hostapd_drv_set_sta_vlan()
127 static inline int hostapd_drv_get_inact_sec(struct hostapd_data *hapd, in hostapd_drv_get_inact_sec()
135 static inline int hostapd_drv_sta_remove(struct hostapd_data *hapd, in hostapd_drv_sta_remove()
143 static inline int hostapd_drv_hapd_send_eapol(struct hostapd_data *hapd, in hostapd_drv_hapd_send_eapol()
156 struct hostapd_data *hapd, struct hostap_sta_driver_data *data, in hostapd_drv_read_sta_data()
164 static inline int hostapd_drv_sta_clear_stats(struct hostapd_data *hapd, in hostapd_drv_sta_clear_stats()
172 static inline int hostapd_drv_set_ap(struct hostapd_data *hapd, in hostapd_drv_set_ap()
180 static inline int hostapd_drv_set_radius_acl_auth(struct hostapd_data *hapd, in hostapd_drv_set_radius_acl_auth()
190 static inline int hostapd_drv_set_radius_acl_expire(struct hostapd_data *hapd, in hostapd_drv_set_radius_acl_expire()
[all …]
Dap_drv_ops.c40 int hostapd_build_ap_extra_ies(struct hostapd_data *hapd, in hostapd_build_ap_extra_ies()
190 void hostapd_free_ap_extra_ies(struct hostapd_data *hapd, in hostapd_free_ap_extra_ies()
201 int hostapd_set_ap_wps_ie(struct hostapd_data *hapd) in hostapd_set_ap_wps_ie()
222 int hostapd_set_authorized(struct hostapd_data *hapd, in hostapd_set_authorized()
238 int hostapd_set_sta_flags(struct hostapd_data *hapd, struct sta_info *sta) in hostapd_set_sta_flags()
254 int hostapd_set_drv_ieee8021x(struct hostapd_data *hapd, const char *ifname, in hostapd_set_drv_ieee8021x()
276 int hostapd_vlan_if_add(struct hostapd_data *hapd, const char *ifname) in hostapd_vlan_if_add()
285 int hostapd_vlan_if_remove(struct hostapd_data *hapd, const char *ifname) in hostapd_vlan_if_remove()
291 int hostapd_set_wds_sta(struct hostapd_data *hapd, const u8 *addr, int aid, in hostapd_set_wds_sta()
307 int hostapd_add_sta_node(struct hostapd_data *hapd, const u8 *addr, in hostapd_add_sta_node()
[all …]
Dwps_hostapd.c61 struct hostapd_data *hapd = iface->bss[j]; in wps_for_each() local
71 static int hostapd_wps_for_each(struct hostapd_data *hapd, in hostapd_wps_for_each()
90 struct hostapd_data *hapd = ctx; in hostapd_wps_new_psk_cb() local
137 struct hostapd_data *hapd = ctx; in hostapd_wps_set_ie_cb() local
151 struct hostapd_data *hapd = ctx; in hostapd_wps_pin_needed_cb() local
194 static int wps_stop_registrar(struct hostapd_data *hapd, void *ctx) in wps_stop_registrar()
208 struct hostapd_data *hapd = ctx; in hostapd_wps_reg_success_cb() local
233 struct hostapd_data *hapd = ctx; in hostapd_wps_enrollee_seen_cb() local
268 static void hapd_new_ap_event(struct hostapd_data *hapd, const u8 *attr, in hapd_new_ap_event()
282 static int hapd_wps_cred_cb(struct hostapd_data *hapd, void *ctx) in hapd_wps_cred_cb()
[all …]
Dap_mlme.c52 void mlme_authenticate_indication(struct hostapd_data *hapd, in mlme_authenticate_indication()
76 void mlme_deauthenticate_indication(struct hostapd_data *hapd, in mlme_deauthenticate_indication()
99 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()
Dvlan_init.h30 static inline int vlan_init(struct hostapd_data *hapd) in vlan_init()
35 static inline void vlan_deinit(struct hostapd_data *hapd) in vlan_deinit()
39 static inline struct hostapd_vlan * vlan_add_dynamic(struct hostapd_data *hapd, in vlan_add_dynamic()
46 static inline int vlan_remove_dynamic(struct hostapd_data *hapd, int vlan_id) in vlan_remove_dynamic()
51 static inline int vlan_setup_encryption_dyn(struct hostapd_data *hapd, in vlan_setup_encryption_dyn()
Daccounting.c35 static struct radius_msg * accounting_msg(struct hostapd_data *hapd, in accounting_msg()
154 static int accounting_sta_update_stats(struct hostapd_data *hapd, in accounting_sta_update_stats()
181 struct hostapd_data *hapd = eloop_ctx; in accounting_interim_update() local
204 void accounting_sta_start(struct hostapd_data *hapd, struct sta_info *sta) in accounting_sta_start()
244 static void accounting_sta_report(struct hostapd_data *hapd, in accounting_sta_report()
352 static void accounting_sta_interim(struct hostapd_data *hapd, in accounting_sta_interim()
365 void accounting_sta_stop(struct hostapd_data *hapd, struct sta_info *sta) in accounting_sta_stop()
380 static void accounting_sta_get_id(struct hostapd_data *hapd, in accounting_sta_get_id()
420 static void accounting_report_state(struct hostapd_data *hapd, int on) in accounting_report_state()
453 int accounting_init(struct hostapd_data *hapd) in accounting_init()
[all …]
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()
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 u8 * hostapd_eid_ext_capab(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_ext_capab()
205 u8 * hostapd_eid_interworking(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_interworking()
245 u8 * hostapd_eid_adv_proto(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_adv_proto()
264 u8 * hostapd_eid_roaming_consortium(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_roaming_consortium()
311 u8 * hostapd_eid_time_adv(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_time_adv()
331 u8 * hostapd_eid_time_zone(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_time_zone()
[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()
Daccounting.h13 static inline void accounting_sta_start(struct hostapd_data *hapd, in accounting_sta_start()
18 static inline void accounting_sta_stop(struct hostapd_data *hapd, in accounting_sta_stop()
23 static inline int accounting_init(struct hostapd_data *hapd) in accounting_init()
28 static inline void accounting_deinit(struct hostapd_data *hapd) in accounting_deinit()
Dieee802_11_ht.c28 u8 * hostapd_eid_ht_capabilities(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_ht_capabilities()
57 u8 * hostapd_eid_ht_operation(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_ht_operation()
158 u16 copy_sta_ht_capab(struct hostapd_data *hapd, struct sta_info *sta, in copy_sta_ht_capab()
186 static void update_sta_ht(struct hostapd_data *hapd, struct sta_info *sta) in update_sta_ht()
216 static void update_sta_no_ht(struct hostapd_data *hapd, struct sta_info *sta) in update_sta_no_ht()
231 void update_ht_state(struct hostapd_data *hapd, struct sta_info *sta) in update_ht_state()
243 void hostapd_get_ht_capab(struct hostapd_data *hapd, in hostapd_get_ht_capab()
Dhostapd.c62 static void hostapd_reload_bss(struct hostapd_data *hapd) in hostapd_reload_bss()
113 struct hostapd_data *hapd = iface->bss[0]; in hostapd_reload_config() local
157 static void hostapd_broadcast_key_clear_iface(struct hostapd_data *hapd, in hostapd_broadcast_key_clear_iface()
186 static int hostapd_broadcast_wep_clear(struct hostapd_data *hapd) in hostapd_broadcast_wep_clear()
193 static int hostapd_broadcast_wep_set(struct hostapd_data *hapd) in hostapd_broadcast_wep_set()
236 static void hostapd_free_hapd_data(struct hostapd_data *hapd) in hostapd_free_hapd_data()
289 static void hostapd_cleanup(struct hostapd_data *hapd) in hostapd_cleanup()
341 static void hostapd_clear_wep(struct hostapd_data *hapd) in hostapd_clear_wep()
350 static int hostapd_setup_encryption(char *iface, struct hostapd_data *hapd) in hostapd_setup_encryption()
386 static int hostapd_flush_old_stations(struct hostapd_data *hapd, u16 reason) in hostapd_flush_old_stations()
[all …]
Dwpa_auth_glue.c83 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_logger() local
107 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_disconnect() local
117 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_mic_failure_report() local
125 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_set_eapol() local
167 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_get_eapol() local
185 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_get_psk() local
202 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_get_msk() local
228 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_set_key() local
245 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_get_seqnum() local
254 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_send_eapol() local
[all …]
Dieee802_1x.c39 static void ieee802_1x_send(struct hostapd_data *hapd, struct sta_info *sta, in ieee802_1x_send()
77 void ieee802_1x_set_sta_authorized(struct hostapd_data *hapd, in ieee802_1x_set_sta_authorized()
107 static void ieee802_1x_tx_key_one(struct hostapd_data *hapd, in ieee802_1x_tx_key_one()
188 ieee802_1x_group_alloc(struct hostapd_data *hapd, const char *ifname) in ieee802_1x_group_alloc()
234 ieee802_1x_get_group(struct hostapd_data *hapd, struct hostapd_ssid *ssid, in ieee802_1x_get_group()
286 void ieee802_1x_tx_key(struct hostapd_data *hapd, struct sta_info *sta) in ieee802_1x_tx_key()
352 const char *radius_mode_txt(struct hostapd_data *hapd) in radius_mode_txt()
366 int radius_sta_rate(struct hostapd_data *hapd, struct sta_info *sta) in radius_sta_rate()
380 static void ieee802_1x_learn_identity(struct hostapd_data *hapd, in ieee802_1x_learn_identity()
412 static int add_common_radius_sta_attr(struct hostapd_data *hapd, in add_common_radius_sta_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()
Dieee802_11.c40 u8 * hostapd_eid_supp_rates(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_supp_rates()
77 u8 * hostapd_eid_ext_supp_rates(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_ext_supp_rates()
114 u16 hostapd_own_capab_info(struct hostapd_data *hapd, struct sta_info *sta, in hostapd_own_capab_info()
175 static u16 auth_shared_key(struct hostapd_data *hapd, struct sta_info *sta, in auth_shared_key()
234 static void send_auth_reply(struct hostapd_data *hapd, in send_auth_reply()
278 struct hostapd_data *hapd = ctx; in handle_auth_ft_finish() local
299 static void handle_auth(struct hostapd_data *hapd, in handle_auth()
500 static int hostapd_get_aid(struct hostapd_data *hapd, struct sta_info *sta) in hostapd_get_aid()
533 static u16 check_ssid(struct hostapd_data *hapd, struct sta_info *sta, in check_ssid()
554 static u16 check_wmm(struct hostapd_data *hapd, struct sta_info *sta, in check_wmm()
[all …]
Dgas_serv.c23 gas_dialog_create(struct hostapd_data *hapd, const u8 *addr, u8 dialog_token) in gas_dialog_create()
80 gas_serv_dialog_find(struct hostapd_data *hapd, const u8 *addr, in gas_serv_dialog_find()
111 static void gas_serv_free_dialogs(struct hostapd_data *hapd, in gas_serv_free_dialogs()
132 static void anqp_add_hs_capab_list(struct hostapd_data *hapd, in anqp_add_hs_capab_list()
158 static void anqp_add_capab_list(struct hostapd_data *hapd, in anqp_add_capab_list()
186 static void anqp_add_venue_name(struct hostapd_data *hapd, struct wpabuf *buf) in anqp_add_venue_name()
206 static void anqp_add_network_auth_type(struct hostapd_data *hapd, in anqp_add_network_auth_type()
218 static void anqp_add_roaming_consortium(struct hostapd_data *hapd, in anqp_add_roaming_consortium()
235 static void anqp_add_ip_addr_type_availability(struct hostapd_data *hapd, in anqp_add_ip_addr_type_availability()
284 static int hs20_add_nai_home_realm_matches(struct hostapd_data *hapd, in hs20_add_nai_home_realm_matches()
[all …]
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 void michael_mic_failure(struct hostapd_data *hapd, const u8 *addr, int local) in michael_mic_failure()
Ddrv_callbacks.c33 int hostapd_notif_assoc(struct hostapd_data *hapd, const u8 *addr, in hostapd_notif_assoc()
308 void hostapd_notif_disassoc(struct hostapd_data *hapd, const u8 *addr) in hostapd_notif_disassoc()
344 void hostapd_event_sta_low_ack(struct hostapd_data *hapd, const u8 *addr) in hostapd_event_sta_low_ack()
360 void hostapd_event_ch_switch(struct hostapd_data *hapd, int freq, int ht, in hostapd_event_ch_switch()
387 int hostapd_probe_req_rx(struct hostapd_data *hapd, const u8 *sa, const u8 *da, in hostapd_probe_req_rx()
418 struct hostapd_data *hapd = ctx; in hostapd_notify_auth_ft_finish() local
434 static void hostapd_notif_auth(struct hostapd_data *hapd, in hostapd_notif_auth()
477 static void hostapd_action_rx(struct hostapd_data *hapd, in hostapd_action_rx()
540 static void hostapd_rx_from_unknown_sta(struct hostapd_data *hapd, in hostapd_rx_from_unknown_sta()
552 static void hostapd_mgmt_rx(struct hostapd_data *hapd, struct rx_mgmt *rx_mgmt) in hostapd_mgmt_rx()
[all …]
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
88 static int hostapd_setup_radius_srv(struct hostapd_data *hapd) in hostapd_setup_radius_srv()
130 int authsrv_init(struct hostapd_data *hapd) in authsrv_init()
191 void authsrv_deinit(struct hostapd_data *hapd) in authsrv_deinit()
/external/wpa_supplicant_6/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/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.c51 static int hostapd_ctrl_iface_attach(struct hostapd_data *hapd, in hostapd_ctrl_iface_attach()
72 static int hostapd_ctrl_iface_detach(struct hostapd_data *hapd, in hostapd_ctrl_iface_detach()
102 static int hostapd_ctrl_iface_level(struct hostapd_data *hapd, in hostapd_ctrl_iface_level()
130 static int hostapd_ctrl_iface_new_sta(struct hostapd_data *hapd, in hostapd_ctrl_iface_new_sta()
158 static int hostapd_ctrl_iface_sa_query(struct hostapd_data *hapd, in hostapd_ctrl_iface_sa_query()
179 static int hostapd_ctrl_iface_wps_pin(struct hostapd_data *hapd, char *txt) in hostapd_ctrl_iface_wps_pin()
209 struct hostapd_data *hapd, char *cmd, char *buf, size_t buflen) in hostapd_ctrl_iface_wps_check_pin()
254 static int hostapd_ctrl_iface_wps_oob(struct hostapd_data *hapd, char *txt) in hostapd_ctrl_iface_wps_oob()
278 static int hostapd_ctrl_iface_wps_nfc_tag_read(struct hostapd_data *hapd, in hostapd_ctrl_iface_wps_nfc_tag_read()
305 static int hostapd_ctrl_iface_wps_nfc_config_token(struct hostapd_data *hapd, in hostapd_ctrl_iface_wps_nfc_config_token()
[all …]

123