Home
last modified time | relevance | path

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

123

/external/wpa_supplicant_8/src/ap/
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 …]
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 …]
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_start_oob(struct hostapd_data *hapd, char *device_type,
25 int hostapd_wps_get_mib_sta(struct hostapd_data *hapd, const u8 *addr,
27 void hostapd_wps_ap_pin_disable(struct hostapd_data *hapd);
28 const char * hostapd_wps_ap_pin_random(struct hostapd_data *hapd, int timeout);
[all …]
Dsta_info.h131 struct hostapd_data;
133 int ap_for_each_sta(struct hostapd_data *hapd,
134 int (*cb)(struct hostapd_data *hapd, struct sta_info *sta,
137 struct sta_info * ap_get_sta(struct hostapd_data *hapd, const u8 *sta);
138 void ap_sta_hash_add(struct hostapd_data *hapd, struct sta_info *sta);
139 void ap_free_sta(struct hostapd_data *hapd, struct sta_info *sta);
140 void ap_free_sta(struct hostapd_data *hapd, struct sta_info *sta);
141 void hostapd_free_stas(struct hostapd_data *hapd);
143 void ap_sta_session_timeout(struct hostapd_data *hapd, struct sta_info *sta,
145 void ap_sta_no_session_timeout(struct hostapd_data *hapd,
[all …]
Dieee802_1x.h12 struct hostapd_data;
51 void ieee802_1x_receive(struct hostapd_data *hapd, const u8 *sa, const u8 *buf,
53 void ieee802_1x_new_station(struct hostapd_data *hapd, struct sta_info *sta);
56 void ieee802_1x_tx_key(struct hostapd_data *hapd, struct sta_info *sta);
57 void ieee802_1x_abort_auth(struct hostapd_data *hapd, struct sta_info *sta);
58 void ieee802_1x_set_sta_authorized(struct hostapd_data *hapd,
61 int ieee802_1x_init(struct hostapd_data *hapd);
62 void ieee802_1x_deinit(struct hostapd_data *hapd);
63 int ieee802_1x_tx_status(struct hostapd_data *hapd, struct sta_info *sta,
65 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.h12 void accounting_sta_interim(struct hostapd_data *hapd, struct sta_info *sta);
14 static inline void accounting_sta_start(struct hostapd_data *hapd, in accounting_sta_start()
19 static inline void accounting_sta_stop(struct hostapd_data *hapd, in accounting_sta_stop()
24 static inline int accounting_init(struct hostapd_data *hapd) in accounting_init()
29 static inline void accounting_deinit(struct hostapd_data *hapd) in accounting_deinit()
33 void accounting_sta_start(struct hostapd_data *hapd, struct sta_info *sta);
34 void accounting_sta_stop(struct hostapd_data *hapd, struct sta_info *sta);
35 int accounting_init(struct hostapd_data *hapd);
36 void accounting_deinit(struct hostapd_data *hapd);
Dap_drv_ops.c38 int hostapd_build_ap_extra_ies(struct hostapd_data *hapd, in hostapd_build_ap_extra_ies()
164 void hostapd_free_ap_extra_ies(struct hostapd_data *hapd, in hostapd_free_ap_extra_ies()
175 int hostapd_set_ap_wps_ie(struct hostapd_data *hapd) in hostapd_set_ap_wps_ie()
196 int hostapd_set_authorized(struct hostapd_data *hapd, in hostapd_set_authorized()
212 int hostapd_set_sta_flags(struct hostapd_data *hapd, struct sta_info *sta) in hostapd_set_sta_flags()
228 int hostapd_set_drv_ieee8021x(struct hostapd_data *hapd, const char *ifname, in hostapd_set_drv_ieee8021x()
250 int hostapd_vlan_if_add(struct hostapd_data *hapd, const char *ifname) in hostapd_vlan_if_add()
259 int hostapd_vlan_if_remove(struct hostapd_data *hapd, const char *ifname) in hostapd_vlan_if_remove()
265 int hostapd_set_wds_sta(struct hostapd_data *hapd, const u8 *addr, int aid, in hostapd_set_wds_sta()
281 int hostapd_add_sta_node(struct hostapd_data *hapd, const u8 *addr, in hostapd_add_sta_node()
[all …]
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);
Dhostapd.h19 struct hostapd_data;
50 struct hostapd_data { struct
75 void (*new_assoc_sta_cb)(struct hostapd_data *hapd, argument
182 struct hostapd_data **bss; argument
236 int (*ctrl_iface_init)(struct hostapd_data *hapd);
237 void (*ctrl_iface_deinit)(struct hostapd_data *hapd);
246 struct hostapd_data *
254 void hostapd_new_assoc_sta(struct hostapd_data *hapd, struct sta_info *sta,
258 int hostapd_register_probereq_cb(struct hostapd_data *hapd,
263 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);
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()
Dwps_hostapd.c33 static int hostapd_wps_upnp_init(struct hostapd_data *hapd,
35 static void hostapd_wps_upnp_deinit(struct hostapd_data *hapd);
45 int (*func)(struct hostapd_data *h, void *ctx);
58 struct hostapd_data *hapd = iface->bss[j]; in wps_for_each()
68 static int hostapd_wps_for_each(struct hostapd_data *hapd, in hostapd_wps_for_each()
69 int (*func)(struct hostapd_data *h, void *ctx), in hostapd_wps_for_each()
86 struct hostapd_data *hapd = ctx; in hostapd_wps_new_psk_cb()
133 struct hostapd_data *hapd = ctx; in hostapd_wps_set_ie_cb()
147 struct hostapd_data *hapd = ctx; in hostapd_wps_pin_needed_cb()
184 struct hostapd_data *current_hapd;
[all …]
Dsta_info.c33 static void ap_sta_remove_in_other_bss(struct hostapd_data *hapd,
41 static int ap_sta_remove(struct hostapd_data *hapd, struct sta_info *sta);
43 int ap_for_each_sta(struct hostapd_data *hapd, in ap_for_each_sta()
44 int (*cb)(struct hostapd_data *hapd, struct sta_info *sta, in ap_for_each_sta()
59 struct sta_info * ap_get_sta(struct hostapd_data *hapd, const u8 *sta) in ap_get_sta()
70 static void ap_sta_list_del(struct hostapd_data *hapd, struct sta_info *sta) in ap_sta_list_del()
90 void ap_sta_hash_add(struct hostapd_data *hapd, struct sta_info *sta) in ap_sta_hash_add()
97 static void ap_sta_hash_del(struct hostapd_data *hapd, struct sta_info *sta) in ap_sta_hash_del()
119 void ap_free_sta(struct hostapd_data *hapd, struct sta_info *sta) in ap_free_sta()
231 void hostapd_free_stas(struct hostapd_data *hapd) in hostapd_free_stas()
[all …]
Dwpa_auth_glue.c80 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_logger()
104 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_disconnect()
114 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_mic_failure_report()
122 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_set_eapol()
164 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_get_eapol()
182 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_get_psk()
193 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_get_msk()
219 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_set_key()
236 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_get_seqnum()
245 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_send_eapol()
[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()
Daccounting.c29 static void accounting_sta_get_id(struct hostapd_data *hapd,
33 static struct radius_msg * accounting_msg(struct hostapd_data *hapd, in accounting_msg()
180 static int accounting_sta_update_stats(struct hostapd_data *hapd, in accounting_sta_update_stats()
207 struct hostapd_data *hapd = eloop_ctx; in accounting_interim_update()
230 void accounting_sta_start(struct hostapd_data *hapd, struct sta_info *sta) in accounting_sta_start()
269 static void accounting_sta_report(struct hostapd_data *hapd, in accounting_sta_report()
376 void accounting_sta_interim(struct hostapd_data *hapd, struct sta_info *sta) in accounting_sta_interim()
388 void accounting_sta_stop(struct hostapd_data *hapd, struct sta_info *sta) in accounting_sta_stop()
403 static void accounting_sta_get_id(struct hostapd_data *hapd, in accounting_sta_get_id()
443 static void accounting_report_state(struct hostapd_data *hapd, int on) in accounting_report_state()
[all …]
Dhostapd.c35 static int hostapd_flush_old_stations(struct hostapd_data *hapd);
36 static int hostapd_setup_encryption(char *iface, struct hostapd_data *hapd);
37 static int hostapd_broadcast_wep_clear(struct hostapd_data *hapd);
42 static void hostapd_reload_bss(struct hostapd_data *hapd) in hostapd_reload_bss()
93 struct hostapd_data *hapd = iface->bss[0]; in hostapd_reload_config()
135 static void hostapd_broadcast_key_clear_iface(struct hostapd_data *hapd, in hostapd_broadcast_key_clear_iface()
164 static int hostapd_broadcast_wep_clear(struct hostapd_data *hapd) in hostapd_broadcast_wep_clear()
171 static int hostapd_broadcast_wep_set(struct hostapd_data *hapd) in hostapd_broadcast_wep_set()
223 static void hostapd_cleanup(struct hostapd_data *hapd) in hostapd_cleanup()
300 static int hostapd_setup_encryption(char *iface, struct hostapd_data *hapd) in hostapd_setup_encryption()
[all …]
Dwpa_auth_glue.h12 int hostapd_setup_wpa(struct hostapd_data *hapd);
13 void hostapd_reconfig_wpa(struct hostapd_data *hapd);
14 void hostapd_deinit_wpa(struct hostapd_data *hapd);
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 …]
/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);
16 static inline int hostapd_ctrl_iface_init(struct hostapd_data *hapd) in hostapd_ctrl_iface_init()
21 static inline void hostapd_ctrl_iface_deinit(struct hostapd_data *hapd) in hostapd_ctrl_iface_deinit()

123