/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
D | 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 …]
|
D | ap_drv_ops.c | 67 int hostapd_build_ap_extra_ies(struct hostapd_data *hapd, in hostapd_build_ap_extra_ies() argument 78 pos = hostapd_eid_time_adv(hapd, pos); in hostapd_build_ap_extra_ies() 81 pos = hostapd_eid_time_zone(hapd, pos); in hostapd_build_ap_extra_ies() 86 pos = hostapd_eid_ext_capab(hapd, pos); in hostapd_build_ap_extra_ies() 89 pos = hostapd_eid_interworking(hapd, pos); in hostapd_build_ap_extra_ies() 90 pos = hostapd_eid_adv_proto(hapd, pos); in hostapd_build_ap_extra_ies() 91 pos = hostapd_eid_roaming_consortium(hapd, pos); in hostapd_build_ap_extra_ies() 97 if (add_buf(&beacon, hapd->iface->fst_ies) < 0 || in hostapd_build_ap_extra_ies() 98 add_buf(&proberesp, hapd->iface->fst_ies) < 0 || in hostapd_build_ap_extra_ies() 99 add_buf(&assocresp, hapd->iface->fst_ies) < 0) in hostapd_build_ap_extra_ies() [all …]
|
D | dpp_hostapd.c | 25 static void hostapd_dpp_auth_success(struct hostapd_data *hapd, int initiator); 27 static int hostapd_dpp_auth_init_next(struct hostapd_data *hapd); 38 int hostapd_dpp_qr_code(struct hostapd_data *hapd, const char *cmd) in hostapd_dpp_qr_code() argument 41 struct dpp_authentication *auth = hapd->dpp_auth; in hostapd_dpp_qr_code() 43 bi = dpp_add_qr_code(hapd->iface->interfaces->dpp, cmd); in hostapd_dpp_qr_code() 51 wpa_msg(hapd->msg_ctx, MSG_INFO, DPP_EVENT_TX "dst=" MACSTR in hostapd_dpp_qr_code() 55 hostapd_drv_send_action(hapd, auth->curr_freq, 0, in hostapd_dpp_qr_code() 57 wpabuf_head(hapd->dpp_auth->resp_msg), in hostapd_dpp_qr_code() 58 wpabuf_len(hapd->dpp_auth->resp_msg)); in hostapd_dpp_qr_code() 68 struct hostapd_data *hapd = eloop_ctx; in hostapd_dpp_auth_resp_retry_timeout() local [all …]
|
D | wpa_auth_kay.c | 27 struct hostapd_data *hapd = priv; in hapd_macsec_init() local 29 if (!hapd->driver->macsec_init) in hapd_macsec_init() 31 return hapd->driver->macsec_init(hapd->drv_priv, params); in hapd_macsec_init() 37 struct hostapd_data *hapd = priv; in hapd_macsec_deinit() local 39 if (!hapd->driver->macsec_deinit) in hapd_macsec_deinit() 41 return hapd->driver->macsec_deinit(hapd->drv_priv); in hapd_macsec_deinit() 47 struct hostapd_data *hapd = priv; in hapd_macsec_get_capability() local 49 if (!hapd->driver->macsec_get_capability) in hapd_macsec_get_capability() 51 return hapd->driver->macsec_get_capability(hapd->drv_priv, cap); in hapd_macsec_get_capability() 57 struct hostapd_data *hapd = priv; in hapd_enable_protect_frames() local [all …]
|
D | beacon.c | 39 static u8 * hostapd_eid_rm_enabled_capab(struct hostapd_data *hapd, u8 *eid, in hostapd_eid_rm_enabled_capab() argument 45 if (hapd->conf->radio_measurements[i]) in hostapd_eid_rm_enabled_capab() 54 os_memcpy(eid, hapd->conf->radio_measurements, RRM_CAPABILITIES_IE_LEN); in hostapd_eid_rm_enabled_capab() 60 static u8 * hostapd_eid_bss_load(struct hostapd_data *hapd, u8 *eid, size_t len) in hostapd_eid_bss_load() argument 66 if (hapd->conf->bss_load_test_set) { in hostapd_eid_bss_load() 69 os_memcpy(eid, hapd->conf->bss_load_test, 5); in hostapd_eid_bss_load() 74 if (hapd->conf->bss_load_update_period) { in hostapd_eid_bss_load() 77 WPA_PUT_LE16(eid, hapd->num_sta); in hostapd_eid_bss_load() 79 *eid++ = hapd->iface->channel_utilization; in hostapd_eid_bss_load() 87 static u8 ieee802_11_erp_info(struct hostapd_data *hapd) in ieee802_11_erp_info() argument [all …]
|
D | sta_info.c | 43 static void ap_sta_remove_in_other_bss(struct hostapd_data *hapd, 52 static int ap_sta_remove(struct hostapd_data *hapd, struct sta_info *sta); 55 int ap_for_each_sta(struct hostapd_data *hapd, in ap_for_each_sta() argument 56 int (*cb)(struct hostapd_data *hapd, struct sta_info *sta, in ap_for_each_sta() argument 62 for (sta = hapd->sta_list; sta; sta = sta->next) { in ap_for_each_sta() 63 if (cb(hapd, sta, ctx)) in ap_for_each_sta() 71 struct sta_info * ap_get_sta(struct hostapd_data *hapd, const u8 *sta) in ap_get_sta() argument 75 s = hapd->sta_hash[STA_HASH(sta)]; in ap_get_sta() 83 struct sta_info * ap_get_sta_p2p(struct hostapd_data *hapd, const u8 *addr) in ap_get_sta_p2p() argument 87 for (sta = hapd->sta_list; sta; sta = sta->next) { in ap_get_sta_p2p() [all …]
|
D | ieee802_11_shared.c | 24 u8 * hostapd_eid_assoc_comeback_time(struct hostapd_data *hapd, in hostapd_eid_assoc_comeback_time() argument 37 if (hapd->conf->assoc_sa_query_max_timeout > tu) in hostapd_eid_assoc_comeback_time() 38 timeout = hapd->conf->assoc_sa_query_max_timeout - tu; in hostapd_eid_assoc_comeback_time() 41 if (timeout < hapd->conf->assoc_sa_query_max_timeout) in hostapd_eid_assoc_comeback_time() 51 void ieee802_11_send_sa_query_req(struct hostapd_data *hapd, in ieee802_11_send_sa_query_req() argument 68 sta = ap_get_sta(hapd, addr); in ieee802_11_send_sa_query_req() 72 if (hostapd_drv_channel_info(hapd, &ci) != 0) { in ieee802_11_send_sa_query_req() 104 os_memcpy(mgmt->sa, hapd->own_addr, ETH_ALEN); in ieee802_11_send_sa_query_req() 105 os_memcpy(mgmt->bssid, hapd->own_addr, ETH_ALEN); in ieee802_11_send_sa_query_req() 117 if (hostapd_drv_send_mlme(hapd, mgmt, end - (u8 *) mgmt, 0) < 0) in ieee802_11_send_sa_query_req() [all …]
|
D | 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]; in wps_for_each() local 64 if (hapd != data->calling_hapd && in wps_for_each() 65 (hapd->conf->wps_independent || in wps_for_each() 69 ret = data->func(hapd, data->ctx); in wps_for_each() 78 static int hostapd_wps_for_each(struct hostapd_data *hapd, in hostapd_wps_for_each() argument 82 struct hostapd_iface *iface = hapd->iface; in hostapd_wps_for_each() 86 data.calling_hapd = hapd; in hostapd_wps_for_each() 99 struct hostapd_data *hapd = ctx; in hostapd_wps_new_psk_cb() local [all …]
|
D | hostapd.c | 60 static int hostapd_flush_old_stations(struct hostapd_data *hapd, u16 reason); 61 static int hostapd_setup_encryption(char *iface, struct hostapd_data *hapd); 62 static int hostapd_broadcast_wep_clear(struct hostapd_data *hapd); 86 void hostapd_reconfig_encryption(struct hostapd_data *hapd) in hostapd_reconfig_encryption() argument 88 if (hapd->wpa_auth) in hostapd_reconfig_encryption() 91 hostapd_set_privacy(hapd, 0); in hostapd_reconfig_encryption() 92 hostapd_setup_encryption(hapd->conf->iface, hapd); in hostapd_reconfig_encryption() 96 static void hostapd_reload_bss(struct hostapd_data *hapd) in hostapd_reload_bss() argument 100 if (!hapd->started) in hostapd_reload_bss() 103 if (hapd->conf->wmm_enabled < 0) in hostapd_reload_bss() [all …]
|
D | wpa_auth_glue.c | 144 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_logger() local 160 hostapd_logger(hapd, addr, HOSTAPD_MODULE_WPA, hlevel, "%s", txt); in hostapd_wpa_auth_logger() 168 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_disconnect() local 172 ap_sta_disconnect(hapd, NULL, addr, reason); in hostapd_wpa_auth_disconnect() 178 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_mic_failure_report() local 179 return michael_mic_failure(hapd, addr, 0); in hostapd_wpa_auth_mic_failure_report() 185 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_psk_failure_report() local 186 wpa_msg(hapd->msg_ctx, MSG_INFO, AP_STA_POSSIBLE_PSK_MISMATCH MACSTR, in hostapd_wpa_auth_psk_failure_report() 194 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_set_eapol() local 195 struct sta_info *sta = ap_get_sta(hapd, addr); in hostapd_wpa_auth_set_eapol() [all …]
|
D | ieee802_11.h | 23 int ieee802_11_mgmt(struct hostapd_data *hapd, const u8 *buf, size_t len, 25 void ieee802_11_mgmt_cb(struct hostapd_data *hapd, const u8 *buf, size_t len, 27 void hostapd_2040_coex_action(struct hostapd_data *hapd, 30 int ieee802_11_get_mib(struct hostapd_data *hapd, char *buf, size_t buflen); 31 int ieee802_11_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta, 34 static inline int ieee802_11_get_mib(struct hostapd_data *hapd, char *buf, in ieee802_11_get_mib() argument 40 static inline int ieee802_11_get_mib_sta(struct hostapd_data *hapd, in ieee802_11_get_mib_sta() argument 47 u16 hostapd_own_capab_info(struct hostapd_data *hapd); 49 u8 * hostapd_eid_ext_capab(struct hostapd_data *hapd, u8 *eid); 50 u8 * hostapd_eid_qos_map_set(struct hostapd_data *hapd, u8 *eid); [all …]
|
D | authsrv.c | 29 static int hostapd_sim_db_cb_sta(struct hostapd_data *hapd, in hostapd_sim_db_cb_sta() argument 40 struct hostapd_data *hapd = ctx; in hostapd_sim_db_cb() local 41 if (ap_for_each_sta(hapd, hostapd_sim_db_cb_sta, session_ctx) == 0) { in hostapd_sim_db_cb() 43 radius_server_eap_pending_cb(hapd->radius_srv, session_ctx); in hostapd_sim_db_cb() 104 static int hostapd_setup_radius_srv(struct hostapd_data *hapd) in hostapd_setup_radius_srv() argument 107 struct hostapd_bss_config *conf = hapd->conf; in hostapd_setup_radius_srv() 112 srv.conf_ctx = hapd; in hostapd_setup_radius_srv() 113 srv.eap_sim_db_priv = hapd->eap_sim_db_priv; in hostapd_setup_radius_srv() 114 srv.ssl_ctx = hapd->ssl_ctx; in hostapd_setup_radius_srv() 115 srv.msg_ctx = hapd->msg_ctx; in hostapd_setup_radius_srv() [all …]
|
D | drv_callbacks.c | 46 void hostapd_notify_assoc_fils_finish(struct hostapd_data *hapd, in hostapd_notify_assoc_fils_finish() argument 56 eloop_cancel_timeout(fils_hlp_timeout, hapd, sta); in hostapd_notify_assoc_fils_finish() 72 reply_res = hostapd_sta_assoc(hapd, sta->addr, in hostapd_notify_assoc_fils_finish() 76 ap_sta_set_authorized(hapd, sta, 1); in hostapd_notify_assoc_fils_finish() 80 hostapd_set_sta_flags(hapd, sta); in hostapd_notify_assoc_fils_finish() 83 hostapd_new_assoc_sta(hapd, sta, !new_assoc); in hostapd_notify_assoc_fils_finish() 91 fils_hlp_deinit(hapd); in hostapd_notify_assoc_fils_finish() 99 hostapd_drv_sta_remove(hapd, sta->addr); in hostapd_notify_assoc_fils_finish() 106 int hostapd_notif_assoc(struct hostapd_data *hapd, const u8 *addr, in hostapd_notif_assoc() argument 137 os_memcmp(addr, hapd->own_addr, ETH_ALEN) == 0) { in hostapd_notif_assoc() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
D | 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 …]
|
D | ap_drv_ops.c | 67 int hostapd_build_ap_extra_ies(struct hostapd_data *hapd, in hostapd_build_ap_extra_ies() argument 78 pos = hostapd_eid_time_adv(hapd, pos); in hostapd_build_ap_extra_ies() 81 pos = hostapd_eid_time_zone(hapd, pos); in hostapd_build_ap_extra_ies() 86 pos = hostapd_eid_ext_capab(hapd, pos); in hostapd_build_ap_extra_ies() 89 pos = hostapd_eid_interworking(hapd, pos); in hostapd_build_ap_extra_ies() 90 pos = hostapd_eid_adv_proto(hapd, pos); in hostapd_build_ap_extra_ies() 91 pos = hostapd_eid_roaming_consortium(hapd, pos); in hostapd_build_ap_extra_ies() 97 if (add_buf(&beacon, hapd->iface->fst_ies) < 0 || in hostapd_build_ap_extra_ies() 98 add_buf(&proberesp, hapd->iface->fst_ies) < 0 || in hostapd_build_ap_extra_ies() 99 add_buf(&assocresp, hapd->iface->fst_ies) < 0) in hostapd_build_ap_extra_ies() [all …]
|
D | dpp_hostapd.c | 25 static void hostapd_dpp_auth_success(struct hostapd_data *hapd, int initiator); 27 static int hostapd_dpp_auth_init_next(struct hostapd_data *hapd); 38 int hostapd_dpp_qr_code(struct hostapd_data *hapd, const char *cmd) in hostapd_dpp_qr_code() argument 41 struct dpp_authentication *auth = hapd->dpp_auth; in hostapd_dpp_qr_code() 43 bi = dpp_add_qr_code(hapd->iface->interfaces->dpp, cmd); in hostapd_dpp_qr_code() 51 wpa_msg(hapd->msg_ctx, MSG_INFO, DPP_EVENT_TX "dst=" MACSTR in hostapd_dpp_qr_code() 55 hostapd_drv_send_action(hapd, auth->curr_freq, 0, in hostapd_dpp_qr_code() 57 wpabuf_head(hapd->dpp_auth->resp_msg), in hostapd_dpp_qr_code() 58 wpabuf_len(hapd->dpp_auth->resp_msg)); in hostapd_dpp_qr_code() 68 struct hostapd_data *hapd = eloop_ctx; in hostapd_dpp_auth_resp_retry_timeout() local [all …]
|
D | wpa_auth_kay.c | 27 struct hostapd_data *hapd = priv; in hapd_macsec_init() local 29 if (!hapd->driver->macsec_init) in hapd_macsec_init() 31 return hapd->driver->macsec_init(hapd->drv_priv, params); in hapd_macsec_init() 37 struct hostapd_data *hapd = priv; in hapd_macsec_deinit() local 39 if (!hapd->driver->macsec_deinit) in hapd_macsec_deinit() 41 return hapd->driver->macsec_deinit(hapd->drv_priv); in hapd_macsec_deinit() 47 struct hostapd_data *hapd = priv; in hapd_macsec_get_capability() local 49 if (!hapd->driver->macsec_get_capability) in hapd_macsec_get_capability() 51 return hapd->driver->macsec_get_capability(hapd->drv_priv, cap); in hapd_macsec_get_capability() 57 struct hostapd_data *hapd = priv; in hapd_enable_protect_frames() local [all …]
|
D | beacon.c | 39 static u8 * hostapd_eid_rm_enabled_capab(struct hostapd_data *hapd, u8 *eid, in hostapd_eid_rm_enabled_capab() argument 45 if (hapd->conf->radio_measurements[i]) in hostapd_eid_rm_enabled_capab() 54 os_memcpy(eid, hapd->conf->radio_measurements, RRM_CAPABILITIES_IE_LEN); in hostapd_eid_rm_enabled_capab() 60 static u8 * hostapd_eid_bss_load(struct hostapd_data *hapd, u8 *eid, size_t len) in hostapd_eid_bss_load() argument 66 if (hapd->conf->bss_load_test_set) { in hostapd_eid_bss_load() 69 os_memcpy(eid, hapd->conf->bss_load_test, 5); in hostapd_eid_bss_load() 74 if (hapd->conf->bss_load_update_period) { in hostapd_eid_bss_load() 77 WPA_PUT_LE16(eid, hapd->num_sta); in hostapd_eid_bss_load() 79 *eid++ = hapd->iface->channel_utilization; in hostapd_eid_bss_load() 87 static u8 ieee802_11_erp_info(struct hostapd_data *hapd) in ieee802_11_erp_info() argument [all …]
|
D | sta_info.c | 43 static void ap_sta_remove_in_other_bss(struct hostapd_data *hapd, 52 static int ap_sta_remove(struct hostapd_data *hapd, struct sta_info *sta); 55 int ap_for_each_sta(struct hostapd_data *hapd, in ap_for_each_sta() argument 56 int (*cb)(struct hostapd_data *hapd, struct sta_info *sta, in ap_for_each_sta() argument 62 for (sta = hapd->sta_list; sta; sta = sta->next) { in ap_for_each_sta() 63 if (cb(hapd, sta, ctx)) in ap_for_each_sta() 71 struct sta_info * ap_get_sta(struct hostapd_data *hapd, const u8 *sta) in ap_get_sta() argument 75 s = hapd->sta_hash[STA_HASH(sta)]; in ap_get_sta() 83 struct sta_info * ap_get_sta_p2p(struct hostapd_data *hapd, const u8 *addr) in ap_get_sta_p2p() argument 87 for (sta = hapd->sta_list; sta; sta = sta->next) { in ap_get_sta_p2p() [all …]
|
D | ieee802_11_shared.c | 24 u8 * hostapd_eid_assoc_comeback_time(struct hostapd_data *hapd, in hostapd_eid_assoc_comeback_time() argument 37 if (hapd->conf->assoc_sa_query_max_timeout > tu) in hostapd_eid_assoc_comeback_time() 38 timeout = hapd->conf->assoc_sa_query_max_timeout - tu; in hostapd_eid_assoc_comeback_time() 41 if (timeout < hapd->conf->assoc_sa_query_max_timeout) in hostapd_eid_assoc_comeback_time() 51 void ieee802_11_send_sa_query_req(struct hostapd_data *hapd, in ieee802_11_send_sa_query_req() argument 68 sta = ap_get_sta(hapd, addr); in ieee802_11_send_sa_query_req() 72 if (hostapd_drv_channel_info(hapd, &ci) != 0) { in ieee802_11_send_sa_query_req() 104 os_memcpy(mgmt->sa, hapd->own_addr, ETH_ALEN); in ieee802_11_send_sa_query_req() 105 os_memcpy(mgmt->bssid, hapd->own_addr, ETH_ALEN); in ieee802_11_send_sa_query_req() 117 if (hostapd_drv_send_mlme(hapd, mgmt, end - (u8 *) mgmt, 0) < 0) in ieee802_11_send_sa_query_req() [all …]
|
D | 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]; in wps_for_each() local 64 if (hapd != data->calling_hapd && in wps_for_each() 65 (hapd->conf->wps_independent || in wps_for_each() 69 ret = data->func(hapd, data->ctx); in wps_for_each() 78 static int hostapd_wps_for_each(struct hostapd_data *hapd, in hostapd_wps_for_each() argument 82 struct hostapd_iface *iface = hapd->iface; in hostapd_wps_for_each() 86 data.calling_hapd = hapd; in hostapd_wps_for_each() 99 struct hostapd_data *hapd = ctx; in hostapd_wps_new_psk_cb() local [all …]
|
D | hostapd.c | 60 static int hostapd_flush_old_stations(struct hostapd_data *hapd, u16 reason); 61 static int hostapd_setup_encryption(char *iface, struct hostapd_data *hapd); 62 static int hostapd_broadcast_wep_clear(struct hostapd_data *hapd); 86 void hostapd_reconfig_encryption(struct hostapd_data *hapd) in hostapd_reconfig_encryption() argument 88 if (hapd->wpa_auth) in hostapd_reconfig_encryption() 91 hostapd_set_privacy(hapd, 0); in hostapd_reconfig_encryption() 92 hostapd_setup_encryption(hapd->conf->iface, hapd); in hostapd_reconfig_encryption() 96 static void hostapd_reload_bss(struct hostapd_data *hapd) in hostapd_reload_bss() argument 100 if (!hapd->started) in hostapd_reload_bss() 103 if (hapd->conf->wmm_enabled < 0) in hostapd_reload_bss() [all …]
|
D | wpa_auth_glue.c | 144 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_logger() local 160 hostapd_logger(hapd, addr, HOSTAPD_MODULE_WPA, hlevel, "%s", txt); in hostapd_wpa_auth_logger() 168 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_disconnect() local 172 ap_sta_disconnect(hapd, NULL, addr, reason); in hostapd_wpa_auth_disconnect() 178 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_mic_failure_report() local 179 return michael_mic_failure(hapd, addr, 0); in hostapd_wpa_auth_mic_failure_report() 185 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_psk_failure_report() local 186 wpa_msg(hapd->msg_ctx, MSG_INFO, AP_STA_POSSIBLE_PSK_MISMATCH MACSTR, in hostapd_wpa_auth_psk_failure_report() 194 struct hostapd_data *hapd = ctx; in hostapd_wpa_auth_set_eapol() local 195 struct sta_info *sta = ap_get_sta(hapd, addr); in hostapd_wpa_auth_set_eapol() [all …]
|
D | ieee802_11.h | 23 int ieee802_11_mgmt(struct hostapd_data *hapd, const u8 *buf, size_t len, 25 void ieee802_11_mgmt_cb(struct hostapd_data *hapd, const u8 *buf, size_t len, 27 void hostapd_2040_coex_action(struct hostapd_data *hapd, 30 int ieee802_11_get_mib(struct hostapd_data *hapd, char *buf, size_t buflen); 31 int ieee802_11_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta, 34 static inline int ieee802_11_get_mib(struct hostapd_data *hapd, char *buf, in ieee802_11_get_mib() argument 40 static inline int ieee802_11_get_mib_sta(struct hostapd_data *hapd, in ieee802_11_get_mib_sta() argument 47 u16 hostapd_own_capab_info(struct hostapd_data *hapd); 49 u8 * hostapd_eid_ext_capab(struct hostapd_data *hapd, u8 *eid); 50 u8 * hostapd_eid_qos_map_set(struct hostapd_data *hapd, u8 *eid); [all …]
|
D | authsrv.c | 29 static int hostapd_sim_db_cb_sta(struct hostapd_data *hapd, in hostapd_sim_db_cb_sta() argument 40 struct hostapd_data *hapd = ctx; in hostapd_sim_db_cb() local 41 if (ap_for_each_sta(hapd, hostapd_sim_db_cb_sta, session_ctx) == 0) { in hostapd_sim_db_cb() 43 radius_server_eap_pending_cb(hapd->radius_srv, session_ctx); in hostapd_sim_db_cb() 104 static int hostapd_setup_radius_srv(struct hostapd_data *hapd) in hostapd_setup_radius_srv() argument 107 struct hostapd_bss_config *conf = hapd->conf; in hostapd_setup_radius_srv() 112 srv.conf_ctx = hapd; in hostapd_setup_radius_srv() 113 srv.eap_sim_db_priv = hapd->eap_sim_db_priv; in hostapd_setup_radius_srv() 114 srv.ssl_ctx = hapd->ssl_ctx; in hostapd_setup_radius_srv() 115 srv.msg_ctx = hapd->msg_ctx; in hostapd_setup_radius_srv() [all …]
|