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

1 2 3 4

  /external/wpa_supplicant_8/src/ap/
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...]
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...]
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...]
ieee802_11.h 20 int ieee802_11_mgmt(struct hostapd_data *hapd, const u8 *buf, size_t len,
22 void ieee802_11_mgmt_cb(struct hostapd_data *hapd, const u8 *buf, size_t len,
24 void hostapd_2040_coex_action(struct hostapd_data *hapd,
27 int ieee802_11_get_mib(struct hostapd_data *hapd, char *buf, size_t buflen);
28 int ieee802_11_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta,
31 static inline int ieee802_11_get_mib(struct hostapd_data *hapd, char *buf,
37 static inline int ieee802_11_get_mib_sta(struct hostapd_data *hapd,
44 u16 hostapd_own_capab_info(struct hostapd_data *hapd);
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...]
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...]
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...]
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...]
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);
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,
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);
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...]
sta_info.c 40 static void ap_sta_remove_in_other_bss(struct hostapd_data *hapd,
49 static int ap_sta_remove(struct hostapd_data *hapd, struct sta_info *sta);
51 int ap_for_each_sta(struct hostapd_data *hapd,
52 int (*cb)(struct hostapd_data *hapd, struct sta_info *sta,
58 for (sta = hapd->sta_list; sta; sta = sta->next) {
59 if (cb(hapd, sta, ctx))
67 struct sta_info * ap_get_sta(struct hostapd_data *hapd, const u8 *sta)
71 s = hapd->sta_hash[STA_HASH(sta)];
79 struct sta_info * ap_get_sta_p2p(struct hostapd_data *hapd, const u8 *addr)
83 for (sta = hapd->sta_list; sta; sta = sta->next)
367 struct hostapd_data *hapd = eloop_ctx; local
534 struct hostapd_data *hapd = eloop_ctx; local
594 struct hostapd_data *hapd = eloop_ctx; local
720 struct hostapd_data *hapd = eloop_ctx; local
761 struct hostapd_data *hapd = eloop_ctx; local
1042 struct hostapd_data *hapd = eloop_ctx; local
    [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,
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)
x_snoop.h 16 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)
35 x_snoop_get_l2_packet(struct hostapd_data *hapd,
44 x_snoop_mcast_to_ucast_convert_send(struct hostapd_data *hapd,
50 static inline void x_snoop_deinit(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)
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,
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);
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...]
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...]
ieee802_1x.h 21 void ieee802_1x_receive(struct hostapd_data *hapd, const u8 *sa, const u8 *buf,
23 void ieee802_1x_new_station(struct hostapd_data *hapd, struct sta_info *sta);
24 void ieee802_1x_free_station(struct hostapd_data *hapd, struct sta_info *sta);
26 void ieee802_1x_abort_auth(struct hostapd_data *hapd, struct sta_info *sta);
27 void ieee802_1x_set_sta_authorized(struct hostapd_data *hapd,
30 int ieee802_1x_init(struct hostapd_data *hapd);
31 void ieee802_1x_erp_flush(struct hostapd_data *hapd);
32 void ieee802_1x_deinit(struct hostapd_data *hapd);
33 int ieee802_1x_tx_status(struct hostapd_data *hapd, struct sta_info *sta,
35 int ieee802_1x_eapol_tx_status(struct hostapd_data *hapd, struct sta_info *sta
    [all...]
ieee802_11_auth.h 19 int hostapd_check_acl(struct hostapd_data *hapd, const u8 *addr,
21 int hostapd_allowed_address(struct hostapd_data *hapd, const u8 *addr,
27 int hostapd_acl_init(struct hostapd_data *hapd);
28 void hostapd_acl_deinit(struct hostapd_data *hapd);
30 void hostapd_acl_expire(struct hostapd_data *hapd);
gas_serv.c 30 gas_dialog_create(struct hostapd_data *hapd, const u8 *addr, u8 dialog_token)
36 sta = ap_get_sta(hapd, addr);
44 sta = ap_sta_add(hapd, addr);
55 ap_sta_session_timeout(hapd, sta, 5);
57 ap_sta_replenish_timeout(hapd, sta, 5);
79 wpa_msg(hapd->msg_ctx, MSG_ERROR, "ANQP: Could not create dialog for "
88 gas_serv_dialog_find(struct hostapd_data *hapd, const u8 *addr,
94 sta = ap_get_sta(hapd, addr);
104 ap_sta_replenish_timeout(hapd, sta, 5);
120 static void gas_serv_free_dialogs(struct hostapd_data *hapd,
1432 struct hostapd_data *hapd = ctx; local
    [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);
vlan_init.c 22 static int vlan_if_add(struct hostapd_data *hapd, struct hostapd_vlan *vlan,
28 if (!hapd->conf->ssid.wep.key[i])
37 ret = hostapd_vlan_if_add(hapd, vlan->ifname);
48 if (hapd->wpa_auth)
49 ret = wpa_auth_ensure_group(hapd->wpa_auth, vlan->vlan_id);
56 if (wpa_auth_release_group(hapd->wpa_auth, vlan->vlan_id))
60 if (hostapd_vlan_if_remove(hapd, vlan->ifname))
67 int vlan_if_remove(struct hostapd_data *hapd, struct hostapd_vlan *vlan)
71 ret = wpa_auth_release_group(hapd->wpa_auth, vlan->vlan_id);
77 return hostapd_vlan_if_remove(hapd, vlan->ifname)
    [all...]

Completed in 219 milliseconds

1 2 3 4