Home
last modified time | relevance | path

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

12345

/external/wpa_supplicant_8/src/ap/
Dieee802_11.h13 struct hostapd_data;
22 int ieee802_11_mgmt(struct hostapd_data *hapd, const u8 *buf, size_t len,
24 void ieee802_11_mgmt_cb(struct hostapd_data *hapd, const u8 *buf, size_t len,
26 void hostapd_2040_coex_action(struct hostapd_data *hapd,
29 int ieee802_11_get_mib(struct hostapd_data *hapd, char *buf, size_t buflen);
30 int ieee802_11_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta,
33 static inline int ieee802_11_get_mib(struct hostapd_data *hapd, char *buf, in ieee802_11_get_mib()
39 static inline int ieee802_11_get_mib_sta(struct hostapd_data *hapd, in ieee802_11_get_mib_sta()
46 u16 hostapd_own_capab_info(struct hostapd_data *hapd);
48 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 …]
Ddpp_hostapd.h15 int hostapd_dpp_qr_code(struct hostapd_data *hapd, const char *cmd);
16 int hostapd_dpp_nfc_uri(struct hostapd_data *hapd, const char *cmd);
17 int hostapd_dpp_nfc_handover_req(struct hostapd_data *hapd, const char *cmd);
18 int hostapd_dpp_nfc_handover_sel(struct hostapd_data *hapd, const char *cmd);
19 int hostapd_dpp_auth_init(struct hostapd_data *hapd, const char *cmd);
20 int hostapd_dpp_listen(struct hostapd_data *hapd, const char *cmd);
21 void hostapd_dpp_listen_stop(struct hostapd_data *hapd);
22 void hostapd_dpp_rx_action(struct hostapd_data *hapd, const u8 *src,
24 void hostapd_dpp_tx_status(struct hostapd_data *hapd, const u8 *dst,
27 hostapd_dpp_gas_req_handler(struct hostapd_data *hapd, const u8 *sa,
[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 …]
Dsta_info.h50 struct hostapd_data;
253 void (*fils_pending_cb)(struct hostapd_data *hapd, struct sta_info *sta,
307 int ap_for_each_sta(struct hostapd_data *hapd,
308 int (*cb)(struct hostapd_data *hapd, struct sta_info *sta,
311 struct sta_info * ap_get_sta(struct hostapd_data *hapd, const u8 *sta);
312 struct sta_info * ap_get_sta_p2p(struct hostapd_data *hapd, const u8 *addr);
313 void ap_sta_hash_add(struct hostapd_data *hapd, struct sta_info *sta);
314 void ap_free_sta(struct hostapd_data *hapd, struct sta_info *sta);
315 void ap_sta_ip6addr_del(struct hostapd_data *hapd, struct sta_info *sta);
316 void hostapd_free_stas(struct hostapd_data *hapd);
[all …]
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_signature(struct hostapd_data *hapd,
25 int hostapd_ctrl_iface_poll_sta(struct hostapd_data *hapd,
27 int hostapd_ctrl_iface_status(struct hostapd_data *hapd, char *buf,
31 int hostapd_ctrl_iface_stop_ap(struct hostapd_data *hapd);
32 int hostapd_ctrl_iface_pmksa_list(struct hostapd_data *hapd, char *buf,
[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()
Dwpa_auth_kay.h14 int ieee802_1x_alloc_kay_sm_hapd(struct hostapd_data *hapd,
16 void * ieee802_1x_notify_create_actor_hapd(struct hostapd_data *hapd,
18 void ieee802_1x_dealloc_kay_sm_hapd(struct hostapd_data *hapd);
20 void * ieee802_1x_create_preshared_mka_hapd(struct hostapd_data *hapd,
25 static inline int ieee802_1x_alloc_kay_sm_hapd(struct hostapd_data *hapd, in ieee802_1x_alloc_kay_sm_hapd()
32 ieee802_1x_notify_create_actor_hapd(struct hostapd_data *hapd, in ieee802_1x_notify_create_actor_hapd()
38 static inline void ieee802_1x_dealloc_kay_sm_hapd(struct hostapd_data *hapd) in ieee802_1x_dealloc_kay_sm_hapd()
43 ieee802_1x_create_preshared_mka_hapd(struct hostapd_data *hapd, in ieee802_1x_create_preshared_mka_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()
Dwpa_auth_kay.c27 struct hostapd_data *hapd = priv; in hapd_macsec_init()
37 struct hostapd_data *hapd = priv; in hapd_macsec_deinit()
47 struct hostapd_data *hapd = priv; in hapd_macsec_get_capability()
57 struct hostapd_data *hapd = priv; in hapd_enable_protect_frames()
67 struct hostapd_data *hapd = priv; in hapd_enable_encrypt()
77 struct hostapd_data *hapd = priv; in hapd_set_replay_protect()
88 struct hostapd_data *hapd = priv; in hapd_set_current_cipher_suite()
98 struct hostapd_data *hapd = priv; in hapd_enable_controlled_port()
108 struct hostapd_data *hapd = priv; in hapd_get_receive_lowest_pn()
118 struct hostapd_data *hapd = priv; in hapd_get_transmit_next_pn()
[all …]
Dhostapd.h31 struct hostapd_data;
50 int (*ctrl_iface_init)(struct hostapd_data *hapd);
51 void (*ctrl_iface_deinit)(struct hostapd_data *hapd);
153 struct hostapd_data { struct
181 void (*new_assoc_sta_cb)(struct hostapd_data *hapd, argument
316 void (*mesh_sta_free_cb)(struct hostapd_data *hapd, argument
465 struct hostapd_data **bss;
600 void hostapd_reconfig_encryption(struct hostapd_data *hapd);
601 struct hostapd_data *
615 void hostapd_new_assoc_sta(struct hostapd_data *hapd, struct sta_info *sta,
[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_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);
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,
21 int hs20_send_wnm_notification_t_c(struct hostapd_data *hapd,
23 void hs20_t_c_filtering(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()
Dap_drv_ops.c68 int hostapd_build_ap_extra_ies(struct hostapd_data *hapd, in hostapd_build_ap_extra_ies()
219 void hostapd_free_ap_extra_ies(struct hostapd_data *hapd, in hostapd_free_ap_extra_ies()
230 int hostapd_reset_ap_wps_ie(struct hostapd_data *hapd) in hostapd_reset_ap_wps_ie()
239 int hostapd_set_ap_wps_ie(struct hostapd_data *hapd) in hostapd_set_ap_wps_ie()
260 int hostapd_set_authorized(struct hostapd_data *hapd, in hostapd_set_authorized()
276 int hostapd_set_sta_flags(struct hostapd_data *hapd, struct sta_info *sta) in hostapd_set_sta_flags()
292 int hostapd_set_drv_ieee8021x(struct hostapd_data *hapd, const char *ifname, in hostapd_set_drv_ieee8021x()
319 int hostapd_vlan_if_add(struct hostapd_data *hapd, const char *ifname) in hostapd_vlan_if_add()
328 int hostapd_vlan_if_remove(struct hostapd_data *hapd, const char *ifname) in hostapd_vlan_if_remove()
334 int hostapd_set_wds_sta(struct hostapd_data *hapd, char *ifname_wds, in hostapd_set_wds_sta()
[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);
Dneighbor_db.h14 hostapd_neighbor_get(struct hostapd_data *hapd, const u8 *bssid,
16 int hostapd_neighbor_show(struct hostapd_data *hapd, char *buf, size_t buflen);
17 int hostapd_neighbor_set(struct hostapd_data *hapd, const u8 *bssid,
21 void hostapd_neighbor_set_own_report(struct hostapd_data *hapd);
22 int hostapd_neighbor_remove(struct hostapd_data *hapd, const u8 *bssid,
24 void hostapd_free_neighbor_db(struct hostapd_data *hapd);
Drrm.h20 void hostapd_handle_radio_measurement(struct hostapd_data *hapd,
22 int hostapd_send_lci_req(struct hostapd_data *hapd, const u8 *addr);
23 int hostapd_send_range_req(struct hostapd_data *hapd, const u8 *addr,
26 void hostapd_clean_rrm(struct hostapd_data *hapd);
27 int hostapd_send_beacon_req(struct hostapd_data *hapd, const u8 *addr,
29 void hostapd_rrm_beacon_req_tx_status(struct hostapd_data *hapd,
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);
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()
162 struct hostapd_data *hapd = ctx; in hostapd_wps_set_ie_cb()
176 struct hostapd_data *hapd = ctx; in hostapd_wps_pin_needed_cb()
[all …]
Dieee802_11_auth.h28 int hostapd_check_acl(struct hostapd_data *hapd, const u8 *addr,
30 int hostapd_allowed_address(struct hostapd_data *hapd, const u8 *addr,
33 int hostapd_acl_init(struct hostapd_data *hapd);
34 void hostapd_acl_deinit(struct hostapd_data *hapd);
36 void hostapd_acl_expire(struct hostapd_data *hapd);
Dwnm_ap.h14 int ieee802_11_rx_wnm_action_ap(struct hostapd_data *hapd,
16 int wnm_send_disassoc_imminent(struct hostapd_data *hapd,
18 int wnm_send_ess_disassoc_imminent(struct hostapd_data *hapd,
21 int wnm_send_bss_tm_req(struct hostapd_data *hapd, struct sta_info *sta,
27 int wnm_send_coloc_intf_req(struct hostapd_data *hapd, struct sta_info *sta,

12345