Home
last modified time | relevance | path

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

123

/external/wpa_supplicant_8/src/ap/
Dap_drv_ops.h24 int hostapd_set_ap_wps_ie(struct hostapd_data *hapd);
25 int hostapd_set_authorized(struct hostapd_data *hapd,
27 int hostapd_set_sta_flags(struct hostapd_data *hapd, struct sta_info *sta);
28 int hostapd_set_drv_ieee8021x(struct hostapd_data *hapd, const char *ifname,
30 int hostapd_set_bss_params(struct hostapd_data *hapd, int use_protection);
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,
40 int hostapd_set_privacy(struct hostapd_data *hapd, int enabled);
[all …]
Dwps_hostapd.h20 int hostapd_init_wps(struct hostapd_data *hapd,
22 int hostapd_init_wps_complete(struct hostapd_data *hapd);
23 void hostapd_deinit_wps(struct hostapd_data *hapd);
24 void hostapd_update_wps(struct hostapd_data *hapd);
25 int hostapd_wps_add_pin(struct hostapd_data *hapd, const u8 *addr,
27 int hostapd_wps_button_pushed(struct hostapd_data *hapd,
29 int hostapd_wps_start_oob(struct hostapd_data *hapd, char *device_type,
31 int hostapd_wps_get_mib_sta(struct hostapd_data *hapd, const u8 *addr,
33 void hostapd_wps_ap_pin_disable(struct hostapd_data *hapd);
34 const char * hostapd_wps_ap_pin_random(struct hostapd_data *hapd, int timeout);
[all …]
Dieee802_11.h19 struct hostapd_data;
24 void ieee802_11_mgmt(struct hostapd_data *hapd, const u8 *buf, size_t len,
26 void ieee802_11_mgmt_cb(struct hostapd_data *hapd, const u8 *buf, size_t len,
30 int ieee802_11_get_mib(struct hostapd_data *hapd, char *buf, size_t buflen);
31 int ieee802_11_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta,
34 static inline int ieee802_11_get_mib(struct hostapd_data *hapd, char *buf, in ieee802_11_get_mib()
40 static inline int ieee802_11_get_mib_sta(struct hostapd_data *hapd, in ieee802_11_get_mib_sta()
47 u16 hostapd_own_capab_info(struct hostapd_data *hapd, struct sta_info *sta,
49 u8 * hostapd_eid_ext_capab(struct hostapd_data *hapd, u8 *eid);
50 u8 * hostapd_eid_supp_rates(struct hostapd_data *hapd, u8 *eid);
[all …]
Dsta_info.h129 struct hostapd_data;
131 int ap_for_each_sta(struct hostapd_data *hapd,
132 int (*cb)(struct hostapd_data *hapd, struct sta_info *sta,
135 struct sta_info * ap_get_sta(struct hostapd_data *hapd, const u8 *sta);
136 void ap_sta_hash_add(struct hostapd_data *hapd, struct sta_info *sta);
137 void ap_free_sta(struct hostapd_data *hapd, struct sta_info *sta);
138 void ap_free_sta(struct hostapd_data *hapd, struct sta_info *sta);
139 void hostapd_free_stas(struct hostapd_data *hapd);
141 void ap_sta_session_timeout(struct hostapd_data *hapd, struct sta_info *sta,
143 void ap_sta_no_session_timeout(struct hostapd_data *hapd,
[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()
Dieee802_1x.h18 struct hostapd_data;
57 void ieee802_1x_receive(struct hostapd_data *hapd, const u8 *sa, const u8 *buf,
59 void ieee802_1x_new_station(struct hostapd_data *hapd, struct sta_info *sta);
62 void ieee802_1x_tx_key(struct hostapd_data *hapd, struct sta_info *sta);
63 void ieee802_1x_abort_auth(struct hostapd_data *hapd, struct sta_info *sta);
64 void ieee802_1x_set_sta_authorized(struct hostapd_data *hapd,
67 int ieee802_1x_init(struct hostapd_data *hapd);
68 void ieee802_1x_deinit(struct hostapd_data *hapd);
69 int ieee802_1x_tx_status(struct hostapd_data *hapd, struct sta_info *sta,
80 int ieee802_1x_get_mib(struct hostapd_data *hapd, char *buf, size_t buflen);
[all …]
Dpreauth_auth.h20 int rsn_preauth_iface_init(struct hostapd_data *hapd);
21 void rsn_preauth_iface_deinit(struct hostapd_data *hapd);
22 void rsn_preauth_finished(struct hostapd_data *hapd, struct sta_info *sta,
24 void rsn_preauth_send(struct hostapd_data *hapd, struct sta_info *sta,
26 void rsn_preauth_free_station(struct hostapd_data *hapd, struct sta_info *sta);
30 static inline int rsn_preauth_iface_init(struct hostapd_data *hapd) in rsn_preauth_iface_init()
35 static inline void rsn_preauth_iface_deinit(struct hostapd_data *hapd) in rsn_preauth_iface_deinit()
39 static inline void rsn_preauth_finished(struct hostapd_data *hapd, in rsn_preauth_finished()
45 static inline void rsn_preauth_send(struct hostapd_data *hapd, in rsn_preauth_send()
51 static inline void rsn_preauth_free_station(struct hostapd_data *hapd, in rsn_preauth_free_station()
Daccounting.h18 void accounting_sta_interim(struct hostapd_data *hapd, struct sta_info *sta);
20 static inline void accounting_sta_start(struct hostapd_data *hapd, in accounting_sta_start()
25 static inline void accounting_sta_stop(struct hostapd_data *hapd, in accounting_sta_stop()
30 static inline int accounting_init(struct hostapd_data *hapd) in accounting_init()
35 static inline void accounting_deinit(struct hostapd_data *hapd) in accounting_deinit()
39 void accounting_sta_start(struct hostapd_data *hapd, struct sta_info *sta);
40 void accounting_sta_stop(struct hostapd_data *hapd, struct sta_info *sta);
41 int accounting_init(struct hostapd_data *hapd);
42 void accounting_deinit(struct hostapd_data *hapd);
Dap_drv_ops.c44 int hostapd_set_ap_wps_ie(struct hostapd_data *hapd) in hostapd_set_ap_wps_ie()
160 int hostapd_set_authorized(struct hostapd_data *hapd, in hostapd_set_authorized()
176 int hostapd_set_sta_flags(struct hostapd_data *hapd, struct sta_info *sta) in hostapd_set_sta_flags()
192 int hostapd_set_drv_ieee8021x(struct hostapd_data *hapd, const char *ifname, in hostapd_set_drv_ieee8021x()
214 static int hostapd_set_ap_isolate(struct hostapd_data *hapd, int value) in hostapd_set_ap_isolate()
222 int hostapd_set_bss_params(struct hostapd_data *hapd, int use_protection) in hostapd_set_bss_params()
282 int hostapd_vlan_if_add(struct hostapd_data *hapd, const char *ifname) in hostapd_vlan_if_add()
291 int hostapd_vlan_if_remove(struct hostapd_data *hapd, const char *ifname) in hostapd_vlan_if_remove()
297 int hostapd_set_wds_sta(struct hostapd_data *hapd, const u8 *addr, int aid, in hostapd_set_wds_sta()
313 int hostapd_sta_add(struct hostapd_data *hapd, in hostapd_sta_add()
[all …]
Dap_mlme.h20 void mlme_authenticate_indication(struct hostapd_data *hapd,
23 void mlme_deauthenticate_indication(struct hostapd_data *hapd,
26 void mlme_associate_indication(struct hostapd_data *hapd,
29 void mlme_reassociate_indication(struct hostapd_data *hapd,
32 void mlme_disassociate_indication(struct hostapd_data *hapd,
35 void mlme_michaelmicfailure_indication(struct hostapd_data *hapd,
38 void mlme_deletekeys_request(struct hostapd_data *hapd, struct sta_info *sta);
Dhostapd.h25 struct hostapd_data;
55 struct hostapd_data { struct
80 void (*new_assoc_sta_cb)(struct hostapd_data *hapd, argument
184 struct hostapd_data **bss; argument
230 int (*ctrl_iface_init)(struct hostapd_data *hapd);
231 void (*ctrl_iface_deinit)(struct hostapd_data *hapd);
240 struct hostapd_data *
248 void hostapd_new_assoc_sta(struct hostapd_data *hapd, struct sta_info *sta,
252 int hostapd_register_probereq_cb(struct hostapd_data *hapd,
256 void hostapd_prune_associations(struct hostapd_data *hapd, const u8 *addr);
[all …]
Dp2p_hostapd.h20 int hostapd_p2p_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta,
22 int hostapd_p2p_set_noa(struct hostapd_data *hapd, u8 count, int start,
24 void hostapd_p2p_non_p2p_sta_connected(struct hostapd_data *hapd);
25 void hostapd_p2p_non_p2p_sta_disconnected(struct hostapd_data *hapd);
30 static inline int hostapd_p2p_get_mib_sta(struct hostapd_data *hapd, in hostapd_p2p_get_mib_sta()
39 u8 * hostapd_eid_p2p_manage(struct hostapd_data *hapd, u8 *eid);
Dap_mlme.c58 void mlme_authenticate_indication(struct hostapd_data *hapd, in mlme_authenticate_indication()
82 void mlme_deauthenticate_indication(struct hostapd_data *hapd, in mlme_deauthenticate_indication()
105 void mlme_associate_indication(struct hostapd_data *hapd, struct sta_info *sta) in mlme_associate_indication()
130 void mlme_reassociate_indication(struct hostapd_data *hapd, in mlme_reassociate_indication()
154 void mlme_disassociate_indication(struct hostapd_data *hapd, in mlme_disassociate_indication()
165 void mlme_michaelmicfailure_indication(struct hostapd_data *hapd, in mlme_michaelmicfailure_indication()
175 void mlme_deletekeys_request(struct hostapd_data *hapd, struct sta_info *sta) in mlme_deletekeys_request()
Dwps_hostapd.c39 static int hostapd_wps_upnp_init(struct hostapd_data *hapd,
41 static void hostapd_wps_upnp_deinit(struct hostapd_data *hapd);
50 int (*func)(struct hostapd_data *h, void *ctx);
63 struct hostapd_data *hapd = iface->bss[j]; in wps_for_each()
73 static int hostapd_wps_for_each(struct hostapd_data *hapd, in hostapd_wps_for_each()
74 int (*func)(struct hostapd_data *h, void *ctx), in hostapd_wps_for_each()
91 struct hostapd_data *hapd = ctx; in hostapd_wps_new_psk_cb()
138 struct hostapd_data *hapd = ctx; in hostapd_wps_set_ie_cb()
151 struct hostapd_data *hapd = ctx; in hostapd_wps_pin_needed_cb()
190 struct hostapd_data *hapd = ctx; in hostapd_wps_reg_success_cb()
[all …]
Dhw_features.h25 int hostapd_hw_get_freq(struct hostapd_data *hapd, int chan);
26 int hostapd_hw_get_channel(struct hostapd_data *hapd, int freq);
28 int hostapd_prepare_rates(struct hostapd_data *hapd,
52 static inline int hostapd_hw_get_freq(struct hostapd_data *hapd, int chan) in hostapd_hw_get_freq()
62 static inline int hostapd_prepare_rates(struct hostapd_data *hapd, in hostapd_prepare_rates()
Dsta_info.c38 static void ap_sta_remove_in_other_bss(struct hostapd_data *hapd,
45 int ap_for_each_sta(struct hostapd_data *hapd, in ap_for_each_sta()
46 int (*cb)(struct hostapd_data *hapd, struct sta_info *sta, in ap_for_each_sta()
61 struct sta_info * ap_get_sta(struct hostapd_data *hapd, const u8 *sta) in ap_get_sta()
72 static void ap_sta_list_del(struct hostapd_data *hapd, struct sta_info *sta) in ap_sta_list_del()
92 void ap_sta_hash_add(struct hostapd_data *hapd, struct sta_info *sta) in ap_sta_hash_add()
99 static void ap_sta_hash_del(struct hostapd_data *hapd, struct sta_info *sta) in ap_sta_hash_del()
121 void ap_free_sta(struct hostapd_data *hapd, struct sta_info *sta) in ap_free_sta()
230 void hostapd_free_stas(struct hostapd_data *hapd) in hostapd_free_stas()
260 struct hostapd_data *hapd = eloop_ctx; in ap_handle_timer()
[all …]
Dwpa_auth_glue.c84 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_logger()
108 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_disconnect()
118 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_mic_failure_report()
126 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_set_eapol()
168 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_get_eapol()
186 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_get_psk()
194 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_get_msk()
220 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_set_key()
237 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_get_seqnum()
246 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_send_eapol()
[all …]
Dpreauth_auth.c40 struct hostapd_data *hapd;
51 struct hostapd_data *hapd = piface->hapd; in rsn_preauth_receive()
103 static int rsn_preauth_iface_add(struct hostapd_data *hapd, const char *ifname) in rsn_preauth_iface_add()
139 void rsn_preauth_iface_deinit(struct hostapd_data *hapd) in rsn_preauth_iface_deinit()
155 int rsn_preauth_iface_init(struct hostapd_data *hapd) in rsn_preauth_iface_init()
193 struct hostapd_data *hapd = eloop_ctx; in rsn_preauth_finished_cb()
201 void rsn_preauth_finished(struct hostapd_data *hapd, struct sta_info *sta, in rsn_preauth_finished()
237 void rsn_preauth_send(struct hostapd_data *hapd, struct sta_info *sta, in rsn_preauth_send()
274 void rsn_preauth_free_station(struct hostapd_data *hapd, struct sta_info *sta) in rsn_preauth_free_station()
Dp2p_hostapd.c29 int hostapd_p2p_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta, in hostapd_p2p_get_mib_sta()
39 int hostapd_p2p_set_noa(struct hostapd_data *hapd, u8 count, int start, in hostapd_p2p_set_noa()
74 void hostapd_p2p_non_p2p_sta_connected(struct hostapd_data *hapd) in hostapd_p2p_non_p2p_sta_connected()
85 void hostapd_p2p_non_p2p_sta_disconnected(struct hostapd_data *hapd) in hostapd_p2p_non_p2p_sta_disconnected()
100 u8 * hostapd_eid_p2p_manage(struct hostapd_data *hapd, u8 *eid) in hostapd_eid_p2p_manage()
Daccounting.c35 static void accounting_sta_get_id(struct hostapd_data *hapd,
39 static struct radius_msg * accounting_msg(struct hostapd_data *hapd, in accounting_msg()
186 static int accounting_sta_update_stats(struct hostapd_data *hapd, in accounting_sta_update_stats()
213 struct hostapd_data *hapd = eloop_ctx; in accounting_interim_update()
236 void accounting_sta_start(struct hostapd_data *hapd, struct sta_info *sta) in accounting_sta_start()
273 static void accounting_sta_report(struct hostapd_data *hapd, in accounting_sta_report()
380 void accounting_sta_interim(struct hostapd_data *hapd, struct sta_info *sta) in accounting_sta_interim()
392 void accounting_sta_stop(struct hostapd_data *hapd, struct sta_info *sta) in accounting_sta_stop()
407 static void accounting_sta_get_id(struct hostapd_data *hapd, in accounting_sta_get_id()
447 static void accounting_report_state(struct hostapd_data *hapd, int on) in accounting_report_state()
[all …]
Dhostapd.c41 static int hostapd_flush_old_stations(struct hostapd_data *hapd);
42 static int hostapd_setup_encryption(char *iface, struct hostapd_data *hapd);
43 static int hostapd_broadcast_wep_clear(struct hostapd_data *hapd);
48 static void hostapd_reload_bss(struct hostapd_data *hapd) in hostapd_reload_bss()
97 struct hostapd_data *hapd = iface->bss[0]; in hostapd_reload_config()
139 static void hostapd_broadcast_key_clear_iface(struct hostapd_data *hapd, in hostapd_broadcast_key_clear_iface()
168 static int hostapd_broadcast_wep_clear(struct hostapd_data *hapd) in hostapd_broadcast_wep_clear()
175 static int hostapd_broadcast_wep_set(struct hostapd_data *hapd) in hostapd_broadcast_wep_set()
227 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.h18 int hostapd_setup_wpa(struct hostapd_data *hapd);
19 void hostapd_reconfig_wpa(struct hostapd_data *hapd);
20 void hostapd_deinit_wpa(struct hostapd_data *hapd);
/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.h19 int hostapd_ctrl_iface_init(struct hostapd_data *hapd);
20 void hostapd_ctrl_iface_deinit(struct hostapd_data *hapd);
22 static inline int hostapd_ctrl_iface_init(struct hostapd_data *hapd) in hostapd_ctrl_iface_init()
27 static inline void hostapd_ctrl_iface_deinit(struct hostapd_data *hapd) in hostapd_ctrl_iface_deinit()

123