/external/wpa_supplicant_8/src/ap/ |
D | wpa_auth.c | 50 static void wpa_group_sm_step(struct wpa_authenticator *wpa_auth, 53 static int wpa_gtk_update(struct wpa_authenticator *wpa_auth, 55 static int wpa_group_config_group_keys(struct wpa_authenticator *wpa_auth, 60 static void wpa_group_free(struct wpa_authenticator *wpa_auth, 62 static void wpa_group_get(struct wpa_authenticator *wpa_auth, 64 static void wpa_group_put(struct wpa_authenticator *wpa_auth, 80 struct wpa_authenticator *wpa_auth, const u8 *addr) in wpa_auth_mic_failure_report() argument 82 if (wpa_auth->cb->mic_failure_report) in wpa_auth_mic_failure_report() 83 return wpa_auth->cb->mic_failure_report(wpa_auth->cb_ctx, addr); in wpa_auth_mic_failure_report() 89 struct wpa_authenticator *wpa_auth, const u8 *addr) in wpa_auth_psk_failure_report() argument [all …]
|
D | wpa_auth_ft.c | 625 static int wpa_ft_rrb_send(struct wpa_authenticator *wpa_auth, const u8 *dst, in wpa_ft_rrb_send() argument 628 if (wpa_auth->cb->send_ether == NULL) in wpa_ft_rrb_send() 631 return wpa_auth->cb->send_ether(wpa_auth->cb_ctx, dst, ETH_P_RRB, in wpa_ft_rrb_send() 636 static int wpa_ft_rrb_oui_send(struct wpa_authenticator *wpa_auth, in wpa_ft_rrb_oui_send() argument 640 if (!wpa_auth->cb->send_oui) in wpa_ft_rrb_oui_send() 644 return wpa_auth->cb->send_oui(wpa_auth->cb_ctx, dst, oui_suffix, data, in wpa_ft_rrb_oui_send() 649 static int wpa_ft_action_send(struct wpa_authenticator *wpa_auth, in wpa_ft_action_send() argument 652 if (wpa_auth->cb->send_ft_action == NULL) in wpa_ft_action_send() 654 return wpa_auth->cb->send_ft_action(wpa_auth->cb_ctx, dst, in wpa_ft_action_send() 659 static const u8 * wpa_ft_get_psk(struct wpa_authenticator *wpa_auth, in wpa_ft_get_psk() argument [all …]
|
D | wpa_auth_ie.c | 434 int wpa_auth_gen_wpa_ie(struct wpa_authenticator *wpa_auth) in wpa_auth_gen_wpa_ie() argument 440 if (wpa_auth->conf.own_ie_override_len) { in wpa_auth_gen_wpa_ie() 442 wpa_auth->conf.own_ie_override, in wpa_auth_gen_wpa_ie() 443 wpa_auth->conf.own_ie_override_len); in wpa_auth_gen_wpa_ie() 444 os_free(wpa_auth->wpa_ie); in wpa_auth_gen_wpa_ie() 445 wpa_auth->wpa_ie = in wpa_auth_gen_wpa_ie() 446 os_malloc(wpa_auth->conf.own_ie_override_len); in wpa_auth_gen_wpa_ie() 447 if (wpa_auth->wpa_ie == NULL) in wpa_auth_gen_wpa_ie() 449 os_memcpy(wpa_auth->wpa_ie, wpa_auth->conf.own_ie_override, in wpa_auth_gen_wpa_ie() 450 wpa_auth->conf.own_ie_override_len); in wpa_auth_gen_wpa_ie() [all …]
|
D | wpa_auth.h | 308 int wpa_init_keys(struct wpa_authenticator *wpa_auth); 309 void wpa_deinit(struct wpa_authenticator *wpa_auth); 310 int wpa_reconfig(struct wpa_authenticator *wpa_auth, 320 int wpa_validate_wpa_ie(struct wpa_authenticator *wpa_auth, 325 int wpa_validate_osen(struct wpa_authenticator *wpa_auth, 332 wpa_auth_sta_init(struct wpa_authenticator *wpa_auth, const u8 *addr, 334 int wpa_auth_sta_associated(struct wpa_authenticator *wpa_auth, 338 void wpa_receive(struct wpa_authenticator *wpa_auth, 348 void wpa_gtk_rekey(struct wpa_authenticator *wpa_auth); 349 int wpa_get_mib(struct wpa_authenticator *wpa_auth, char *buf, size_t buflen); [all …]
|
D | wpa_auth_i.h | 20 struct wpa_authenticator *wpa_auth; member 270 void wpa_auth_logger(struct wpa_authenticator *wpa_auth, const u8 *addr, 272 void wpa_auth_vlogger(struct wpa_authenticator *wpa_auth, const u8 *addr, 274 void __wpa_send_eapol(struct wpa_authenticator *wpa_auth, 279 int wpa_auth_for_each_sta(struct wpa_authenticator *wpa_auth, 282 int wpa_auth_for_each_auth(struct wpa_authenticator *wpa_auth,
|
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 | wpa_auth_glue.c | 468 if (iface->bss[i]->wpa_auth && in wpa_auth_iface_iter() 469 data->cb(iface->bss[i]->wpa_auth, data->cb_ctx)) in wpa_auth_iface_iter() 508 if (hapd->wpa_auth) { in hostapd_wpa_ft_rrb_rx_later() 509 wpa_ft_rrb_rx(hapd->wpa_auth, data->addr, in hostapd_wpa_ft_rrb_rx_later() 537 !hapd->wpa_auth || in hostapd_wpa_auth_ft_iter() 684 if (hapd->wpa_auth && oui_ctx) { in hostapd_oui_deliver_later() 913 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, sta->addr, NULL); in hostapd_wpa_auth_add_sta() 1175 wpa_ft_rrb_rx(hapd->wpa_auth, ethhdr->h_source, buf + sizeof(*ethhdr), in hostapd_rrb_receive() 1191 wpa_ft_rrb_oui_rx(hapd->wpa_auth, src_addr, dst_addr, oui_suffix, buf, in hostapd_rrb_oui_receive() 1304 hapd->wpa_auth = wpa_init(hapd->own_addr, &_conf, &cb, hapd); in hostapd_setup_wpa() [all …]
|
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 | 49 int wpa_auth_gen_wpa_ie(struct wpa_authenticator *wpa_auth);
|
D | hostapd.c | 83 if (hapd->wpa_auth) in hostapd_reconfig_encryption() 124 if ((hapd->conf->wpa || hapd->conf->osen) && hapd->wpa_auth == NULL) { in hostapd_reload_bss() 126 if (hapd->wpa_auth) in hostapd_reload_bss() 127 wpa_init_keys(hapd->wpa_auth); in hostapd_reload_bss() 132 wpa_ie = wpa_auth_get_wpa_ie(hapd->wpa_auth, &wpa_ie_len); in hostapd_reload_bss() 136 } else if (hapd->wpa_auth) { in hostapd_reload_bss() 137 wpa_deinit(hapd->wpa_auth); in hostapd_reload_bss() 138 hapd->wpa_auth = NULL; in hostapd_reload_bss() 936 if (!hapd->wpa_auth) in hostapd_das_disconnect_pmksa() 938 return wpa_auth_radius_das_disconnect_pmksa(hapd->wpa_auth, attr); in hostapd_das_disconnect_pmksa() [all …]
|
D | drv_callbacks.c | 300 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, in hostapd_notif_assoc() 308 res = wpa_validate_wpa_ie(hapd->wpa_auth, sta->wpa_sm, in hostapd_notif_assoc() 433 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, in hostapd_notif_assoc() 440 if (wpa_validate_osen(hapd->wpa_auth, sta->wpa_sm, in hostapd_notif_assoc() 1080 if (rx_auth->auth_type == WLAN_AUTH_FT && hapd->wpa_auth) { in hostapd_notif_auth() 1083 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, in hostapd_notif_auth() 1770 if (hapd->wpa_auth) in wpa_supplicant_event() 1771 wpa_auth_reconfig_group_keys(hapd->wpa_auth); in wpa_supplicant_event()
|
D | Makefile | 64 wpa_auth.o \
|
D | ieee802_11.c | 755 wpa_auth_pmksa_add_sae(hapd->wpa_auth, sta->addr, in sae_accept_sta() 902 wpa_auth_pmksa_remove(hapd->wpa_auth, sta->addr); in sae_sm_step() 1030 wpa_auth_pmksa_remove(hapd->wpa_auth, sta->addr); in handle_auth_sae() 1542 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, sta->addr, in handle_auth_fils() 1551 res = wpa_validate_wpa_ie(hapd->wpa_auth, sta->wpa_sm, in handle_auth_fils() 1580 pmksa = wpa_auth_pmksa_get(hapd->wpa_auth, sta->addr, in handle_auth_fils() 1584 pmksa = wpa_auth_pmksa_get_fils_cache_id(hapd->wpa_auth, in handle_auth_fils() 1687 ie = wpa_auth_get_wpa_ie(hapd->wpa_auth, &ielen); in prepare_auth_resp_fils() 1755 res = wpa_auth_write_fte(hapd->wpa_auth, use_sha384, in prepare_auth_resp_fils() 1826 hapd->wpa_auth, sta->addr, in prepare_auth_resp_fils() [all …]
|
D | ctrl_iface_ap.c | 882 return wpa_auth_pmksa_list(hapd->wpa_auth, buf, len); in hostapd_ctrl_iface_pmksa_list() 888 wpa_auth_pmksa_flush(hapd->wpa_auth); in hostapd_ctrl_iface_pmksa_flush() 935 return wpa_auth_pmksa_add2(hapd->wpa_auth, spa, pmk, pmk_len, in hostapd_ctrl_iface_pmksa_add() 946 return wpa_auth_pmksa_list_mesh(hapd->wpa_auth, addr, buf, len); in hostapd_ctrl_iface_pmksa_list_mesh()
|
D | preauth_auth.c | 208 if (wpa_auth_pmksa_add_preauth(hapd->wpa_auth, key, len, in rsn_preauth_finished()
|
D | hostapd.h | 183 struct wpa_authenticator *wpa_auth; member
|
D | dpp_hostapd.c | 1061 if (!hapd->wpa_auth || in hostapd_dpp_rx_peer_disc_req() 1125 if (wpa_auth_pmksa_add2(hapd->wpa_auth, src, intro.pmk, intro.pmk_len, in hostapd_dpp_rx_peer_disc_req()
|
D | wnm_ap.c | 666 wpa_auth_pmksa_remove(hapd->wpa_auth, sta->addr); in set_disassoc_timer()
|
D | ieee802_1x.c | 999 wpa_receive(hapd->wpa_auth, sta->wpa_sm, (u8 *) hdr, in ieee802_1x_receive() 2473 wpa_auth_eapol_key_tx_status(hapd->wpa_auth, in ieee802_1x_eapol_tx_status()
|
D | beacon.c | 295 ie = wpa_auth_get_wpa_ie(hapd->wpa_auth, &ielen); in hostapd_eid_wpa()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | mesh_rsn.c | 254 bss->wpa_auth = mesh_rsn->auth; in mesh_rsn_auth_init() 262 ret = wpa_auth_pmksa_add_entry(bss->wpa_auth, in mesh_rsn_auth_init() 374 pmksa = wpa_auth_pmksa_get(hapd->wpa_auth, sta->addr, NULL); in mesh_rsn_auth_sae_sta() 377 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, in mesh_rsn_auth_sae_sta() 389 wpa_auth_pmksa_set_to_sm(pmksa, sta->wpa_sm, hapd->wpa_auth, in mesh_rsn_auth_sae_sta() 652 if (!wpa_auth_pmksa_get(hapd->wpa_auth, sta->addr, NULL)) { in mesh_rsn_process_ampe()
|
D | mesh_mpm.c | 482 wpa_auth_pmksa_remove(hapd->wpa_auth, sta->addr); in plink_timer() 1185 wpa_auth_pmksa_get(hapd->wpa_auth, mgmt->sa, NULL))) in mesh_mpm_action_rx()
|
/external/wpa_supplicant_8/hostapd/ |
D | ctrl_iface.c | 2941 res = wpa_get_mib(hapd->wpa_auth, reply + reply_len, in hostapd_ctrl_iface_receive_process() 3166 if (wpa_auth_rekey_gtk(hapd->wpa_auth) < 0) in hostapd_ctrl_iface_receive_process()
|