Home
last modified time | relevance | path

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

123

/external/wpa_supplicant_8/src/ap/
Dwps_hostapd.h14 int hostapd_init_wps(struct hostapd_data *hapd,
16 int hostapd_init_wps_complete(struct hostapd_data *hapd);
17 void hostapd_deinit_wps(struct hostapd_data *hapd);
18 void hostapd_update_wps(struct hostapd_data *hapd);
19 int hostapd_wps_add_pin(struct hostapd_data *hapd, const u8 *addr,
21 int hostapd_wps_button_pushed(struct hostapd_data *hapd,
23 int hostapd_wps_cancel(struct hostapd_data *hapd);
24 int hostapd_wps_start_oob(struct hostapd_data *hapd, char *device_type,
26 int hostapd_wps_get_mib_sta(struct hostapd_data *hapd, const u8 *addr,
28 void hostapd_wps_ap_pin_disable(struct hostapd_data *hapd);
[all …]
Dieee802_11.h13 struct hostapd_data;
18 void ieee802_11_mgmt(struct hostapd_data *hapd, const u8 *buf, size_t len,
20 void ieee802_11_mgmt_cb(struct hostapd_data *hapd, const u8 *buf, size_t len,
24 int ieee802_11_get_mib(struct hostapd_data *hapd, char *buf, size_t buflen);
25 int ieee802_11_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta,
28 static inline int ieee802_11_get_mib(struct hostapd_data *hapd, char *buf, in ieee802_11_get_mib()
34 static inline int ieee802_11_get_mib_sta(struct hostapd_data *hapd, in ieee802_11_get_mib_sta()
41 u16 hostapd_own_capab_info(struct hostapd_data *hapd, struct sta_info *sta,
43 u8 * hostapd_eid_ext_capab(struct hostapd_data *hapd, u8 *eid);
44 u8 * hostapd_eid_supp_rates(struct hostapd_data *hapd, u8 *eid);
[all …]
Dap_drv_ops.h18 int hostapd_build_ap_extra_ies(struct hostapd_data *hapd,
22 void hostapd_free_ap_extra_ies(struct hostapd_data *hapd, struct wpabuf *beacon,
25 int hostapd_set_ap_wps_ie(struct hostapd_data *hapd);
26 int hostapd_set_authorized(struct hostapd_data *hapd,
28 int hostapd_set_sta_flags(struct hostapd_data *hapd, struct sta_info *sta);
29 int hostapd_set_drv_ieee8021x(struct hostapd_data *hapd, const char *ifname,
31 int hostapd_vlan_if_add(struct hostapd_data *hapd, const char *ifname);
32 int hostapd_vlan_if_remove(struct hostapd_data *hapd, const char *ifname);
33 int hostapd_set_wds_sta(struct hostapd_data *hapd, const u8 *addr, int aid,
35 int hostapd_sta_add(struct hostapd_data *hapd,
[all …]
Dsta_info.h143 struct hostapd_data;
145 int ap_for_each_sta(struct hostapd_data *hapd,
146 int (*cb)(struct hostapd_data *hapd, struct sta_info *sta,
149 struct sta_info * ap_get_sta(struct hostapd_data *hapd, const u8 *sta);
150 void ap_sta_hash_add(struct hostapd_data *hapd, struct sta_info *sta);
151 void ap_free_sta(struct hostapd_data *hapd, struct sta_info *sta);
152 void hostapd_free_stas(struct hostapd_data *hapd);
154 void ap_sta_session_timeout(struct hostapd_data *hapd, struct sta_info *sta,
156 void ap_sta_no_session_timeout(struct hostapd_data *hapd,
158 struct sta_info * ap_sta_add(struct hostapd_data *hapd, const u8 *addr);
[all …]
Dieee802_1x.h12 struct hostapd_data;
21 void ieee802_1x_receive(struct hostapd_data *hapd, const u8 *sa, const u8 *buf,
23 void ieee802_1x_new_station(struct hostapd_data *hapd, struct sta_info *sta);
26 void ieee802_1x_tx_key(struct hostapd_data *hapd, struct sta_info *sta);
27 void ieee802_1x_abort_auth(struct hostapd_data *hapd, struct sta_info *sta);
28 void ieee802_1x_set_sta_authorized(struct hostapd_data *hapd,
31 int ieee802_1x_init(struct hostapd_data *hapd);
32 void ieee802_1x_deinit(struct hostapd_data *hapd);
33 int ieee802_1x_tx_status(struct hostapd_data *hapd, struct sta_info *sta,
35 int ieee802_1x_eapol_tx_status(struct hostapd_data *hapd, struct sta_info *sta,
[all …]
Dvlan_init.h20 int vlan_init(struct hostapd_data *hapd);
21 void vlan_deinit(struct hostapd_data *hapd);
22 struct hostapd_vlan * vlan_add_dynamic(struct hostapd_data *hapd,
25 int vlan_remove_dynamic(struct hostapd_data *hapd, int vlan_id);
26 int vlan_setup_encryption_dyn(struct hostapd_data *hapd,
30 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()
Dpreauth_auth.h14 int rsn_preauth_iface_init(struct hostapd_data *hapd);
15 void rsn_preauth_iface_deinit(struct hostapd_data *hapd);
16 void rsn_preauth_finished(struct hostapd_data *hapd, struct sta_info *sta,
18 void rsn_preauth_send(struct hostapd_data *hapd, struct sta_info *sta,
20 void rsn_preauth_free_station(struct hostapd_data *hapd, struct sta_info *sta);
24 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()
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()
32 void accounting_sta_start(struct hostapd_data *hapd, struct sta_info *sta);
33 void accounting_sta_stop(struct hostapd_data *hapd, struct sta_info *sta);
34 int accounting_init(struct hostapd_data *hapd);
35 void accounting_deinit(struct hostapd_data *hapd);
Dap_mlme.h14 void mlme_authenticate_indication(struct hostapd_data *hapd,
17 void mlme_deauthenticate_indication(struct hostapd_data *hapd,
20 void mlme_associate_indication(struct hostapd_data *hapd,
23 void mlme_reassociate_indication(struct hostapd_data *hapd,
26 void mlme_disassociate_indication(struct hostapd_data *hapd,
29 void mlme_michaelmicfailure_indication(struct hostapd_data *hapd,
32 void mlme_deletekeys_request(struct hostapd_data *hapd, struct sta_info *sta);
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 …]
Dhostapd.h18 struct hostapd_data;
31 int (*ctrl_iface_init)(struct hostapd_data *hapd);
32 void (*ctrl_iface_deinit)(struct hostapd_data *hapd);
69 struct hostapd_data { struct
94 void (*new_assoc_sta_cb)(struct hostapd_data *hapd, argument
203 struct hostapd_data **bss; argument
263 struct hostapd_data *
271 void hostapd_new_assoc_sta(struct hostapd_data *hapd, struct sta_info *sta,
281 int hostapd_register_probereq_cb(struct hostapd_data *hapd,
287 void hostapd_prune_associations(struct hostapd_data *hapd, const u8 *addr);
[all …]
Dp2p_hostapd.h14 int hostapd_p2p_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta,
16 int hostapd_p2p_set_noa(struct hostapd_data *hapd, u8 count, int start,
18 void hostapd_p2p_non_p2p_sta_connected(struct hostapd_data *hapd);
19 void hostapd_p2p_non_p2p_sta_disconnected(struct hostapd_data *hapd);
24 static inline int hostapd_p2p_get_mib_sta(struct hostapd_data *hapd, in hostapd_p2p_get_mib_sta()
33 u8 * hostapd_eid_p2p_manage(struct hostapd_data *hapd, u8 *eid);
Dctrl_iface_ap.h12 int hostapd_ctrl_iface_sta_first(struct hostapd_data *hapd,
14 int hostapd_ctrl_iface_sta(struct hostapd_data *hapd, const char *txtaddr,
16 int hostapd_ctrl_iface_sta_next(struct hostapd_data *hapd, const char *txtaddr,
18 int hostapd_ctrl_iface_deauthenticate(struct hostapd_data *hapd,
20 int hostapd_ctrl_iface_disassociate(struct hostapd_data *hapd,
Dwps_hostapd.c35 static int hostapd_wps_upnp_init(struct hostapd_data *hapd,
37 static void hostapd_wps_upnp_deinit(struct hostapd_data *hapd);
48 int (*func)(struct hostapd_data *h, void *ctx);
61 struct hostapd_data *hapd = iface->bss[j]; in wps_for_each()
71 static int hostapd_wps_for_each(struct hostapd_data *hapd, in hostapd_wps_for_each()
72 int (*func)(struct hostapd_data *h, void *ctx), in hostapd_wps_for_each()
90 struct hostapd_data *hapd = ctx; in hostapd_wps_new_psk_cb()
137 struct hostapd_data *hapd = ctx; in hostapd_wps_set_ie_cb()
151 struct hostapd_data *hapd = ctx; in hostapd_wps_pin_needed_cb()
188 struct hostapd_data *current_hapd;
[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()
Dwpa_auth_glue.c83 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_logger()
107 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_disconnect()
117 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_mic_failure_report()
125 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_set_eapol()
167 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_get_eapol()
185 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_get_psk()
202 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_get_msk()
228 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_set_key()
245 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_get_seqnum()
254 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_send_eapol()
[all …]
Dgas_serv.h59 struct hostapd_data;
61 void gas_serv_tx_gas_response(struct hostapd_data *hapd, const u8 *dst,
64 gas_serv_dialog_find(struct hostapd_data *hapd, const u8 *addr,
68 int gas_serv_init(struct hostapd_data *hapd);
69 void gas_serv_deinit(struct hostapd_data *hapd);
Dsta_info.c34 static void ap_sta_remove_in_other_bss(struct hostapd_data *hapd,
42 static int ap_sta_remove(struct hostapd_data *hapd, struct sta_info *sta);
44 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()
[all …]
Daccounting.c29 static void accounting_sta_get_id(struct hostapd_data *hapd,
31 static void accounting_sta_interim(struct hostapd_data *hapd,
35 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()
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()
[all …]
Dpreauth_auth.c34 struct hostapd_data *hapd;
45 struct hostapd_data *hapd = piface->hapd; in rsn_preauth_receive()
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()
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()
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()
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 …]
/external/wpa_supplicant_6/wpa_supplicant/tests/
Dlink_test.c12 struct hostapd_data;
21 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.c12 struct hostapd_data;
21 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.h13 int hostapd_ctrl_iface_init(struct hostapd_data *hapd);
14 void hostapd_ctrl_iface_deinit(struct hostapd_data *hapd);
18 static inline int hostapd_ctrl_iface_init(struct hostapd_data *hapd) in hostapd_ctrl_iface_init()
23 static inline void hostapd_ctrl_iface_deinit(struct hostapd_data *hapd) in hostapd_ctrl_iface_deinit()

123