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

1 2 3

  /external/wpa_supplicant_8/src/ap/
authsrv.h 12 int authsrv_init(struct hostapd_data *hapd);
13 void authsrv_deinit(struct hostapd_data *hapd);
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);
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 void accounting_sta_get_id(struct hostapd_data *hapd,
18 static inline void accounting_sta_start(struct hostapd_data *hapd,
23 static inline void accounting_sta_stop(struct hostapd_data *hapd,
28 static inline int accounting_init(struct hostapd_data *hapd)
33 static inline void accounting_deinit(struct hostapd_data *hapd)
37 void accounting_sta_get_id(struct hostapd_data *hapd, struct sta_info *sta);
38 void accounting_sta_start(struct hostapd_data *hapd, struct sta_info *sta);
39 void accounting_sta_stop(struct hostapd_data *hapd, struct sta_info *sta);
40 int accounting_init(struct hostapd_data *hapd);
41 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...]
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,
19 int vlan_remove_dynamic(struct hostapd_data *hapd, int vlan_id);
20 int vlan_setup_encryption_dyn(struct hostapd_data *hapd,
24 static inline int vlan_init(struct hostapd_data *hapd)
29 static inline void vlan_deinit(struct hostapd_data *hapd)
33 static inline struct hostapd_vlan * vlan_add_dynamic(struct hostapd_data *hapd,
40 static inline int vlan_remove_dynamic(struct hostapd_data *hapd, int vlan_id)
45 static inline int vlan_setup_encryption_dyn(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...]
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_set_ap_wps_ie(struct hostapd_data *hapd);
28 int hostapd_set_authorized(struct hostapd_data *hapd,
30 int hostapd_set_sta_flags(struct hostapd_data *hapd, struct sta_info *sta);
31 int hostapd_set_drv_ieee8021x(struct hostapd_data *hapd, const char *ifname,
33 int hostapd_vlan_if_add(struct hostapd_data *hapd, const char *ifname);
34 int hostapd_vlan_if_remove(struct hostapd_data *hapd, const char *ifname);
35 int hostapd_set_wds_sta(struct hostapd_data *hapd, char *ifname_wds,
37 int hostapd_sta_add(struct hostapd_data *hapd,
    [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,
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);
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,
utils.c 17 int hostapd_register_probereq_cb(struct hostapd_data *hapd,
26 n = os_realloc_array(hapd->probereq_cb, hapd->num_probereq_cb + 1,
31 hapd->probereq_cb = n;
32 n = &hapd->probereq_cb[hapd->num_probereq_cb];
33 hapd->num_probereq_cb++;
43 struct hostapd_data *hapd; member in struct:prune_data
56 if (ohapd == data->hapd)
70 * @hapd: Pointer to BSS data for the most recent associatio
    [all...]
ap_drv_ops.c 39 int hostapd_build_ap_extra_ies(struct hostapd_data *hapd,
50 pos = hostapd_eid_time_adv(hapd, pos);
56 pos = hostapd_eid_time_zone(hapd, pos);
64 pos = hostapd_eid_ext_capab(hapd, pos);
70 pos = hostapd_eid_interworking(hapd, pos);
71 pos = hostapd_eid_adv_proto(hapd, pos);
72 pos = hostapd_eid_roaming_consortium(hapd, pos);
83 if (hapd->wps_beacon_ie) {
84 if (wpabuf_resize(&beacon, wpabuf_len(hapd->wps_beacon_ie)) <
87 wpabuf_put_buf(beacon, hapd->wps_beacon_ie)
755 struct hostapd_data *hapd = iface->bss[0]; local
    [all...]
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);
68 * @hapd: BSS data
77 void mlme_deauthenticate_indication(struct hostapd_data *hapd,
80 hostapd_logger(hapd, sta->addr, HOSTAPD_MODULE_MLME,
84 if (!hapd->iface->driver_ap_teardown)
85 mlme_deletekeys_request(hapd, sta);
92 * @hapd: BSS dat
    [all...]
beacon.c 35 static u8 * hostapd_eid_bss_load(struct hostapd_data *hapd, u8 *eid, size_t len)
38 if (hapd->conf->bss_load_test_set) {
43 os_memcpy(eid, hapd->conf->bss_load_test, 5);
51 static u8 ieee802_11_erp_info(struct hostapd_data *hapd)
55 if (hapd->iface->current_mode == NULL ||
56 hapd->iface->current_mode->mode != HOSTAPD_MODE_IEEE80211G)
59 if (hapd->iface->olbc)
61 if (hapd->iface->num_sta_non_erp > 0) {
65 if (hapd->iface->num_sta_no_short_preamble > 0 ||
66 hapd->iconf->preamble == LONG_PREAMBLE
    [all...]
ieee802_11.h 19 int ieee802_11_mgmt(struct hostapd_data *hapd, const u8 *buf, size_t len,
21 void ieee802_11_mgmt_cb(struct hostapd_data *hapd, const u8 *buf, size_t len,
23 void hostapd_2040_coex_action(struct hostapd_data *hapd,
26 int ieee802_11_get_mib(struct hostapd_data *hapd, char *buf, size_t buflen);
27 int ieee802_11_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta,
30 static inline int ieee802_11_get_mib(struct hostapd_data *hapd, char *buf,
36 static inline int ieee802_11_get_mib_sta(struct hostapd_data *hapd,
43 u16 hostapd_own_capab_info(struct hostapd_data *hapd, struct sta_info *sta,
46 u8 * hostapd_eid_ext_capab(struct hostapd_data *hapd, u8 *eid);
47 u8 * hostapd_eid_qos_map_set(struct hostapd_data *hapd, u8 *eid)
    [all...]
sta_info.c 36 static void ap_sta_remove_in_other_bss(struct hostapd_data *hapd,
45 static int ap_sta_remove(struct hostapd_data *hapd, struct sta_info *sta);
47 int ap_for_each_sta(struct hostapd_data *hapd,
48 int (*cb)(struct hostapd_data *hapd, struct sta_info *sta,
54 for (sta = hapd->sta_list; sta; sta = sta->next) {
55 if (cb(hapd, sta, ctx))
63 struct sta_info * ap_get_sta(struct hostapd_data *hapd, const u8 *sta)
67 s = hapd->sta_hash[STA_HASH(sta)];
75 struct sta_info * ap_get_sta_p2p(struct hostapd_data *hapd, const u8 *addr)
79 for (sta = hapd->sta_list; sta; sta = sta->next)
318 struct hostapd_data *hapd = eloop_ctx; local
477 struct hostapd_data *hapd = eloop_ctx; local
535 struct hostapd_data *hapd = eloop_ctx; local
647 struct hostapd_data *hapd = eloop_ctx; local
685 struct hostapd_data *hapd = eloop_ctx; local
885 struct hostapd_data *hapd = eloop_ctx; local
    [all...]
ieee802_11_shared.c 22 u8 * hostapd_eid_assoc_comeback_time(struct hostapd_data *hapd,
35 if (hapd->conf->assoc_sa_query_max_timeout > tu)
36 timeout = hapd->conf->assoc_sa_query_max_timeout - tu;
39 if (timeout < hapd->conf->assoc_sa_query_max_timeout)
49 void ieee802_11_send_sa_query_req(struct hostapd_data *hapd,
64 os_memcpy(mgmt.sa, hapd->own_addr, ETH_ALEN);
65 os_memcpy(mgmt.bssid, hapd->own_addr, ETH_ALEN);
71 if (hostapd_drv_send_mlme(hapd, &mgmt, end - (u8 *) &mgmt, 0) < 0)
76 static void ieee802_11_send_sa_query_resp(struct hostapd_data *hapd,
88 sta = ap_get_sta(hapd, sa)
    [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
617 struct hostapd_data *hapd = ctx; local
624 struct hostapd_data *hapd = eloop_data; local
790 struct hostapd_data *hapd = ctx; local
845 struct hostapd_data *hapd = ctx; local
875 struct hostapd_data *hapd = iface->bss[j]; local
1329 struct hostapd_data *hapd = ctx; local
1389 struct hostapd_data *hapd = priv; local
1497 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);
91 static int hostapd_setup_radius_srv(struct hostapd_data *hapd)
94 struct hostapd_bss_config *conf = hapd->conf;
99 srv.conf_ctx = hapd;
100 srv.eap_sim_db_priv = hapd->eap_sim_db_priv;
101 srv.ssl_ctx = hapd->ssl_ctx;
102 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)
  /external/wpa_supplicant_8/wpa_supplicant/tests/
link_test.c 21 struct sta_info * ap_get_sta(struct hostapd_data *hapd, const u8 *sta)
27 int ap_for_each_sta(struct hostapd_data *hapd,
28 int (*cb)(struct hostapd_data *hapd, struct sta_info *sta,
36 void ap_sta_session_timeout(struct hostapd_data *hapd, struct sta_info *sta,
42 int ap_sta_bind_vlan(struct hostapd_data *hapd, struct sta_info *sta,
49 void rsn_preauth_finished(struct hostapd_data *hapd, struct sta_info *sta,
55 void rsn_preauth_send(struct hostapd_data *hapd, struct sta_info *sta,
61 void accounting_sta_start(struct hostapd_data *hapd, struct sta_info *sta)

Completed in 250 milliseconds

1 2 3