/external/wpa_supplicant_8/src/ap/ |
D | wpa_auth.c | 45 static void wpa_group_sm_step(struct wpa_authenticator *wpa_auth, 48 static int wpa_gtk_update(struct wpa_authenticator *wpa_auth, 50 static int wpa_group_config_group_keys(struct wpa_authenticator *wpa_auth, 55 static void wpa_group_free(struct wpa_authenticator *wpa_auth, 57 static void wpa_group_get(struct wpa_authenticator *wpa_auth, 59 static void wpa_group_put(struct wpa_authenticator *wpa_auth, 74 struct wpa_authenticator *wpa_auth, const u8 *addr) in wpa_auth_mic_failure_report() argument 76 if (wpa_auth->cb->mic_failure_report) in wpa_auth_mic_failure_report() 77 return wpa_auth->cb->mic_failure_report(wpa_auth->cb_ctx, addr); in wpa_auth_mic_failure_report() 83 struct wpa_authenticator *wpa_auth, const u8 *addr) in wpa_auth_psk_failure_report() argument [all …]
|
D | wpa_auth_ft.c | 33 static int wpa_ft_rrb_send(struct wpa_authenticator *wpa_auth, const u8 *dst, in wpa_ft_rrb_send() argument 36 if (wpa_auth->cb->send_ether == NULL) in wpa_ft_rrb_send() 39 return wpa_auth->cb->send_ether(wpa_auth->cb_ctx, dst, ETH_P_RRB, in wpa_ft_rrb_send() 44 static int wpa_ft_action_send(struct wpa_authenticator *wpa_auth, in wpa_ft_action_send() argument 47 if (wpa_auth->cb->send_ft_action == NULL) in wpa_ft_action_send() 49 return wpa_auth->cb->send_ft_action(wpa_auth->cb_ctx, dst, in wpa_ft_action_send() 54 static const u8 * wpa_ft_get_psk(struct wpa_authenticator *wpa_auth, in wpa_ft_get_psk() argument 58 if (wpa_auth->cb->get_psk == NULL) in wpa_ft_get_psk() 60 return wpa_auth->cb->get_psk(wpa_auth->cb_ctx, addr, p2p_dev_addr, in wpa_ft_get_psk() 66 wpa_ft_add_sta(struct wpa_authenticator *wpa_auth, const u8 *sta_addr) in wpa_ft_add_sta() argument [all …]
|
D | wpa_auth_ie.c | 400 int wpa_auth_gen_wpa_ie(struct wpa_authenticator *wpa_auth) in wpa_auth_gen_wpa_ie() argument 406 if (wpa_auth->conf.own_ie_override_len) { in wpa_auth_gen_wpa_ie() 408 wpa_auth->conf.own_ie_override, in wpa_auth_gen_wpa_ie() 409 wpa_auth->conf.own_ie_override_len); in wpa_auth_gen_wpa_ie() 410 os_free(wpa_auth->wpa_ie); in wpa_auth_gen_wpa_ie() 411 wpa_auth->wpa_ie = in wpa_auth_gen_wpa_ie() 412 os_malloc(wpa_auth->conf.own_ie_override_len); in wpa_auth_gen_wpa_ie() 413 if (wpa_auth->wpa_ie == NULL) in wpa_auth_gen_wpa_ie() 415 os_memcpy(wpa_auth->wpa_ie, wpa_auth->conf.own_ie_override, in wpa_auth_gen_wpa_ie() 416 wpa_auth->conf.own_ie_override_len); in wpa_auth_gen_wpa_ie() [all …]
|
D | wpa_auth.h | 241 int wpa_init_keys(struct wpa_authenticator *wpa_auth); 242 void wpa_deinit(struct wpa_authenticator *wpa_auth); 243 int wpa_reconfig(struct wpa_authenticator *wpa_auth, 253 int wpa_validate_wpa_ie(struct wpa_authenticator *wpa_auth, 257 int wpa_validate_osen(struct wpa_authenticator *wpa_auth, 262 wpa_auth_sta_init(struct wpa_authenticator *wpa_auth, const u8 *addr, 264 int wpa_auth_sta_associated(struct wpa_authenticator *wpa_auth, 268 void wpa_receive(struct wpa_authenticator *wpa_auth, 278 void wpa_gtk_rekey(struct wpa_authenticator *wpa_auth); 279 int wpa_get_mib(struct wpa_authenticator *wpa_auth, char *buf, size_t buflen); [all …]
|
D | peerkey_auth.c | 39 static void wpa_smk_send_error(struct wpa_authenticator *wpa_auth, in wpa_smk_send_error() argument 48 wpa_auth_logger(wpa_auth, sm->addr, LOGGER_DEBUG, in wpa_smk_send_error() 63 __wpa_send_eapol(wpa_auth, sm, in wpa_smk_send_error() 70 void wpa_smk_m1(struct wpa_authenticator *wpa_auth, in wpa_smk_m1() argument 95 if (wpa_auth_for_each_sta(wpa_auth, wpa_stsl_select_sta, &search) == in wpa_smk_m1() 100 wpa_smk_send_error(wpa_auth, sm, kde.mac_addr, STK_MUI_SMK, in wpa_smk_m1() 121 wpa_auth_logger(wpa_auth, search.sm->addr, LOGGER_DEBUG, in wpa_smk_m1() 124 __wpa_send_eapol(wpa_auth, search.sm, in wpa_smk_m1() 133 static void wpa_send_smk_m4(struct wpa_authenticator *wpa_auth, in wpa_send_smk_m4() argument 174 wpa_auth_logger(sm->wpa_auth, sm->addr, LOGGER_DEBUG, in wpa_send_smk_m4() [all …]
|
D | wpa_auth_i.h | 18 struct wpa_authenticator *wpa_auth; member 216 void wpa_auth_logger(struct wpa_authenticator *wpa_auth, const u8 *addr, 218 void wpa_auth_vlogger(struct wpa_authenticator *wpa_auth, const u8 *addr, 220 void __wpa_send_eapol(struct wpa_authenticator *wpa_auth, 225 int wpa_auth_for_each_sta(struct wpa_authenticator *wpa_auth, 228 int wpa_auth_for_each_auth(struct wpa_authenticator *wpa_auth, 233 void wpa_smk_error(struct wpa_authenticator *wpa_auth, 236 void wpa_smk_m1(struct wpa_authenticator *wpa_auth, 239 void wpa_smk_m3(struct wpa_authenticator *wpa_auth,
|
D | wpa_auth_glue.c | 383 if (iface->bss[i]->wpa_auth && in wpa_auth_iface_iter() 384 data->cb(iface->bss[i]->wpa_auth, data->cb_ctx)) in wpa_auth_iface_iter() 427 if (!hapd->wpa_auth) in hostapd_wpa_auth_ft_iter() 436 wpa_ft_rrb_rx(hapd->wpa_auth, in hostapd_wpa_auth_ft_iter() 558 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, sta->addr, NULL); in hostapd_wpa_auth_add_sta() 582 wpa_ft_rrb_rx(hapd->wpa_auth, ethhdr->h_source, buf + sizeof(*ethhdr), in hostapd_rrb_receive() 629 hapd->wpa_auth = wpa_init(hapd->own_addr, &_conf, &cb, hapd); in hostapd_setup_wpa() 630 if (hapd->wpa_auth == NULL) { in hostapd_setup_wpa() 641 wpa_ie = wpa_auth_get_wpa_ie(hapd->wpa_auth, &wpa_ie_len); in hostapd_setup_wpa() 680 wpa_reconfig(hapd->wpa_auth, &wpa_auth_conf); in hostapd_reconfig_wpa() [all …]
|
D | vlan_init.c | 48 if (hapd->wpa_auth) in vlan_if_add() 49 ret = wpa_auth_ensure_group(hapd->wpa_auth, vlan->vlan_id); in vlan_if_add() 56 if (wpa_auth_release_group(hapd->wpa_auth, vlan->vlan_id)) in vlan_if_add() 71 ret = wpa_auth_release_group(hapd->wpa_auth, vlan->vlan_id); in vlan_if_remove()
|
D | tkip_countermeasures.c | 41 wpa_auth_countermeasures_start(hapd->wpa_auth); in ieee80211_tkip_countermeasures_start() 44 wpa_gtk_rekey(hapd->wpa_auth); in ieee80211_tkip_countermeasures_start()
|
D | wpa_auth_ie.h | 55 int wpa_auth_gen_wpa_ie(struct wpa_authenticator *wpa_auth);
|
D | drv_callbacks.c | 224 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, in hostapd_notif_assoc() 232 res = wpa_validate_wpa_ie(hapd->wpa_auth, sta->wpa_sm, in hostapd_notif_assoc() 351 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, in hostapd_notif_assoc() 358 if (wpa_validate_osen(hapd->wpa_auth, sta->wpa_sm, in hostapd_notif_assoc() 733 if (rx_auth->auth_type == WLAN_AUTH_FT && hapd->wpa_auth) { in hostapd_notif_auth() 736 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, in hostapd_notif_auth() 1353 wpa_auth_reconfig_group_keys(hapd->wpa_auth); in wpa_supplicant_event()
|
D | hostapd.c | 105 if ((hapd->conf->wpa || hapd->conf->osen) && hapd->wpa_auth == NULL) { in hostapd_reload_bss() 107 if (hapd->wpa_auth) in hostapd_reload_bss() 108 wpa_init_keys(hapd->wpa_auth); in hostapd_reload_bss() 113 wpa_ie = wpa_auth_get_wpa_ie(hapd->wpa_auth, &wpa_ie_len); in hostapd_reload_bss() 117 } else if (hapd->wpa_auth) { in hostapd_reload_bss() 118 wpa_deinit(hapd->wpa_auth); in hostapd_reload_bss() 119 hapd->wpa_auth = NULL; in hostapd_reload_bss() 840 if (!hapd->wpa_auth) in hostapd_das_disconnect_pmksa() 842 return wpa_auth_radius_das_disconnect_pmksa(hapd->wpa_auth, attr); in hostapd_das_disconnect_pmksa() 874 wpa_auth_pmksa_remove(hapd->wpa_auth, sta->addr); in hostapd_das_disconnect() [all …]
|
D | Makefile | 63 wpa_auth.o \
|
D | ctrl_iface_ap.c | 634 return wpa_auth_pmksa_list(hapd->wpa_auth, buf, len); in hostapd_ctrl_iface_pmksa_list() 640 wpa_auth_pmksa_flush(hapd->wpa_auth); in hostapd_ctrl_iface_pmksa_flush() 650 return wpa_auth_pmksa_list_mesh(hapd->wpa_auth, addr, buf, len); in hostapd_ctrl_iface_pmksa_list_mesh()
|
D | ieee802_11.c | 575 wpa_auth_pmksa_add_sae(hapd->wpa_auth, sta->addr, in sae_accept_sta() 711 wpa_auth_pmksa_remove(hapd->wpa_auth, sta->addr); in sae_sm_step() 795 wpa_auth_pmksa_remove(hapd->wpa_auth, sta->addr); in handle_auth_sae() 1058 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, sta->addr, in handle_auth_fils() 1067 res = wpa_validate_wpa_ie(hapd->wpa_auth, sta->wpa_sm, in handle_auth_fils() 1098 pmksa = wpa_auth_pmksa_get(hapd->wpa_auth, sta->addr, in handle_auth_fils() 1175 ie = wpa_auth_get_wpa_ie(hapd->wpa_auth, &ielen); in handle_auth_fils_finish() 1697 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, in handle_auth() 1720 wpa_auth_sta_init(hapd->wpa_auth, in handle_auth() 2022 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, in check_assoc_ies() [all …]
|
D | preauth_auth.c | 208 if (wpa_auth_pmksa_add_preauth(hapd->wpa_auth, key, len, in rsn_preauth_finished()
|
D | hostapd.h | 161 struct wpa_authenticator *wpa_auth; member
|
D | wnm_ap.c | 476 wpa_auth_pmksa_remove(hapd->wpa_auth, sta->addr); in set_disassoc_timer()
|
D | ieee802_1x.c | 963 wpa_receive(hapd->wpa_auth, sta->wpa_sm, (u8 *) hdr, in ieee802_1x_receive() 2385 wpa_auth_eapol_key_tx_status(hapd->wpa_auth, in ieee802_1x_eapol_tx_status()
|
D | beacon.c | 293 ie = wpa_auth_get_wpa_ie(hapd->wpa_auth, &ielen); in hostapd_eid_wpa()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | mesh_rsn.c | 246 bss->wpa_auth = mesh_rsn->auth; in mesh_rsn_auth_init() 254 ret = wpa_auth_pmksa_add_entry(bss->wpa_auth, in mesh_rsn_auth_init() 355 pmksa = wpa_auth_pmksa_get(hapd->wpa_auth, sta->addr, NULL); in mesh_rsn_auth_sae_sta() 358 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, in mesh_rsn_auth_sae_sta() 370 wpa_auth_pmksa_set_to_sm(pmksa, sta->wpa_sm, hapd->wpa_auth, in mesh_rsn_auth_sae_sta() 633 if (!wpa_auth_pmksa_get(hapd->wpa_auth, sta->addr, NULL)) { in mesh_rsn_process_ampe()
|
D | mesh_mpm.c | 458 wpa_auth_pmksa_remove(hapd->wpa_auth, sta->addr); in plink_timer() 1153 wpa_auth_pmksa_get(hapd->wpa_auth, mgmt->sa, NULL))) in mesh_mpm_action_rx()
|
/external/wpa_supplicant_8/hostapd/ |
D | ctrl_iface.c | 2459 res = wpa_get_mib(hapd->wpa_auth, reply + reply_len, in hostapd_ctrl_iface_receive_process()
|