Home
last modified time | relevance | path

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

12345

/hostap-latest/src/ap/
Dieee802_11.h13 struct hostapd_data;
28 int ieee802_11_mgmt(struct hostapd_data *hapd, const u8 *buf, size_t len,
30 void ieee802_11_mgmt_cb(struct hostapd_data *hapd, const u8 *buf, size_t len,
32 void hostapd_2040_coex_action(struct hostapd_data *hapd,
35 int ieee802_11_get_mib(struct hostapd_data *hapd, char *buf, size_t buflen);
36 int ieee802_11_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta,
39 static inline int ieee802_11_get_mib(struct hostapd_data *hapd, char *buf, in ieee802_11_get_mib()
45 static inline int ieee802_11_get_mib_sta(struct hostapd_data *hapd, in ieee802_11_get_mib_sta()
52 u16 hostapd_own_capab_info(struct hostapd_data *hapd);
54 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 bool hostapd_sta_is_link_sta(struct hostapd_data *hapd,
31 int hostapd_set_authorized(struct hostapd_data *hapd,
33 int hostapd_set_sta_flags(struct hostapd_data *hapd, struct sta_info *sta);
34 int hostapd_set_drv_ieee8021x(struct hostapd_data *hapd, const char *ifname,
36 int hostapd_vlan_if_add(struct hostapd_data *hapd, const char *ifname);
37 int hostapd_vlan_if_remove(struct hostapd_data *hapd, const char *ifname);
[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 …]
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 …]
Dsta_info.h56 struct hostapd_data;
291 void (*fils_pending_cb)(struct hostapd_data *hapd, struct sta_info *sta,
357 int ap_for_each_sta(struct hostapd_data *hapd,
358 int (*cb)(struct hostapd_data *hapd, struct sta_info *sta,
361 struct sta_info * ap_get_sta(struct hostapd_data *hapd, const u8 *sta);
362 struct sta_info * ap_get_sta_p2p(struct hostapd_data *hapd, const u8 *addr);
363 void ap_sta_hash_add(struct hostapd_data *hapd, struct sta_info *sta);
364 void ap_free_sta(struct hostapd_data *hapd, struct sta_info *sta);
365 void ap_sta_ip6addr_del(struct hostapd_data *hapd, struct sta_info *sta);
366 void hostapd_free_stas(struct hostapd_data *hapd);
[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 …]
Dhostapd.h32 struct hostapd_data;
52 int (*ctrl_iface_init)(struct hostapd_data *hapd);
53 void (*ctrl_iface_deinit)(struct hostapd_data *hapd);
173 struct hostapd_data { struct
208 void (*new_assoc_sta_cb)(struct hostapd_data *hapd, argument
357 void (*mesh_sta_free_cb)(struct hostapd_data *hapd, argument
526 struct hostapd_data *fbss;
559 struct hostapd_data **bss;
728 void hostapd_reconfig_encryption(struct hostapd_data *hapd);
729 struct hostapd_data *
[all …]
Dnan_usd_ap.h16 int hostapd_nan_usd_init(struct hostapd_data *hapd);
17 void hostapd_nan_usd_deinit(struct hostapd_data *hapd);
18 void hostapd_nan_usd_rx_sdf(struct hostapd_data *hapd, const u8 *src,
20 void hostapd_nan_usd_flush(struct hostapd_data *hapd);
21 int hostapd_nan_usd_publish(struct hostapd_data *hapd, const char *service_name,
25 void hostapd_nan_usd_cancel_publish(struct hostapd_data *hapd, int publish_id);
26 int hostapd_nan_usd_update_publish(struct hostapd_data *hapd, int publish_id,
28 int hostapd_nan_usd_subscribe(struct hostapd_data *hapd,
33 void hostapd_nan_usd_cancel_subscribe(struct hostapd_data *hapd,
35 int hostapd_nan_usd_transmit(struct hostapd_data *hapd, int handle,
[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.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 …]
Dnan_usd_ap.c24 struct hostapd_data *hapd = ctx; in hostapd_nan_de_tx()
51 struct hostapd_data *hapd = ctx; in hostapd_nan_de_discovery_result()
74 struct hostapd_data *hapd = ctx; in hostapd_nan_de_replied()
109 struct hostapd_data *hapd = ctx; in hostapd_nan_de_publish_terminated()
120 struct hostapd_data *hapd = ctx; in hostapd_nan_de_subscribe_terminated()
132 struct hostapd_data *hapd = ctx; in hostapd_nan_de_receive()
147 int hostapd_nan_usd_init(struct hostapd_data *hapd) in hostapd_nan_usd_init()
168 void hostapd_nan_usd_deinit(struct hostapd_data *hapd) in hostapd_nan_usd_deinit()
175 void hostapd_nan_usd_rx_sdf(struct hostapd_data *hapd, const u8 *src, in hostapd_nan_usd_rx_sdf()
184 void hostapd_nan_usd_flush(struct hostapd_data *hapd) in hostapd_nan_usd_flush()
[all …]
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()
Dap_drv_ops.c68 int hostapd_build_ap_extra_ies(struct hostapd_data *hapd, in hostapd_build_ap_extra_ies()
230 void hostapd_free_ap_extra_ies(struct hostapd_data *hapd, in hostapd_free_ap_extra_ies()
241 int hostapd_reset_ap_wps_ie(struct hostapd_data *hapd) in hostapd_reset_ap_wps_ie()
250 int hostapd_set_ap_wps_ie(struct hostapd_data *hapd) in hostapd_set_ap_wps_ie()
271 bool hostapd_sta_is_link_sta(struct hostapd_data *hapd, in hostapd_sta_is_link_sta()
284 int hostapd_set_authorized(struct hostapd_data *hapd, in hostapd_set_authorized()
313 int hostapd_set_sta_flags(struct hostapd_data *hapd, struct sta_info *sta) in hostapd_set_sta_flags()
342 int hostapd_set_drv_ieee8021x(struct hostapd_data *hapd, const char *ifname, in hostapd_set_drv_ieee8021x()
369 int hostapd_vlan_if_add(struct hostapd_data *hapd, const char *ifname) in hostapd_vlan_if_add()
378 int hostapd_vlan_if_remove(struct hostapd_data *hapd, const char *ifname) in hostapd_vlan_if_remove()
[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,
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,
22 void hostapd_neighbor_set_own_report(struct hostapd_data *hapd);
23 int hostapd_neighbor_sync_own_report(struct hostapd_data *hapd);
24 int hostapd_neighbor_remove(struct hostapd_data *hapd, const u8 *bssid,
26 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,
32 int hostapd_send_link_measurement_req(struct hostapd_data *hapd,
Dbeacon.h15 void handle_probe_req(struct hostapd_data *hapd,
18 void ieee802_11_set_beacon_per_bss_only(struct hostapd_data *hapd);
19 int ieee802_11_set_beacon(struct hostapd_data *hapd);
22 int ieee802_11_build_ap_params(struct hostapd_data *hapd,
28 struct hostapd_data *
34 const u8 * hostapd_wpa_ie(struct hostapd_data *hapd, u8 eid);
36 u8 * hostapd_unsol_bcast_probe_resp(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 …]
Dsta_info.c47 static void ap_sta_remove_in_other_bss(struct hostapd_data *hapd,
54 static int ap_sta_remove(struct hostapd_data *hapd, struct sta_info *sta);
57 int ap_for_each_sta(struct hostapd_data *hapd, in ap_for_each_sta()
58 int (*cb)(struct hostapd_data *hapd, struct sta_info *sta, in ap_for_each_sta()
73 struct sta_info * ap_get_sta(struct hostapd_data *hapd, const u8 *sta) in ap_get_sta()
85 struct sta_info * ap_get_sta_p2p(struct hostapd_data *hapd, const u8 *addr) in ap_get_sta_p2p()
108 static void ap_sta_list_del(struct hostapd_data *hapd, struct sta_info *sta) in ap_sta_list_del()
128 void ap_sta_hash_add(struct hostapd_data *hapd, struct sta_info *sta) in ap_sta_hash_add()
135 static void ap_sta_hash_del(struct hostapd_data *hapd, struct sta_info *sta) in ap_sta_hash_del()
157 void ap_sta_ip6addr_del(struct hostapd_data *hapd, struct sta_info *sta) in ap_sta_ip6addr_del()
[all …]
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()

12345