/external/wpa_supplicant_8/src/ap/ |
D | wpa_auth.c | 39 static void wpa_group_sm_step(struct wpa_authenticator *wpa_auth, 42 static int wpa_gtk_update(struct wpa_authenticator *wpa_auth, 44 static int wpa_group_config_group_keys(struct wpa_authenticator *wpa_auth, 48 static void wpa_group_free(struct wpa_authenticator *wpa_auth, 50 static void wpa_group_get(struct wpa_authenticator *wpa_auth, 52 static void wpa_group_put(struct wpa_authenticator *wpa_auth, 68 struct wpa_authenticator *wpa_auth, const u8 *addr) in wpa_auth_mic_failure_report() argument 70 if (wpa_auth->cb.mic_failure_report) in wpa_auth_mic_failure_report() 71 return wpa_auth->cb.mic_failure_report(wpa_auth->cb.ctx, addr); in wpa_auth_mic_failure_report() 77 struct wpa_authenticator *wpa_auth, const u8 *addr) in wpa_auth_psk_failure_report() argument [all …]
|
D | peerkey_auth.c | 25 struct wpa_authenticator *wpa_auth = eloop_ctx; in wpa_stsl_step() 50 static void wpa_smk_send_error(struct wpa_authenticator *wpa_auth, in wpa_smk_send_error() argument 59 wpa_auth_logger(wpa_auth, sm->addr, LOGGER_DEBUG, in wpa_smk_send_error() 74 __wpa_send_eapol(wpa_auth, sm, in wpa_smk_send_error() 81 void wpa_smk_m1(struct wpa_authenticator *wpa_auth, in wpa_smk_m1() argument 106 if (wpa_auth_for_each_sta(wpa_auth, wpa_stsl_select_sta, &search) == in wpa_smk_m1() 111 wpa_smk_send_error(wpa_auth, sm, kde.mac_addr, STK_MUI_SMK, in wpa_smk_m1() 133 wpa_auth_logger(wpa_auth, search.sm->addr, LOGGER_DEBUG, in wpa_smk_m1() 136 __wpa_send_eapol(wpa_auth, search.sm, in wpa_smk_m1() 145 static void wpa_send_smk_m4(struct wpa_authenticator *wpa_auth, in wpa_send_smk_m4() 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() 55 wpa_ft_add_sta(struct wpa_authenticator *wpa_auth, const u8 *sta_addr) in wpa_ft_add_sta() argument 57 if (wpa_auth->cb.add_sta == NULL) in wpa_ft_add_sta() 59 return wpa_auth->cb.add_sta(wpa_auth->cb.ctx, sta_addr); in wpa_ft_add_sta() 63 static int wpa_ft_add_tspec(struct wpa_authenticator *wpa_auth, in wpa_ft_add_tspec() argument [all …]
|
D | wpa_auth_ie.c | 375 int wpa_auth_gen_wpa_ie(struct wpa_authenticator *wpa_auth) in wpa_auth_gen_wpa_ie() argument 382 if (wpa_auth->conf.wpa == WPA_PROTO_OSEN) { in wpa_auth_gen_wpa_ie() 383 pos = wpa_write_osen(&wpa_auth->conf, pos); in wpa_auth_gen_wpa_ie() 385 if (wpa_auth->conf.wpa & WPA_PROTO_RSN) { in wpa_auth_gen_wpa_ie() 386 res = wpa_write_rsn_ie(&wpa_auth->conf, in wpa_auth_gen_wpa_ie() 393 if (wpa_key_mgmt_ft(wpa_auth->conf.wpa_key_mgmt)) { in wpa_auth_gen_wpa_ie() 394 res = wpa_write_mdie(&wpa_auth->conf, pos, in wpa_auth_gen_wpa_ie() 401 if (wpa_auth->conf.wpa & WPA_PROTO_WPA) { in wpa_auth_gen_wpa_ie() 402 res = wpa_write_wpa_ie(&wpa_auth->conf, in wpa_auth_gen_wpa_ie() 409 os_free(wpa_auth->wpa_ie); in wpa_auth_gen_wpa_ie() [all …]
|
D | wpa_auth.h | 225 int wpa_init_keys(struct wpa_authenticator *wpa_auth); 226 void wpa_deinit(struct wpa_authenticator *wpa_auth); 227 int wpa_reconfig(struct wpa_authenticator *wpa_auth, 237 int wpa_validate_wpa_ie(struct wpa_authenticator *wpa_auth, 241 int wpa_validate_osen(struct wpa_authenticator *wpa_auth, 246 wpa_auth_sta_init(struct wpa_authenticator *wpa_auth, const u8 *addr, 248 int wpa_auth_sta_associated(struct wpa_authenticator *wpa_auth, 252 void wpa_receive(struct wpa_authenticator *wpa_auth, 262 void wpa_gtk_rekey(struct wpa_authenticator *wpa_auth); 263 int wpa_get_mib(struct wpa_authenticator *wpa_auth, char *buf, size_t buflen); [all …]
|
D | wpa_auth_i.h | 25 struct wpa_authenticator *wpa_auth; member 215 void wpa_auth_logger(struct wpa_authenticator *wpa_auth, const u8 *addr, 217 void wpa_auth_vlogger(struct wpa_authenticator *wpa_auth, const u8 *addr, 219 void __wpa_send_eapol(struct wpa_authenticator *wpa_auth, 224 int wpa_auth_for_each_sta(struct wpa_authenticator *wpa_auth, 227 int wpa_auth_for_each_auth(struct wpa_authenticator *wpa_auth, 232 int wpa_stsl_remove(struct wpa_authenticator *wpa_auth, 234 void wpa_smk_error(struct wpa_authenticator *wpa_auth, 237 void wpa_smk_m1(struct wpa_authenticator *wpa_auth, 240 void wpa_smk_m3(struct wpa_authenticator *wpa_auth,
|
D | wpa_auth_glue.c | 365 if (iface->bss[i]->wpa_auth && in wpa_auth_iface_iter() 366 data->cb(iface->bss[i]->wpa_auth, data->cb_ctx)) in wpa_auth_iface_iter() 416 wpa_ft_rrb_rx(hapd->wpa_auth, in hostapd_wpa_auth_ft_iter() 538 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, sta->addr, NULL); in hostapd_wpa_auth_add_sta() 559 wpa_ft_rrb_rx(hapd->wpa_auth, ethhdr->h_source, buf + sizeof(*ethhdr), in hostapd_rrb_receive() 607 hapd->wpa_auth = wpa_init(hapd->own_addr, &_conf, &cb); in hostapd_setup_wpa() 608 if (hapd->wpa_auth == NULL) { in hostapd_setup_wpa() 619 wpa_ie = wpa_auth_get_wpa_ie(hapd->wpa_auth, &wpa_ie_len); in hostapd_setup_wpa() 657 wpa_reconfig(hapd->wpa_auth, &wpa_auth_conf); in hostapd_reconfig_wpa() 665 if (hapd->wpa_auth) { in hostapd_deinit_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 | 55 int wpa_auth_gen_wpa_ie(struct wpa_authenticator *wpa_auth);
|
D | drv_callbacks.c | 193 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, in hostapd_notif_assoc() 201 res = wpa_validate_wpa_ie(hapd->wpa_auth, sta->wpa_sm, in hostapd_notif_assoc() 320 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, in hostapd_notif_assoc() 327 if (wpa_validate_osen(hapd->wpa_auth, sta->wpa_sm, in hostapd_notif_assoc() 685 if (rx_auth->auth_type == WLAN_AUTH_FT && hapd->wpa_auth) { in hostapd_notif_auth() 688 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, in hostapd_notif_auth() 1280 wpa_auth_reconfig_group_keys(hapd->wpa_auth); in wpa_supplicant_event()
|
D | hostapd.c | 97 if ((hapd->conf->wpa || hapd->conf->osen) && hapd->wpa_auth == NULL) { in hostapd_reload_bss() 99 if (hapd->wpa_auth) in hostapd_reload_bss() 100 wpa_init_keys(hapd->wpa_auth); in hostapd_reload_bss() 105 wpa_ie = wpa_auth_get_wpa_ie(hapd->wpa_auth, &wpa_ie_len); in hostapd_reload_bss() 109 } else if (hapd->wpa_auth) { in hostapd_reload_bss() 110 wpa_deinit(hapd->wpa_auth); in hostapd_reload_bss() 111 hapd->wpa_auth = NULL; in hostapd_reload_bss() 805 if (!hapd->wpa_auth) in hostapd_das_disconnect_pmksa() 807 return wpa_auth_radius_das_disconnect_pmksa(hapd->wpa_auth, attr); in hostapd_das_disconnect_pmksa() 839 wpa_auth_pmksa_remove(hapd->wpa_auth, sta->addr); in hostapd_das_disconnect() [all …]
|
D | Makefile | 57 wpa_auth.o \
|
D | preauth_auth.c | 208 if (wpa_auth_pmksa_add_preauth(hapd->wpa_auth, key, len, in rsn_preauth_finished()
|
D | ieee802_11.c | 662 wpa_auth_pmksa_add_sae(hapd->wpa_auth, sta->addr, in sae_sm_step() 1092 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, in handle_auth() 1115 wpa_auth_sta_init(hapd->wpa_auth, in handle_auth() 1391 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, in check_assoc_ies() 1399 res = wpa_validate_wpa_ie(hapd->wpa_auth, sta->wpa_sm, in check_assoc_ies() 1511 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, in check_assoc_ies() 1518 if (wpa_validate_osen(hapd->wpa_auth, sta->wpa_sm, in check_assoc_ies()
|
D | hostapd.h | 148 struct wpa_authenticator *wpa_auth; member
|
D | wnm_ap.c | 459 wpa_auth_pmksa_remove(hapd->wpa_auth, sta->addr); in set_disassoc_timer()
|
D | ieee802_1x.c | 893 wpa_receive(hapd->wpa_auth, sta->wpa_sm, (u8 *) hdr, in ieee802_1x_receive() 2243 wpa_auth_eapol_key_tx_status(hapd->wpa_auth, in ieee802_1x_eapol_tx_status()
|
D | beacon.c | 289 ie = wpa_auth_get_wpa_ie(hapd->wpa_auth, &ielen); in hostapd_eid_wpa()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | mesh_rsn.c | 215 bss->wpa_auth = mesh_rsn->auth; in mesh_rsn_auth_init()
|
D | Makefile | 879 OBJS += ../src/ap/wpa_auth.o 909 OBJS_h += ../src/ap/wpa_auth.o
|
/external/wpa_supplicant_8/hostapd/ |
D | Makefile | 57 OBJS += ../src/ap/wpa_auth.o
|
D | ctrl_iface.c | 1902 res = wpa_get_mib(hapd->wpa_auth, reply + reply_len, in hostapd_ctrl_iface_receive()
|