HomeSort by relevance Sort by last modified time
    Searched refs:hapd (Results 1 - 25 of 82) sorted by null

1 2 3 4

  /external/wpa_supplicant_8/src/ap/
authsrv.h 12 int authsrv_init(struct hostapd_data *hapd);
13 void authsrv_deinit(struct hostapd_data *hapd);
bss_load.h 13 int bss_load_update_init(struct hostapd_data *hapd);
14 void bss_load_update_deinit(struct hostapd_data *hapd);
bss_load.c 21 struct hostapd_data *hapd = eloop_data; local
25 if (!(hapd->beacon_set_done && hapd->started))
28 err = hostapd_drv_get_survey(hapd, hapd->iface->freq);
34 ieee802_11_set_beacon(hapd);
36 sec = ((hapd->bss_load_update_timeout / 1000) * 1024) / 1000;
37 usec = (hapd->bss_load_update_timeout % 1000) * 1024;
38 eloop_register_timeout(sec, usec, update_channel_utilization, hapd,
43 int bss_load_update_init(struct hostapd_data *hapd)
    [all...]
tkip_countermeasures.c 26 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)
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->wpa_auth)
    [all...]
wpa_auth_glue.h 12 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);
dhcp_snoop.h 14 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)
24 static inline void dhcp_snoop_deinit(struct hostapd_data *hapd)
ap_drv_ops.h 20 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...]
ndisc_snoop.h 14 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)
25 static inline void ndisc_snoop_deinit(struct hostapd_data *hapd)
29 static inline void sta_ip6addr_del(struct hostapd_data *hapd,
wps_hostapd.h 14 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...]
accounting.h 13 static inline int accounting_sta_get_id(struct hostapd_data *hapd,
19 static inline void accounting_sta_start(struct hostapd_data *hapd,
24 static inline void accounting_sta_stop(struct hostapd_data *hapd,
29 static inline int accounting_init(struct hostapd_data *hapd)
34 static inline void accounting_deinit(struct hostapd_data *hapd)
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...]
preauth_auth.h 14 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)
29 static inline void rsn_preauth_iface_deinit(struct hostapd_data *hapd)
33 static inline void rsn_preauth_finished(struct hostapd_data *hapd,
39 static inline void rsn_preauth_send(struct hostapd_data *hapd,
45 static inline void rsn_preauth_free_station(struct hostapd_data *hapd,
    [all...]
ap_mlme.h 14 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);
p2p_hostapd.c 23 int hostapd_p2p_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta,
33 int hostapd_p2p_set_noa(struct hostapd_data *hapd, u8 count, int start,
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->num_sta_no_p2p == 0)
    [all...]
ctrl_iface_ap.h 12 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);
p2p_hostapd.h 14 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,
33 u8 * hostapd_eid_p2p_manage(struct hostapd_data *hapd, u8 *eid);
tkip_countermeasures.h 12 int michael_mic_failure(struct hostapd_data *hapd, const u8 *addr, int local);
13 void ieee80211_tkip_countermeasures_deinit(struct hostapd_data *hapd);
vlan_init.h 14 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)
27 static inline void vlan_deinit(struct hostapd_data *hapd)
32 vlan_add_dynamic(struct hostapd_data *hapd, struct hostapd_vlan *vlan,
38 static inline int vlan_remove_dynamic(struct hostapd_data *hapd, int vlan_id)
ap_mlme.c 42 * @hapd: BSS data
53 void mlme_authenticate_indication(struct hostapd_data *hapd,
56 hostapd_logger(hapd, sta->addr, HOSTAPD_MODULE_MLME,
61 mlme_deletekeys_request(hapd, sta);
62 ap_sta_clear_disconnect_timeouts(hapd, sta);
69 * @hapd: BSS data
78 void mlme_deauthenticate_indication(struct hostapd_data *hapd,
81 hostapd_logger(hapd, sta->addr, HOSTAPD_MODULE_MLME,
85 if (!hapd->iface->driver_ap_teardown)
86 mlme_deletekeys_request(hapd, sta)
    [all...]
ap_drv_ops.c 66 int hostapd_build_ap_extra_ies(struct hostapd_data *hapd,
77 pos = hostapd_eid_time_adv(hapd, pos);
80 pos = hostapd_eid_time_zone(hapd, pos);
85 pos = hostapd_eid_ext_capab(hapd, pos);
88 pos = hostapd_eid_interworking(hapd, pos);
89 pos = hostapd_eid_adv_proto(hapd, pos);
90 pos = hostapd_eid_roaming_consortium(hapd, pos);
96 if (add_buf(&beacon, hapd->iface->fst_ies) < 0 ||
97 add_buf(&proberesp, hapd->iface->fst_ies) < 0 ||
98 add_buf(&assocresp, hapd->iface->fst_ies) < 0
689 struct hostapd_data *hapd = iface->bss[0]; local
    [all...]
hs20.h 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,
beacon.c 36 static u8 * hostapd_eid_rm_enabled_capab(struct hostapd_data *hapd, u8 *eid,
39 if (!hapd->conf->radio_measurements || len < 2 + 4)
44 *eid++ = (hapd->conf->radio_measurements & BIT(0)) ?
54 static u8 * hostapd_eid_bss_load(struct hostapd_data *hapd, u8 *eid, size_t len)
60 if (hapd->conf->bss_load_test_set) {
63 os_memcpy(eid, hapd->conf->bss_load_test, 5);
68 if (hapd->conf->bss_load_update_period) {
71 WPA_PUT_LE16(eid, hapd->num_sta);
73 *eid++ = hapd->iface->channel_utilization;
81 static u8 ieee802_11_erp_info(struct hostapd_data *hapd)
655 struct hostapd_data *hapd = NULL; local
    [all...]
utils.c 18 int hostapd_register_probereq_cb(struct hostapd_data *hapd,
27 n = os_realloc_array(hapd->probereq_cb, hapd->num_probereq_cb + 1,
32 hapd->probereq_cb = n;
33 n = &hapd->probereq_cb[hapd->num_probereq_cb];
34 hapd->num_probereq_cb++;
44 struct hostapd_data *hapd; member in struct:prune_data
57 if (ohapd == data->hapd)
62 data->hapd->iface->fst &
    [all...]
wps_hostapd.c 33 static int hostapd_wps_upnp_init(struct hostapd_data *hapd,
35 static void hostapd_wps_upnp_deinit(struct hostapd_data *hapd);
61 struct hostapd_data *hapd = iface->bss[j]; local
64 if (hapd != data->calling_hapd &&
65 (hapd->conf->wps_independent ||
69 ret = data->func(hapd, data->ctx);
78 static int hostapd_wps_for_each(struct hostapd_data *hapd,
82 struct hostapd_iface *iface = hapd->iface;
86 data.calling_hapd = hapd;
99 struct hostapd_data *hapd = ctx local
160 struct hostapd_data *hapd = ctx; local
174 struct hostapd_data *hapd = ctx; local
231 struct hostapd_data *hapd = ctx; local
256 struct hostapd_data *hapd = ctx; local
631 struct hostapd_data *hapd = ctx; local
638 struct hostapd_data *hapd = eloop_data; local
804 struct hostapd_data *hapd = ctx; local
859 struct hostapd_data *hapd = ctx; local
894 struct hostapd_data *hapd = iface->bss[j]; local
1390 struct hostapd_data *hapd = ctx; local
1450 struct hostapd_data *hapd = priv; local
1558 struct hostapd_data *hapd = eloop_data; local
    [all...]
authsrv.c 29 static int hostapd_sim_db_cb_sta(struct hostapd_data *hapd,
40 struct hostapd_data *hapd = ctx; local
41 if (ap_for_each_sta(hapd, hostapd_sim_db_cb_sta, session_ctx) == 0) {
43 radius_server_eap_pending_cb(hapd->radius_srv, session_ctx);
97 static int hostapd_setup_radius_srv(struct hostapd_data *hapd)
100 struct hostapd_bss_config *conf = hapd->conf;
105 srv.conf_ctx = hapd;
106 srv.eap_sim_db_priv = hapd->eap_sim_db_priv;
107 srv.ssl_ctx = hapd->ssl_ctx;
108 srv.msg_ctx = hapd->msg_ctx
    [all...]
  /external/wpa_supplicant_8/hostapd/
ctrl_iface.h 13 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)
23 static inline void hostapd_ctrl_iface_deinit(struct hostapd_data *hapd)

Completed in 97 milliseconds

1 2 3 4