Home
last modified time | relevance | path

Searched refs:hapd (Results 1 – 25 of 33) sorted by relevance

12

/netbsd-src/external/bsd/wpa/dist/src/ap/
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);
[all …]
H A Dtkip_countermeasures.c26 struct hostapd_data *hapd = eloop_ctx; in ieee80211_tkip_countermeasures_stop() local
27 hapd->tkip_countermeasures = 0; in ieee80211_tkip_countermeasures_stop()
28 hostapd_drv_set_countermeasures(hapd, 0); in ieee80211_tkip_countermeasures_stop()
29 hostapd_logger(hapd, NULL, HOSTAPD_MODULE_IEEE80211, in ieee80211_tkip_countermeasures_stop()
34 static void ieee80211_tkip_countermeasures_start(struct hostapd_data *hapd) in ieee80211_tkip_countermeasures_start() argument
38 hostapd_logger(hapd, NULL, HOSTAPD_MODULE_IEEE80211, in ieee80211_tkip_countermeasures_start()
41 wpa_auth_countermeasures_start(hapd->wpa_auth); in ieee80211_tkip_countermeasures_start()
42 hapd->tkip_countermeasures = 1; in ieee80211_tkip_countermeasures_start()
43 hostapd_drv_set_countermeasures(hapd, 1); in ieee80211_tkip_countermeasures_start()
44 wpa_gtk_rekey(hapd->wpa_auth); in ieee80211_tkip_countermeasures_start()
[all …]
H A Daccounting.c30 static void accounting_sta_interim(struct hostapd_data *hapd,
34 static struct radius_msg * accounting_msg(struct hostapd_data *hapd, in accounting_msg() argument
47 radius_client_get_id(hapd->radius)); in accounting_msg()
61 hapd->conf->radius_acct_req_attr, in accounting_msg()
64 hapd->conf->ieee802_1x ? in accounting_msg()
96 if (add_common_radius_attr(hapd, hapd->conf->radius_acct_req_attr, sta, in accounting_msg()
100 if (sta && add_sqlite_radius_attr(hapd, sta, msg, 1) < 0) in accounting_msg()
170 static int accounting_sta_update_stats(struct hostapd_data *hapd, in accounting_sta_update_stats() argument
174 if (hostapd_drv_read_sta_data(hapd, data, sta->addr)) in accounting_sta_update_stats()
188 hostapd_logger(hapd, sta->addr, HOSTAPD_MODULE_RADIUS, in accounting_sta_update_stats()
[all …]
H A Dp2p_hostapd.c23 int hostapd_p2p_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta, in hostapd_p2p_get_mib_sta() argument
33 int hostapd_p2p_set_noa(struct hostapd_data *hapd, u8 count, int start, in hostapd_p2p_set_noa() argument
40 hapd->noa_enabled = 0; in hostapd_p2p_set_noa()
41 hapd->noa_start = 0; in hostapd_p2p_set_noa()
42 hapd->noa_duration = 0; in hostapd_p2p_set_noa()
48 return hostapd_driver_set_noa(hapd, count, start, duration); in hostapd_p2p_set_noa()
51 hapd->noa_enabled = 1; in hostapd_p2p_set_noa()
52 hapd->noa_start = start; in hostapd_p2p_set_noa()
53 hapd->noa_duration = duration; in hostapd_p2p_set_noa()
55 if (hapd->num_sta_no_p2p == 0) { in hostapd_p2p_set_noa()
[all …]
H A Dvlan_full.c50 static void dyn_iface_get(struct hostapd_data *hapd, const char *ifname, in dyn_iface_get() argument
56 interfaces = hapd->iface->interfaces; in dyn_iface_get()
87 static int dyn_iface_put(struct hostapd_data *hapd, const char *ifname) in dyn_iface_put() argument
93 interfaces = hapd->iface->interfaces; in dyn_iface_put()
389 struct hostapd_data *hapd) in vlan_newlink_tagged() argument
414 dyn_iface_get(hapd, vlan_ifname, clean); in vlan_newlink_tagged()
420 static void vlan_bridge_name(char *br_name, struct hostapd_data *hapd, in vlan_bridge_name() argument
423 char *tagged_interface = hapd->conf->ssid.vlan_tagged_interface; in vlan_bridge_name()
429 } else if (hapd->conf->vlan_bridge[0]) { in vlan_bridge_name()
431 hapd->conf->vlan_bridge, vid); in vlan_bridge_name()
[all …]
H A Deap_user_db.c135 eap_user_sqlite_get(struct hostapd_data *hapd, const u8 *identity, in eap_user_sqlite_get() argument
168 bin_clear_free(hapd->tmp_eap_user.identity, in eap_user_sqlite_get()
169 hapd->tmp_eap_user.identity_len); in eap_user_sqlite_get()
170 bin_clear_free(hapd->tmp_eap_user.password, in eap_user_sqlite_get()
171 hapd->tmp_eap_user.password_len); in eap_user_sqlite_get()
172 os_memset(&hapd->tmp_eap_user, 0, sizeof(hapd->tmp_eap_user)); in eap_user_sqlite_get()
173 hapd->tmp_eap_user.phase2 = phase2; in eap_user_sqlite_get()
174 hapd->tmp_eap_user.identity = os_zalloc(identity_len + 1); in eap_user_sqlite_get()
175 if (hapd->tmp_eap_user.identity == NULL) in eap_user_sqlite_get()
177 os_memcpy(hapd->tmp_eap_user.identity, identity, identity_len); in eap_user_sqlite_get()
[all …]
H A Daccounting.h13 static inline int accounting_sta_get_id(struct hostapd_data *hapd, in accounting_sta_get_id() argument
19 static inline void accounting_sta_start(struct hostapd_data *hapd, in accounting_sta_start() argument
24 static inline void accounting_sta_stop(struct hostapd_data *hapd, in accounting_sta_stop() argument
29 static inline int accounting_init(struct hostapd_data *hapd) in accounting_init() argument
34 static inline void accounting_deinit(struct hostapd_data *hapd) in accounting_deinit() 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);
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) in rsn_preauth_iface_init() argument
29 static inline void rsn_preauth_iface_deinit(struct hostapd_data *hapd) in rsn_preauth_iface_deinit() argument
33 static inline void rsn_preauth_finished(struct hostapd_data *hapd, in rsn_preauth_finished() argument
39 static inline void rsn_preauth_send(struct hostapd_data *hapd, in rsn_preauth_send() argument
45 static inline void rsn_preauth_free_station(struct hostapd_data *hapd, in rsn_preauth_free_station() 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, in ieee802_1x_alloc_kay_sm_hapd() argument
32 ieee802_1x_notify_create_actor_hapd(struct hostapd_data *hapd, in ieee802_1x_notify_create_actor_hapd() argument
38 static inline void ieee802_1x_dealloc_kay_sm_hapd(struct hostapd_data *hapd) in ieee802_1x_dealloc_kay_sm_hapd() argument
43 ieee802_1x_create_preshared_mka_hapd(struct hostapd_data *hapd, in ieee802_1x_create_preshared_mka_hapd() argument
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) in vlan_init() argument
27 static inline void vlan_deinit(struct hostapd_data *hapd) in vlan_deinit() argument
32 vlan_add_dynamic(struct hostapd_data *hapd, struct hostapd_vlan *vlan, in vlan_add_dynamic() argument
38 static inline int vlan_remove_dynamic(struct hostapd_data *hapd, int vlan_id) in vlan_remove_dynamic() argument
H A 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() argument
35 x_snoop_get_l2_packet(struct hostapd_data *hapd, in x_snoop_get_l2_packet() argument
44 x_snoop_mcast_to_ucast_convert_send(struct hostapd_data *hapd, in x_snoop_mcast_to_ucast_convert_send() argument
50 static inline void x_snoop_deinit(struct hostapd_data *hapd) in x_snoop_deinit() argument
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 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() argument
25 static inline void ndisc_snoop_deinit(struct hostapd_data *hapd) in ndisc_snoop_deinit() argument
29 static inline void sta_ip6addr_del(struct hostapd_data *hapd, in sta_ip6addr_del() argument
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, in hostapd_p2p_get_mib_sta() argument
33 u8 * hostapd_eid_p2p_manage(struct hostapd_data *hapd, u8 *eid);
H A Dhs20.h14 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,
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) in dhcp_snoop_init() argument
24 static inline void dhcp_snoop_deinit(struct hostapd_data *hapd) in dhcp_snoop_deinit() argument
H A Dtaxonomy.h12 void taxonomy_sta_info_probe_req(const struct hostapd_data *hapd,
15 void taxonomy_hostapd_sta_info_probe_req(const struct hostapd_data *hapd,
18 void taxonomy_sta_info_assoc_req(const struct hostapd_data *hapd,
21 int retrieve_sta_taxonomy(const struct hostapd_data *hapd,
H A Dvlan_util.h23 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);
H A Dmbo_ap.h18 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() argument
39 static inline void mbo_ap_wnm_notification_req(struct hostapd_data *hapd, in mbo_ap_wnm_notification_req() argument
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 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) in fils_hlp_deinit() argument
H A Dwmm.h16 u8 * hostapd_eid_wmm(struct hostapd_data *hapd, u8 *eid);
17 int hostapd_eid_wmm_valid(struct hostapd_data *hapd, const u8 *eid,
19 void hostapd_wmm_action(struct hostapd_data *hapd,
H A Dmbo_ap.c83 void mbo_ap_check_sta_assoc(struct hostapd_data *hapd, struct sta_info *sta, in mbo_ap_check_sta_assoc() argument
89 if (!hapd->conf->mbo_enabled || !elems->mbo) in mbo_ap_check_sta_assoc()
208 void mbo_ap_wnm_notification_req(struct hostapd_data *hapd, const u8 *addr, in mbo_ap_wnm_notification_req() argument
216 if (!hapd->conf->mbo_enabled) in mbo_ap_wnm_notification_req()
219 sta = ap_get_sta(hapd, addr); in mbo_ap_wnm_notification_req()
H A Dbss_load.h13 int bss_load_update_init(struct hostapd_data *hapd);
14 void bss_load_update_deinit(struct hostapd_data *hapd);
/netbsd-src/external/bsd/wpa/dist/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) in hostapd_ctrl_iface_init() argument
23 static inline void hostapd_ctrl_iface_deinit(struct hostapd_data *hapd) in hostapd_ctrl_iface_deinit() argument

12