Searched refs:hapd (Results 1 - 25 of 106) sorted by relevance

12345

/freebsd-current/contrib/wpa/src/ap/
H A Dauthsrv.h12 int authsrv_init(struct hostapd_data *hapd);
13 void authsrv_deinit(struct hostapd_data *hapd);
H A Dbss_load.h13 int bss_load_update_init(struct hostapd_data *hapd);
14 void bss_load_update_deinit(struct hostapd_data *hapd);
H A 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);
H A 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) argument
24 static inline void dhcp_snoop_deinit(struct hostapd_data *hapd) argument
H A 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, argument
32 ieee802_1x_notify_create_actor_hapd(struct hostapd_data *hapd, argument
38 static inline void ieee802_1x_dealloc_kay_sm_hapd(struct hostapd_data *hapd) argument
43 ieee802_1x_create_preshared_mka_hapd(struct hostapd_data *hapd, argument
H A 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) argument
25 static inline void ndisc_snoop_deinit(struct hostapd_data *hapd) argument
29 static inline void sta_ip6addr_del(struct hostapd_data *hapd, argument
H A 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, cons
[all...]
H A 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);
49 hostapd_init_wps(struct hostapd_data *hapd, struct hostapd_bss_config *conf) argument
55 hostapd_deinit_wps(struct hostapd_data *hapd) argument
59 hostapd_init_wps_complete(struct hostapd_data *hapd) argument
64 hostapd_update_wps(struct hostapd_data *hapd) argument
68 hostapd_wps_eap_completed(struct hostapd_data *hapd) argument
72 hostapd_wps_get_mib_sta(struct hostapd_data *hapd, const u8 *addr, char *buf, size_t buflen) argument
79 hostapd_wps_button_pushed(struct hostapd_data *hapd, const u8 *p2p_dev_addr) argument
85 hostapd_wps_cancel(struct hostapd_data *hapd) argument
[all...]
H A Daccounting.h13 static inline int accounting_sta_get_id(struct hostapd_data *hapd, argument
19 static inline void accounting_sta_start(struct hostapd_data *hapd, argument
24 static inline void accounting_sta_stop(struct hostapd_data *hapd, argument
29 static inline int accounting_init(struct hostapd_data *hapd) argument
34 static inline void accounting_deinit(struct hostapd_data *hapd) argument
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);
[all...]
H A 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) argument
29 static inline void rsn_preauth_iface_deinit(struct hostapd_data *hapd) argument
33 static inline void rsn_preauth_finished(struct hostapd_data *hapd, argument
39 static inline void rsn_preauth_send(struct hostapd_data *hapd, argument
45 static inline void rsn_preauth_free_station(struct hostapd_data *hapd, argument
[all...]
H A Dtkip_countermeasures.c26 struct hostapd_data *hapd = eloop_ctx; local
27 hapd->tkip_countermeasures = 0;
28 hostapd_drv_set_countermeasures(hapd, 0);
29 hostapd_logger(hapd, NULL, HOSTAPD_MODULE_IEEE80211,
34 static void ieee80211_tkip_countermeasures_start(struct hostapd_data *hapd) argument
38 hostapd_logger(hapd, NULL, HOSTAPD_MODULE_IEEE80211,
41 wpa_auth_countermeasures_start(hapd->wpa_auth);
42 hapd->tkip_countermeasures = 1;
43 hostapd_drv_set_countermeasures(hapd, 1);
44 wpa_gtk_rekey(hapd
63 ieee80211_tkip_countermeasures_deinit(struct hostapd_data *hapd) argument
69 michael_mic_failure(struct hostapd_data *hapd, const u8 *addr, int local) argument
[all...]
H A 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);
H A Dp2p_hostapd.c23 int hostapd_p2p_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta, argument
33 int hostapd_p2p_set_noa(struct hostapd_data *hapd, u8 count, int start, argument
40 hapd->noa_enabled = 0;
41 hapd->noa_start = 0;
42 hapd->noa_duration = 0;
48 return hostapd_driver_set_noa(hapd, count, start, duration);
51 hapd->noa_enabled = 1;
52 hapd->noa_start = start;
53 hapd->noa_duration = duration;
55 if (hapd
68 hostapd_p2p_non_p2p_sta_connected(struct hostapd_data *hapd) argument
79 hostapd_p2p_non_p2p_sta_disconnected(struct hostapd_data *hapd) argument
94 hostapd_eid_p2p_manage(struct hostapd_data *hapd, u8 *eid) argument
[all...]
H A Dbss_load.c19 static int get_bss_load_update_timeout(struct hostapd_data *hapd, argument
22 unsigned int update_period = hapd->conf->bss_load_update_period;
23 unsigned int beacon_int = hapd->iconf->beacon_int;
44 struct hostapd_data *hapd = eloop_data; local
47 struct hostapd_iface *iface = hapd->iface;
49 if (!(hapd->beacon_set_done && hapd->started))
52 err = hostapd_drv_get_survey(hapd, hapd->iface->freq);
58 ieee802_11_set_beacon(hapd);
83 bss_load_update_init(struct hostapd_data *hapd) argument
96 bss_load_update_deinit(struct hostapd_data *hapd) argument
[all...]
H A 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, cha
113 hostapd_drv_send_action_cancel_wait(struct hostapd_data *hapd) argument
151 hostapd_drv_set_countermeasures(struct hostapd_data *hapd, int enabled) argument
160 hostapd_drv_set_sta_vlan(const char *ifname, struct hostapd_data *hapd, const u8 *addr, int vlan_id) argument
170 hostapd_drv_get_inact_sec(struct hostapd_data *hapd, const u8 *addr) argument
178 hostapd_drv_sta_remove(struct hostapd_data *hapd, const u8 *addr) argument
186 hostapd_drv_hapd_send_eapol(struct hostapd_data *hapd, const u8 *addr, const u8 *data, size_t data_len, int encrypt, u32 flags) argument
198 hostapd_drv_read_sta_data( struct hostapd_data *hapd, struct hostap_sta_driver_data *data, const u8 *addr) argument
207 hostapd_drv_sta_clear_stats(struct hostapd_data *hapd, const u8 *addr) argument
215 hostapd_drv_set_acl(struct hostapd_data *hapd, struct hostapd_acl_params *params) argument
223 hostapd_drv_set_ap(struct hostapd_data *hapd, struct wpa_driver_ap_params *params) argument
231 hostapd_drv_set_radius_acl_auth(struct hostapd_data *hapd, const u8 *mac, int accepted, u32 session_timeout) argument
241 hostapd_drv_set_radius_acl_expire(struct hostapd_data *hapd, const u8 *mac) argument
250 hostapd_drv_set_authmode(struct hostapd_data *hapd, int auth_algs) argument
258 hostapd_drv_poll_client(struct hostapd_data *hapd, const u8 *own_addr, const u8 *addr, int qos) argument
267 hostapd_drv_get_survey(struct hostapd_data *hapd, unsigned int freq) argument
277 hostapd_get_country(struct hostapd_data *hapd, char *alpha2) argument
284 hostapd_drv_get_radio_name(struct hostapd_data *hapd) argument
292 hostapd_drv_switch_channel(struct hostapd_data *hapd, struct csa_settings *settings) argument
302 hostapd_drv_status(struct hostapd_data *hapd, char *buf, size_t buflen) argument
310 hostapd_drv_br_add_ip_neigh(struct hostapd_data *hapd, int version, const u8 *ipaddr, int prefixlen, const u8 *addr) argument
321 hostapd_drv_br_delete_ip_neigh(struct hostapd_data *hapd, u8 version, const u8 *ipaddr) argument
331 hostapd_drv_br_port_set_attr(struct hostapd_data *hapd, enum drv_br_port_attr attr, unsigned int val) argument
341 hostapd_drv_br_set_net_param(struct hostapd_data *hapd, enum drv_br_net_param param, unsigned int val) argument
351 hostapd_drv_vendor_cmd(struct hostapd_data *hapd, int vendor_id, int subcmd, const u8 *data, size_t data_len, enum nested_attr nested_attr_flag, struct wpabuf *buf) argument
363 hostapd_drv_stop_ap(struct hostapd_data *hapd) argument
370 hostapd_drv_channel_info(struct hostapd_data *hapd, struct wpa_channel_info *ci) argument
379 hostapd_drv_send_external_auth_status(struct hostapd_data *hapd, struct external_auth *params) argument
389 hostapd_drv_set_band(struct hostapd_data *hapd, u32 band_mask) argument
397 hostapd_drv_driver_cmd(struct hostapd_data *hapd, char *cmd, char *buf, size_t buf_len) argument
408 hostapd_drv_register_frame(struct hostapd_data *hapd, u16 type, const u8 *match, size_t match_len, bool multicast) argument
[all...]
H A 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, cha
[all...]
H A Dfils_hlp.h12 int fils_process_hlp(struct hostapd_data *hapd, struct sta_info *sta,
17 void fils_hlp_deinit(struct hostapd_data *hapd);
21 static inline void fils_hlp_deinit(struct hostapd_data *hapd) argument
H A Dwpa_auth_kay.c27 struct hostapd_data *hapd = priv; local
29 if (!hapd->driver->macsec_init)
31 return hapd->driver->macsec_init(hapd->drv_priv, params);
37 struct hostapd_data *hapd = priv; local
39 if (!hapd->driver->macsec_deinit)
41 return hapd->driver->macsec_deinit(hapd->drv_priv);
47 struct hostapd_data *hapd = priv; local
49 if (!hapd
57 struct hostapd_data *hapd = priv; local
67 struct hostapd_data *hapd = priv; local
77 struct hostapd_data *hapd = priv; local
88 struct hostapd_data *hapd = priv; local
98 struct hostapd_data *hapd = priv; local
108 struct hostapd_data *hapd = priv; local
118 struct hostapd_data *hapd = priv; local
128 struct hostapd_data *hapd = priv; local
154 struct hostapd_data *hapd = priv; local
165 struct hostapd_data *hapd = priv; local
175 struct hostapd_data *hapd = priv; local
185 struct hostapd_data *hapd = priv; local
195 struct hostapd_data *hapd = priv; local
205 struct hostapd_data *hapd = priv; local
217 struct hostapd_data *hapd = priv; local
228 struct hostapd_data *hapd = priv; local
238 struct hostapd_data *hapd = priv; local
248 struct hostapd_data *hapd = priv; local
258 struct hostapd_data *hapd = priv; local
268 struct hostapd_data *hapd = priv; local
276 ieee802_1x_alloc_kay_sm_hapd(struct hostapd_data *hapd, struct sta_info *sta) argument
344 ieee802_1x_dealloc_kay_sm_hapd(struct hostapd_data *hapd) argument
354 ieee802_1x_auth_get_session_id(struct hostapd_data *hapd, struct sta_info *sta, u8 *sid, size_t *len) argument
381 ieee802_1x_auth_get_msk(struct hostapd_data *hapd, struct sta_info *sta, u8 *msk, size_t *len) argument
409 ieee802_1x_notify_create_actor_hapd(struct hostapd_data *hapd, struct sta_info *sta) argument
480 ieee802_1x_create_preshared_mka_hapd(struct hostapd_data *hapd, struct sta_info *sta) argument
[all...]
H A 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, argument
33 u8 * hostapd_eid_p2p_manage(struct hostapd_data *hapd, u8 *eid);
H A 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) argument
27 static inline void vlan_deinit(struct hostapd_data *hapd) argument
32 vlan_add_dynamic(struct hostapd_data *hapd, struct hostapd_vlan *vlan, argument
38 static inline int vlan_remove_dynamic(struct hostapd_data *hapd, int vlan_id) argument
H A Dtkip_countermeasures.h12 int michael_mic_failure(struct hostapd_data *hapd, const u8 *addr, int local);
13 void ieee80211_tkip_countermeasures_deinit(struct hostapd_data *hapd);
H A Dbeacon.c39 static u8 * hostapd_eid_bss_load(struct hostapd_data *hapd, u8 *eid, size_t len) argument
45 if (hapd->conf->bss_load_test_set) {
48 os_memcpy(eid, hapd->conf->bss_load_test, 5);
53 if (hapd->conf->bss_load_update_period) {
56 WPA_PUT_LE16(eid, hapd->num_sta);
58 *eid++ = hapd->iface->channel_utilization;
66 static u8 ieee802_11_erp_info(struct hostapd_data *hapd) argument
70 if (hapd->iface->current_mode == NULL ||
71 hapd->iface->current_mode->mode != HOSTAPD_MODE_IEEE80211G)
74 if (hapd
88 hostapd_eid_ds_params(struct hostapd_data *hapd, u8 *eid) argument
97 hostapd_eid_erp_info(struct hostapd_data *hapd, u8 *eid) argument
121 hostapd_eid_pwr_constraint(struct hostapd_data *hapd, u8 *eid) argument
207 hostapd_eid_country(struct hostapd_data *hapd, u8 *eid, int max_len) argument
269 hostapd_wpa_ie(struct hostapd_data *hapd, u8 eid) argument
282 hostapd_vendor_wpa_ie(struct hostapd_data *hapd, u32 vendor_type) argument
296 hostapd_get_rsne(struct hostapd_data *hapd, u8 *pos, size_t len) argument
309 hostapd_get_mde(struct hostapd_data *hapd, u8 *pos, size_t len) argument
322 hostapd_get_rsnxe(struct hostapd_data *hapd, u8 *pos, size_t len) argument
341 hostapd_get_wpa_ie(struct hostapd_data *hapd, u8 *pos, size_t len) argument
354 hostapd_get_osen_ie(struct hostapd_data *hapd, u8 *pos, size_t len) argument
367 hostapd_eid_csa(struct hostapd_data *hapd, u8 *eid) argument
387 hostapd_eid_ecsa(struct hostapd_data *hapd, u8 *eid) argument
403 hostapd_eid_supported_op_classes(struct hostapd_data *hapd, u8 *eid) argument
431 hostapd_gen_probe_resp(struct hostapd_data *hapd, const struct ieee80211_mgmt *req, int is_p2p, size_t *resp_len) argument
649 ssid_match(struct hostapd_data *hapd, const u8 *ssid, size_t ssid_len, const u8 *ssid_list, size_t ssid_list_len, const u8 *short_ssid_list, size_t short_ssid_list_len) argument
805 struct hostapd_data *hapd = NULL; local
840 handle_probe_req(struct hostapd_data *hapd, const struct ieee80211_mgmt *mgmt, size_t len, int ssi_signal) argument
1118 hostapd_probe_resp_offloads(struct hostapd_data *hapd, size_t *resp_len) argument
1158 hostapd_unsol_bcast_probe_resp(struct hostapd_data *hapd, struct wpa_driver_ap_params *params) argument
1185 hostapd_fils_discovery_cap(struct hostapd_data *hapd) argument
1286 hostapd_gen_fils_discovery(struct hostapd_data *hapd, size_t *len) argument
1402 hostapd_fils_discovery(struct hostapd_data *hapd, struct wpa_driver_ap_params *params) argument
1424 ieee802_11_build_ap_params(struct hostapd_data *hapd, struct wpa_driver_ap_params *params) argument
1779 __ieee802_11_set_beacon(struct hostapd_data *hapd) argument
1868 ieee802_11_set_beacon(struct hostapd_data *hapd) argument
[all...]
H A Dap_drv_ops.c68 int hostapd_build_ap_extra_ies(struct hostapd_data *hapd, argument
79 pos = hostapd_eid_time_adv(hapd, pos);
82 pos = hostapd_eid_time_zone(hapd, pos);
87 pos = hostapd_eid_ext_capab(hapd, pos);
90 pos = hostapd_eid_interworking(hapd, pos);
91 pos = hostapd_eid_adv_proto(hapd, pos);
92 pos = hostapd_eid_roaming_consortium(hapd, pos);
98 if (add_buf(&beacon, hapd->iface->fst_ies) < 0 ||
99 add_buf(&proberesp, hapd->iface->fst_ies) < 0 ||
100 add_buf(&assocresp, hapd
219 hostapd_free_ap_extra_ies(struct hostapd_data *hapd, struct wpabuf *beacon, struct wpabuf *proberesp, struct wpabuf *assocresp) argument
230 hostapd_reset_ap_wps_ie(struct hostapd_data *hapd) argument
239 hostapd_set_ap_wps_ie(struct hostapd_data *hapd) argument
260 hostapd_set_authorized(struct hostapd_data *hapd, struct sta_info *sta, int authorized) argument
276 hostapd_set_sta_flags(struct hostapd_data *hapd, struct sta_info *sta) argument
292 hostapd_set_drv_ieee8021x(struct hostapd_data *hapd, const char *ifname, int enabled) argument
319 hostapd_vlan_if_add(struct hostapd_data *hapd, const char *ifname) argument
328 hostapd_vlan_if_remove(struct hostapd_data *hapd, const char *ifname) argument
334 hostapd_set_wds_sta(struct hostapd_data *hapd, char *ifname_wds, const u8 *addr, int aid, int val) argument
350 hostapd_add_sta_node(struct hostapd_data *hapd, const u8 *addr, u16 auth_alg) argument
359 hostapd_sta_auth(struct hostapd_data *hapd, const u8 *addr, u16 seq, u16 status, const u8 *ie, size_t len) argument
403 hostapd_sta_assoc(struct hostapd_data *hapd, const u8 *addr, int reassoc, u16 status, const u8 *ie, size_t len) argument
413 hostapd_sta_add(struct hostapd_data *hapd, const u8 *addr, u16 aid, u16 capability, const u8 *supp_rates, size_t supp_rates_len, u16 listen_interval, const struct ieee80211_ht_capabilities *ht_capab, const struct ieee80211_vht_capabilities *vht_capab, const struct ieee80211_he_capabilities *he_capab, size_t he_capab_len, const struct ieee80211_he_6ghz_band_cap *he_6ghz_capab, u32 flags, u8 qosinfo, u8 vht_opmode, int supp_p2p_ps, int set) argument
454 hostapd_add_tspec(struct hostapd_data *hapd, const u8 *addr, u8 *tspec_ie, size_t tspec_ielen) argument
464 hostapd_set_privacy(struct hostapd_data *hapd, int enabled) argument
472 hostapd_set_generic_elem(struct hostapd_data *hapd, const u8 *elem, size_t elem_len) argument
481 hostapd_get_ssid(struct hostapd_data *hapd, u8 *buf, size_t len) argument
489 hostapd_set_ssid(struct hostapd_data *hapd, const u8 *buf, size_t len) argument
497 hostapd_if_add(struct hostapd_data *hapd, enum wpa_driver_if_type type, const char *ifname, const u8 *addr, void *bss_ctx, void **drv_priv, char *force_ifname, u8 *if_addr, const char *bridge, int use_existing) argument
510 hostapd_if_remove(struct hostapd_data *hapd, enum wpa_driver_if_type type, const char *ifname) argument
520 hostapd_set_ieee8021x(struct hostapd_data *hapd, struct wpa_bss_params *params) argument
529 hostapd_get_seqnum(const char *ifname, struct hostapd_data *hapd, const u8 *addr, int idx, u8 *seq) argument
539 hostapd_flush(struct hostapd_data *hapd) argument
547 hostapd_set_freq(struct hostapd_data *hapd, enum hostapd_hw_mode mode, int freq, int channel, int edmg, u8 edmg_channel, int ht_enabled, int vht_enabled, int he_enabled, int sec_channel_offset, int oper_chwidth, int center_segment0, int center_segment1) argument
574 hostapd_set_rts(struct hostapd_data *hapd, int rts) argument
582 hostapd_set_frag(struct hostapd_data *hapd, int frag) argument
590 hostapd_sta_set_flags(struct hostapd_data *hapd, u8 *addr, int total_flags, int flags_or, int flags_and) argument
600 hostapd_sta_set_airtime_weight(struct hostapd_data *hapd, const u8 *addr, unsigned int weight) argument
610 hostapd_set_country(struct hostapd_data *hapd, const char *country) argument
619 hostapd_set_tx_queue_params(struct hostapd_data *hapd, int queue, int aifs, int cw_min, int cw_max, int burst_time) argument
630 hostapd_get_hw_feature_data(struct hostapd_data *hapd, u16 *num_modes, u16 *flags, u8 *dfs_domain) argument
641 hostapd_driver_commit(struct hostapd_data *hapd) argument
649 hostapd_drv_none(struct hostapd_data *hapd) argument
655 hostapd_drv_nl80211(struct hostapd_data *hapd) argument
661 hostapd_driver_scan(struct hostapd_data *hapd, struct wpa_driver_scan_params *params) argument
670 hostapd_driver_get_scan_results( struct hostapd_data *hapd) argument
679 hostapd_driver_set_noa(struct hostapd_data *hapd, u8 count, int start, int duration) argument
689 hostapd_drv_set_key(const char *ifname, struct hostapd_data *hapd, enum wpa_alg alg, const u8 *addr, int key_idx, int vlan_id, int set_tx, const u8 *seq, size_t seq_len, const u8 *key, size_t key_len, enum key_flag key_flag) argument
717 hostapd_drv_send_mlme(struct hostapd_data *hapd, const void *msg, size_t len, int noack, const u16 *csa_offs, size_t csa_offs_len, int no_encrypt) argument
729 hostapd_drv_sta_deauth(struct hostapd_data *hapd, const u8 *addr, int reason) argument
739 hostapd_drv_sta_disassoc(struct hostapd_data *hapd, const u8 *addr, int reason) argument
749 hostapd_drv_wnm_oper(struct hostapd_data *hapd, enum wnm_oper oper, const u8 *peer, u8 *buf, u16 *buf_len) argument
759 hostapd_drv_send_action(struct hostapd_data *hapd, unsigned int freq, unsigned int wait, const u8 *dst, const u8 *data, size_t len) argument
797 hostapd_drv_send_action_addr3_ap(struct hostapd_data *hapd, unsigned int freq, unsigned int wait, const u8 *dst, const u8 *data, size_t len) argument
817 struct hostapd_data *hapd = iface->bss[0]; local
852 hostapd_drv_set_qos_map(struct hostapd_data *hapd, const u8 *qos_map_set, u8 qos_map_set_len) argument
862 hostapd_get_hw_mode_any_channels(struct hostapd_data *hapd, struct hostapd_hw_modes *mode, int acs_ch_list_all, int **freq_list) argument
900 struct hostapd_data *hapd = iface->bss[0]; local
912 hostapd_drv_do_acs(struct hostapd_data *hapd) argument
984 hostapd_drv_update_dh_ie(struct hostapd_data *hapd, const u8 *peer, u16 reason_code, const u8 *ie, size_t ielen) argument
994 hostapd_drv_dpp_listen(struct hostapd_data *hapd, bool enable) argument
[all...]
H A Ddpp_hostapd.c28 static void hostapd_dpp_auth_success(struct hostapd_data *hapd, int initiator);
30 static int hostapd_dpp_auth_init_next(struct hostapd_data *hapd);
34 static void hostapd_dpp_handle_config_obj(struct hostapd_data *hapd,
44 * @hapd: Pointer to hostapd_data
48 int hostapd_dpp_qr_code(struct hostapd_data *hapd, const char *cmd) argument
51 struct dpp_authentication *auth = hapd->dpp_auth;
53 bi = dpp_add_qr_code(hapd->iface->interfaces->dpp, cmd);
61 wpa_msg(hapd->msg_ctx, MSG_INFO, DPP_EVENT_TX "dst=" MACSTR
65 hostapd_drv_send_action(hapd, auth->curr_freq, 0,
67 wpabuf_head(hapd
85 hostapd_dpp_nfc_uri(struct hostapd_data *hapd, const char *cmd) argument
97 hostapd_dpp_nfc_handover_req(struct hostapd_data *hapd, const char *cmd) argument
128 hostapd_dpp_nfc_handover_sel(struct hostapd_data *hapd, const char *cmd) argument
165 struct hostapd_data *hapd = eloop_ctx; local
183 hostapd_dpp_auth_resp_retry(struct hostapd_data *hapd) argument
219 hostapd_dpp_tx_status(struct hostapd_data *hapd, const u8 *dst, const u8 *data, size_t data_len, int ok) argument
325 struct hostapd_data *hapd = eloop_ctx; local
398 struct hostapd_data *hapd = eloop_ctx; local
414 hostapd_dpp_set_testing_options(struct hostapd_data *hapd, struct dpp_authentication *auth) argument
434 struct hostapd_data *hapd = eloop_ctx; local
443 hostapd_dpp_auth_init_next(struct hostapd_data *hapd) argument
536 struct hostapd_data *hapd = ctx; local
548 hostapd_dpp_auth_init(struct hostapd_data *hapd, const char *cmd) argument
677 hostapd_dpp_listen(struct hostapd_data *hapd, const char *cmd) argument
707 hostapd_dpp_listen_stop(struct hostapd_data *hapd) argument
714 hostapd_dpp_rx_auth_req(struct hostapd_data *hapd, const u8 *src, const u8 *hdr, const u8 *buf, size_t len, unsigned int freq) argument
804 hostapd_dpp_handle_config_obj(struct hostapd_data *hapd, struct dpp_authentication *auth, struct dpp_config_obj *conf) argument
877 hostapd_dpp_handle_key_pkg(struct hostapd_data *hapd, struct dpp_asymmetric_key *key) argument
909 struct hostapd_data *hapd = ctx; local
992 hostapd_dpp_start_gas_client(struct hostapd_data *hapd) argument
1023 hostapd_dpp_auth_success(struct hostapd_data *hapd, int initiator) argument
1045 hostapd_dpp_rx_auth_resp(struct hostapd_data *hapd, const u8 *src, const u8 *hdr, const u8 *buf, size_t len, unsigned int freq) argument
1098 hostapd_dpp_rx_auth_conf(struct hostapd_data *hapd, const u8 *src, const u8 *hdr, const u8 *buf, size_t len) argument
1132 struct hostapd_data *hapd = eloop_ctx; local
1149 struct hostapd_data *hapd = eloop_ctx; local
1164 hostapd_dpp_rx_conf_result(struct hostapd_data *hapd, const u8 *src, const u8 *hdr, const u8 *buf, size_t len) argument
1215 hostapd_dpp_rx_conn_status_result(struct hostapd_data *hapd, const u8 *src, const u8 *hdr, const u8 *buf, size_t len) argument
1250 hostapd_dpp_rx_presence_announcement(struct hostapd_data *hapd, const u8 *src, const u8 *hdr, const u8 *buf, size_t len, unsigned int freq) argument
1321 struct hostapd_data *hapd = eloop_ctx; local
1335 hostapd_dpp_rx_reconfig_announcement(struct hostapd_data *hapd, const u8 *src, const u8 *hdr, const u8 *buf, size_t len, unsigned int freq) argument
1429 hostapd_dpp_rx_reconfig_auth_resp(struct hostapd_data *hapd, const u8 *src, const u8 *hdr, const u8 *buf, size_t len, unsigned int freq) argument
1474 hostapd_dpp_send_peer_disc_resp(struct hostapd_data *hapd, const u8 *src, unsigned int freq, u8 trans_id, enum dpp_status_error status) argument
1600 hostapd_dpp_rx_peer_disc_req(struct hostapd_data *hapd, const u8 *src, const u8 *buf, size_t len, unsigned int freq) argument
1714 hostapd_dpp_rx_pkex_exchange_req(struct hostapd_data *hapd, const u8 *src, const u8 *buf, size_t len, unsigned int freq, bool v2) argument
1769 hostapd_dpp_rx_pkex_exchange_resp(struct hostapd_data *hapd, const u8 *src, const u8 *buf, size_t len, unsigned int freq) argument
1805 hostapd_dpp_rx_pkex_commit_reveal_req(struct hostapd_data *hapd, const u8 *src, const u8 *hdr, const u8 *buf, size_t len, unsigned int freq) argument
1853 hostapd_dpp_rx_pkex_commit_reveal_resp(struct hostapd_data *hapd, const u8 *src, const u8 *hdr, const u8 *buf, size_t len, unsigned int freq) argument
1895 hostapd_dpp_rx_action(struct hostapd_data *hapd, const u8 *src, const u8 *buf, size_t len, unsigned int freq) argument
2020 hostapd_dpp_gas_req_handler(struct hostapd_data *hapd, const u8 *sa, const u8 *query, size_t query_len, const u8 *data, size_t data_len) argument
2065 hostapd_dpp_gas_status_handler(struct hostapd_data *hapd, int ok) argument
2103 hostapd_dpp_configurator_sign(struct hostapd_data *hapd, const char *cmd) argument
2128 hostapd_dpp_pkex_add(struct hostapd_data *hapd, const char *cmd) argument
2206 hostapd_dpp_pkex_remove(struct hostapd_data *hapd, const char *id) argument
2236 hostapd_dpp_stop(struct hostapd_data *hapd) argument
2250 struct hostapd_data *hapd = ctx; local
2270 struct hostapd_data *hapd = ctx; local
2278 hostapd_dpp_add_controllers(struct hostapd_data *hapd) argument
2301 hostapd_dpp_init(struct hostapd_data *hapd) argument
2309 hostapd_dpp_deinit(struct hostapd_data *hapd) argument
2348 hostapd_dpp_controller_start(struct hostapd_data *hapd, const char *cmd) argument
2391 struct hostapd_data *hapd = eloop_ctx; local
2399 hostapd_dpp_chirp_start(struct hostapd_data *hapd) argument
2420 dpp_get_mode(struct hostapd_data *hapd, enum hostapd_hw_mode mode) argument
2441 struct hostapd_data *hapd = iface->bss[0]; local
2543 struct hostapd_data *hapd = eloop_ctx; local
2620 hostapd_dpp_chirp(struct hostapd_data *hapd, const char *cmd) argument
2667 hostapd_dpp_chirp_stop(struct hostapd_data *hapd) argument
2697 struct hostapd_data *hapd = iface->bss[i]; local
[all...]
/freebsd-current/contrib/wpa/hostapd/
H A Dctrl_iface.h13 int hostapd_ctrl_iface_init(struct hostapd_data *hapd);
14 void hostapd_ctrl_iface_deinit(struct hostapd_data *hapd);
18 static inline int hostapd_ctrl_iface_init(struct hostapd_data *hapd) argument
23 static inline void hostapd_ctrl_iface_deinit(struct hostapd_data *hapd) argument

Completed in 214 milliseconds

12345