HomeSort by relevance Sort by last modified time
    Searched refs:hapd (Results 1 - 25 of 69) 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 int hostapd_wps_add_pin(struct hostapd_data *hapd, const u8 *addr,
21 int hostapd_wps_button_pushed(struct hostapd_data *hapd,
23 int hostapd_wps_cancel(struct hostapd_data *hapd);
24 int hostapd_wps_get_mib_sta(struct hostapd_data *hapd, const u8 *addr,
26 void hostapd_wps_ap_pin_disable(struct hostapd_data *hapd);
27 const char * hostapd_wps_ap_pin_random(struct hostapd_data *hapd, int timeout)
    [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 20 int vlan_init(struct hostapd_data *hapd);
21 void vlan_deinit(struct hostapd_data *hapd);
22 struct hostapd_vlan * vlan_add_dynamic(struct hostapd_data *hapd,
25 int vlan_remove_dynamic(struct hostapd_data *hapd, int vlan_id);
26 int vlan_setup_encryption_dyn(struct hostapd_data *hapd,
30 static inline int vlan_init(struct hostapd_data *hapd)
35 static inline void vlan_deinit(struct hostapd_data *hapd)
39 static inline struct hostapd_vlan * vlan_add_dynamic(struct hostapd_data *hapd,
46 static inline int vlan_remove_dynamic(struct hostapd_data *hapd, int vlan_id)
51 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...]
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,
ap_drv_ops.h 19 int hostapd_build_ap_extra_ies(struct hostapd_data *hapd,
23 void hostapd_free_ap_extra_ies(struct hostapd_data *hapd, struct wpabuf *beacon,
26 int hostapd_set_ap_wps_ie(struct hostapd_data *hapd);
27 int hostapd_set_authorized(struct hostapd_data *hapd,
29 int hostapd_set_sta_flags(struct hostapd_data *hapd, struct sta_info *sta);
30 int hostapd_set_drv_ieee8021x(struct hostapd_data *hapd, const char *ifname,
32 int hostapd_vlan_if_add(struct hostapd_data *hapd, const char *ifname);
33 int hostapd_vlan_if_remove(struct hostapd_data *hapd, const char *ifname);
34 int hostapd_set_wds_sta(struct hostapd_data *hapd, const u8 *addr, int aid,
36 int hostapd_sta_add(struct hostapd_data *hapd,
    [all...]
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);
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...]
wnm_ap.h 14 int ieee802_11_rx_wnm_action_ap(struct hostapd_data *hapd,
ap_drv_ops.c 40 int hostapd_build_ap_extra_ies(struct hostapd_data *hapd,
51 pos = hostapd_eid_time_adv(hapd, pos);
57 pos = hostapd_eid_time_zone(hapd, pos);
65 pos = hostapd_eid_ext_capab(hapd, pos);
71 pos = hostapd_eid_interworking(hapd, pos);
72 pos = hostapd_eid_adv_proto(hapd, pos);
73 pos = hostapd_eid_roaming_consortium(hapd, pos);
84 if (hapd->wps_beacon_ie) {
85 if (wpabuf_resize(&beacon, wpabuf_len(hapd->wps_beacon_ie)) <
88 wpabuf_put_buf(beacon, hapd->wps_beacon_ie)
    [all...]
ap_mlme.c 41 * @hapd: BSS data
52 void mlme_authenticate_indication(struct hostapd_data *hapd,
55 hostapd_logger(hapd, sta->addr, HOSTAPD_MODULE_MLME,
60 mlme_deletekeys_request(hapd, sta);
67 * @hapd: BSS data
76 void mlme_deauthenticate_indication(struct hostapd_data *hapd,
79 hostapd_logger(hapd, sta->addr, HOSTAPD_MODULE_MLME,
83 mlme_deletekeys_request(hapd, sta);
90 * @hapd: BSS data
99 void mlme_associate_indication(struct hostapd_data *hapd, struct sta_info *sta
    [all...]
hostapd.c 37 static int hostapd_flush_old_stations(struct hostapd_data *hapd, u16 reason);
38 static int hostapd_setup_encryption(char *iface, struct hostapd_data *hapd);
39 static int hostapd_broadcast_wep_clear(struct hostapd_data *hapd);
62 static void hostapd_reload_bss(struct hostapd_data *hapd)
65 radius_client_reconfig(hapd->radius, hapd->conf->radius);
68 if (hostapd_setup_wpa_psk(hapd->conf)) {
73 if (hapd->conf->ieee802_1x || hapd->conf->wpa)
74 hostapd_set_drv_ieee8021x(hapd, hapd->conf->iface, 1)
135 struct hostapd_data *hapd = iface->bss[0]; local
440 struct hostapd_data *hapd = iface->bss[0]; local
600 struct hostapd_data *hapd = ctx; local
823 struct hostapd_data *hapd = iface->bss[0]; local
842 struct hostapd_data *hapd = iface->bss[0]; local
892 struct hostapd_data *hapd = iface->bss[0]; local
1033 struct hostapd_data *hapd; local
1059 struct hostapd_data *hapd = iface->bss[j]; local
1153 struct hostapd_data *hapd = hapd_iface->bss[j]; local
1247 struct hostapd_data *hapd; local
    [all...]
sta_info.c 36 static void ap_sta_remove_in_other_bss(struct hostapd_data *hapd,
44 static int ap_sta_remove(struct hostapd_data *hapd, struct sta_info *sta);
46 int ap_for_each_sta(struct hostapd_data *hapd,
47 int (*cb)(struct hostapd_data *hapd, struct sta_info *sta,
53 for (sta = hapd->sta_list; sta; sta = sta->next) {
54 if (cb(hapd, sta, ctx))
62 struct sta_info * ap_get_sta(struct hostapd_data *hapd, const u8 *sta)
66 s = hapd->sta_hash[STA_HASH(sta)];
73 static void ap_sta_list_del(struct hostapd_data *hapd, struct sta_info *sta)
77 if (hapd->sta_list == sta)
283 struct hostapd_data *hapd = eloop_ctx; local
436 struct hostapd_data *hapd = eloop_ctx; local
566 struct hostapd_data *hapd = eloop_ctx; local
604 struct hostapd_data *hapd = eloop_ctx; local
800 struct hostapd_data *hapd = eloop_ctx; local
    [all...]
ieee802_11.h 18 void ieee802_11_mgmt(struct hostapd_data *hapd, const u8 *buf, size_t len,
20 void ieee802_11_mgmt_cb(struct hostapd_data *hapd, const u8 *buf, size_t len,
24 int ieee802_11_get_mib(struct hostapd_data *hapd, char *buf, size_t buflen);
25 int ieee802_11_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta,
28 static inline int ieee802_11_get_mib(struct hostapd_data *hapd, char *buf,
34 static inline int ieee802_11_get_mib_sta(struct hostapd_data *hapd,
41 u16 hostapd_own_capab_info(struct hostapd_data *hapd, struct sta_info *sta,
43 u8 * hostapd_eid_ext_capab(struct hostapd_data *hapd, u8 *eid);
44 u8 * hostapd_eid_supp_rates(struct hostapd_data *hapd, u8 *eid);
45 u8 * hostapd_eid_ext_supp_rates(struct hostapd_data *hapd, u8 *eid)
    [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...]
beacon.h 21 void handle_probe_req(struct hostapd_data *hapd,
24 void ieee802_11_set_beacon(struct hostapd_data *hapd);
beacon.c 41 static u8 ieee802_11_erp_info(struct hostapd_data *hapd)
45 if (hapd->iface->current_mode == NULL ||
46 hapd->iface->current_mode->mode != HOSTAPD_MODE_IEEE80211G)
49 if (hapd->iface->olbc)
51 if (hapd->iface->num_sta_non_erp > 0) {
55 if (hapd->iface->num_sta_no_short_preamble > 0 ||
56 hapd->iconf->preamble == LONG_PREAMBLE)
63 static u8 * hostapd_eid_ds_params(struct hostapd_data *hapd, u8 *eid)
67 *eid++ = hapd->iconf->channel;
72 static u8 * hostapd_eid_erp_info(struct hostapd_data *hapd, u8 *eid
    [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 262 milliseconds

1 2 3