Home
last modified time | relevance | path

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

1234

/external/wpa_supplicant_8/src/ap/
Dieee802_11.h13 struct hostapd_data;
20 int ieee802_11_mgmt(struct hostapd_data *hapd, const u8 *buf, size_t len,
22 void ieee802_11_mgmt_cb(struct hostapd_data *hapd, const u8 *buf, size_t len,
24 void hostapd_2040_coex_action(struct hostapd_data *hapd,
27 int ieee802_11_get_mib(struct hostapd_data *hapd, char *buf, size_t buflen);
28 int ieee802_11_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta,
31 static inline int ieee802_11_get_mib(struct hostapd_data *hapd, char *buf, in ieee802_11_get_mib()
37 static inline int ieee802_11_get_mib_sta(struct hostapd_data *hapd, in ieee802_11_get_mib_sta()
44 u16 hostapd_own_capab_info(struct hostapd_data *hapd);
46 u8 * hostapd_eid_ext_capab(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 void hostapd_wps_eap_completed(struct hostapd_data *hapd);
20 int hostapd_wps_add_pin(struct hostapd_data *hapd, const u8 *addr,
22 int hostapd_wps_button_pushed(struct hostapd_data *hapd,
24 int hostapd_wps_cancel(struct hostapd_data *hapd);
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);
[all …]
Dap_drv_ops.h20 int hostapd_build_ap_extra_ies(struct hostapd_data *hapd,
24 void hostapd_free_ap_extra_ies(struct hostapd_data *hapd, struct wpabuf *beacon,
27 int hostapd_reset_ap_wps_ie(struct hostapd_data *hapd);
28 int hostapd_set_ap_wps_ie(struct hostapd_data *hapd);
29 int hostapd_set_authorized(struct hostapd_data *hapd,
31 int hostapd_set_sta_flags(struct hostapd_data *hapd, struct sta_info *sta);
32 int hostapd_set_drv_ieee8021x(struct hostapd_data *hapd, const char *ifname,
34 int hostapd_vlan_if_add(struct hostapd_data *hapd, const char *ifname);
35 int hostapd_vlan_if_remove(struct hostapd_data *hapd, const char *ifname);
36 int hostapd_set_wds_sta(struct hostapd_data *hapd, char *ifname_wds,
[all …]
Dsta_info.h224 struct hostapd_data;
226 int ap_for_each_sta(struct hostapd_data *hapd,
227 int (*cb)(struct hostapd_data *hapd, struct sta_info *sta,
230 struct sta_info * ap_get_sta(struct hostapd_data *hapd, const u8 *sta);
231 struct sta_info * ap_get_sta_p2p(struct hostapd_data *hapd, const u8 *addr);
232 void ap_sta_hash_add(struct hostapd_data *hapd, struct sta_info *sta);
233 void ap_free_sta(struct hostapd_data *hapd, struct sta_info *sta);
234 void ap_sta_ip6addr_del(struct hostapd_data *hapd, struct sta_info *sta);
235 void hostapd_free_stas(struct hostapd_data *hapd);
237 void ap_sta_replenish_timeout(struct hostapd_data *hapd, struct sta_info *sta,
[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);
24 void ieee802_1x_free_station(struct hostapd_data *hapd, struct sta_info *sta);
26 void ieee802_1x_abort_auth(struct hostapd_data *hapd, struct sta_info *sta);
27 void ieee802_1x_set_sta_authorized(struct hostapd_data *hapd,
30 int ieee802_1x_init(struct hostapd_data *hapd);
31 void ieee802_1x_erp_flush(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,
[all …]
Daccounting.h13 static inline int accounting_sta_get_id(struct hostapd_data *hapd, in accounting_sta_get_id()
19 static inline void accounting_sta_start(struct hostapd_data *hapd, in accounting_sta_start()
24 static inline void accounting_sta_stop(struct hostapd_data *hapd, in accounting_sta_stop()
29 static inline int accounting_init(struct hostapd_data *hapd) in accounting_init()
34 static inline void accounting_deinit(struct hostapd_data *hapd) in accounting_deinit()
38 int accounting_sta_get_id(struct hostapd_data *hapd, struct sta_info *sta);
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);
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()
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,
22 int hostapd_ctrl_iface_status(struct hostapd_data *hapd, char *buf,
26 int hostapd_ctrl_iface_stop_ap(struct hostapd_data *hapd);
27 int hostapd_ctrl_iface_pmksa_list(struct hostapd_data *hapd, char *buf,
29 void hostapd_ctrl_iface_pmksa_flush(struct hostapd_data *hapd);
Dvlan_init.h14 int vlan_init(struct hostapd_data *hapd);
15 void vlan_deinit(struct hostapd_data *hapd);
16 struct hostapd_vlan * vlan_add_dynamic(struct hostapd_data *hapd,
20 int vlan_remove_dynamic(struct hostapd_data *hapd, int vlan_id);
22 static inline int vlan_init(struct hostapd_data *hapd) in vlan_init()
27 static inline void vlan_deinit(struct hostapd_data *hapd) in vlan_deinit()
32 vlan_add_dynamic(struct hostapd_data *hapd, struct hostapd_vlan *vlan, in vlan_add_dynamic()
38 static inline int vlan_remove_dynamic(struct hostapd_data *hapd, int vlan_id) in vlan_remove_dynamic()
Dhostapd.h20 struct hostapd_data;
35 int (*ctrl_iface_init)(struct hostapd_data *hapd);
36 void (*ctrl_iface_deinit)(struct hostapd_data *hapd);
106 struct hostapd_data { struct
134 void (*new_assoc_sta_cb)(struct hostapd_data *hapd, argument
261 void (*mesh_sta_free_cb)(struct hostapd_data *hapd, argument
323 struct hostapd_data **bss;
448 struct hostapd_data *
461 void hostapd_new_assoc_sta(struct hostapd_data *hapd, struct sta_info *sta,
473 int hostapd_switch_channel(struct hostapd_data *hapd,
[all …]
Dx_snoop.h16 int x_snoop_init(struct hostapd_data *hapd);
18 x_snoop_get_l2_packet(struct hostapd_data *hapd,
22 void x_snoop_mcast_to_ucast_convert_send(struct hostapd_data *hapd,
25 void x_snoop_deinit(struct hostapd_data *hapd);
29 static inline int x_snoop_init(struct hostapd_data *hapd) in x_snoop_init()
35 x_snoop_get_l2_packet(struct hostapd_data *hapd, in x_snoop_get_l2_packet()
44 x_snoop_mcast_to_ucast_convert_send(struct hostapd_data *hapd, in x_snoop_mcast_to_ucast_convert_send()
50 static inline void x_snoop_deinit(struct hostapd_data *hapd) in x_snoop_deinit()
Dap_drv_ops.c66 int hostapd_build_ap_extra_ies(struct hostapd_data *hapd, in hostapd_build_ap_extra_ies()
197 void hostapd_free_ap_extra_ies(struct hostapd_data *hapd, in hostapd_free_ap_extra_ies()
208 int hostapd_reset_ap_wps_ie(struct hostapd_data *hapd) in hostapd_reset_ap_wps_ie()
217 int hostapd_set_ap_wps_ie(struct hostapd_data *hapd) in hostapd_set_ap_wps_ie()
238 int hostapd_set_authorized(struct hostapd_data *hapd, in hostapd_set_authorized()
254 int hostapd_set_sta_flags(struct hostapd_data *hapd, struct sta_info *sta) in hostapd_set_sta_flags()
270 int hostapd_set_drv_ieee8021x(struct hostapd_data *hapd, const char *ifname, in hostapd_set_drv_ieee8021x()
299 int hostapd_vlan_if_add(struct hostapd_data *hapd, const char *ifname) in hostapd_vlan_if_add()
308 int hostapd_vlan_if_remove(struct hostapd_data *hapd, const char *ifname) in hostapd_vlan_if_remove()
314 int hostapd_set_wds_sta(struct hostapd_data *hapd, char *ifname_wds, in hostapd_set_wds_sta()
[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);
Dndisc_snoop.h14 int ndisc_snoop_init(struct hostapd_data *hapd);
15 void ndisc_snoop_deinit(struct hostapd_data *hapd);
16 void sta_ip6addr_del(struct hostapd_data *hapd, struct sta_info *sta);
20 static inline int ndisc_snoop_init(struct hostapd_data *hapd) in ndisc_snoop_init()
25 static inline void ndisc_snoop_deinit(struct hostapd_data *hapd) in ndisc_snoop_deinit()
29 static inline void sta_ip6addr_del(struct hostapd_data *hapd, in sta_ip6addr_del()
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);
Dwps_hostapd.c33 static int hostapd_wps_upnp_init(struct hostapd_data *hapd,
35 static void hostapd_wps_upnp_deinit(struct hostapd_data *hapd);
47 int (*func)(struct hostapd_data *h, void *ctx);
49 struct hostapd_data *calling_hapd;
61 struct hostapd_data *hapd = iface->bss[j]; in wps_for_each()
78 static int hostapd_wps_for_each(struct hostapd_data *hapd, in hostapd_wps_for_each()
79 int (*func)(struct hostapd_data *h, void *ctx), in hostapd_wps_for_each()
99 struct hostapd_data *hapd = ctx; in hostapd_wps_new_psk_cb()
160 struct hostapd_data *hapd = ctx; in hostapd_wps_set_ie_cb()
174 struct hostapd_data *hapd = ctx; in hostapd_wps_pin_needed_cb()
[all …]
Dhs20.h12 struct hostapd_data;
14 u8 * hostapd_eid_hs20_indication(struct hostapd_data *hapd, u8 *eid);
15 u8 * hostapd_eid_osen(struct hostapd_data *hapd, u8 *eid);
16 int hs20_send_wnm_notification(struct hostapd_data *hapd, const u8 *addr,
18 int hs20_send_wnm_notification_deauth_req(struct hostapd_data *hapd,
Dap_mlme.c53 void mlme_authenticate_indication(struct hostapd_data *hapd, in mlme_authenticate_indication()
78 void mlme_deauthenticate_indication(struct hostapd_data *hapd, in mlme_deauthenticate_indication()
102 void mlme_associate_indication(struct hostapd_data *hapd, struct sta_info *sta) in mlme_associate_indication()
126 void mlme_reassociate_indication(struct hostapd_data *hapd, in mlme_reassociate_indication()
151 void mlme_disassociate_indication(struct hostapd_data *hapd, in mlme_disassociate_indication()
162 void mlme_michaelmicfailure_indication(struct hostapd_data *hapd, in mlme_michaelmicfailure_indication()
172 void mlme_deletekeys_request(struct hostapd_data *hapd, struct sta_info *sta) in mlme_deletekeys_request()
Dsta_info.c40 static void ap_sta_remove_in_other_bss(struct hostapd_data *hapd,
49 static int ap_sta_remove(struct hostapd_data *hapd, struct sta_info *sta);
51 int ap_for_each_sta(struct hostapd_data *hapd, in ap_for_each_sta()
52 int (*cb)(struct hostapd_data *hapd, struct sta_info *sta, in ap_for_each_sta()
67 struct sta_info * ap_get_sta(struct hostapd_data *hapd, const u8 *sta) in ap_get_sta()
79 struct sta_info * ap_get_sta_p2p(struct hostapd_data *hapd, const u8 *addr) in ap_get_sta_p2p()
102 static void ap_sta_list_del(struct hostapd_data *hapd, struct sta_info *sta) in ap_sta_list_del()
122 void ap_sta_hash_add(struct hostapd_data *hapd, struct sta_info *sta) in ap_sta_hash_add()
129 static void ap_sta_hash_del(struct hostapd_data *hapd, struct sta_info *sta) in ap_sta_hash_del()
151 void ap_sta_ip6addr_del(struct hostapd_data *hapd, struct sta_info *sta) in ap_sta_ip6addr_del()
[all …]
Dvlan_util.h12 struct hostapd_data;
23 int vlan_if_remove(struct hostapd_data *hapd, struct hostapd_vlan *vlan);
26 full_dynamic_vlan_init(struct hostapd_data *hapd);
28 void vlan_newlink(const char *ifname, struct hostapd_data *hapd);
29 void vlan_dellink(const char *ifname, struct hostapd_data *hapd);
Dieee802_11_auth.h19 int hostapd_check_acl(struct hostapd_data *hapd, const u8 *addr,
21 int hostapd_allowed_address(struct hostapd_data *hapd, const u8 *addr,
27 int hostapd_acl_init(struct hostapd_data *hapd);
28 void hostapd_acl_deinit(struct hostapd_data *hapd);
30 void hostapd_acl_expire(struct hostapd_data *hapd);
Dmbo_ap.h12 struct hostapd_data;
18 void mbo_ap_check_sta_assoc(struct hostapd_data *hapd, struct sta_info *sta,
21 void mbo_ap_wnm_notification_req(struct hostapd_data *hapd, const u8 *addr,
27 static inline void mbo_ap_check_sta_assoc(struct hostapd_data *hapd, in mbo_ap_check_sta_assoc()
39 static inline void mbo_ap_wnm_notification_req(struct hostapd_data *hapd, in mbo_ap_wnm_notification_req()
Ddhcp_snoop.h14 int dhcp_snoop_init(struct hostapd_data *hapd);
15 void dhcp_snoop_deinit(struct hostapd_data *hapd);
19 static inline int dhcp_snoop_init(struct hostapd_data *hapd) in dhcp_snoop_init()
24 static inline void dhcp_snoop_deinit(struct hostapd_data *hapd) in dhcp_snoop_deinit()
Dwpa_auth_glue.c117 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_logger()
141 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_disconnect()
151 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_mic_failure_report()
158 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_psk_failure_report()
167 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_set_eapol()
209 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_get_eapol()
228 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_get_psk()
270 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_get_msk()
301 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_set_key()
318 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_get_seqnum()
[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()

1234