/external/wpa_supplicant_8/src/ap/ |
D | wpa_auth.c | 38 static void wpa_group_sm_step(struct wpa_authenticator *wpa_auth, 41 static int wpa_gtk_update(struct wpa_authenticator *wpa_auth, 43 static int wpa_group_config_group_keys(struct wpa_authenticator *wpa_auth, 59 struct wpa_authenticator *wpa_auth, const u8 *addr) in wpa_auth_mic_failure_report() argument 61 if (wpa_auth->cb.mic_failure_report) in wpa_auth_mic_failure_report() 62 return wpa_auth->cb.mic_failure_report(wpa_auth->cb.ctx, addr); in wpa_auth_mic_failure_report() 67 static inline void wpa_auth_set_eapol(struct wpa_authenticator *wpa_auth, in wpa_auth_set_eapol() argument 71 if (wpa_auth->cb.set_eapol) in wpa_auth_set_eapol() 72 wpa_auth->cb.set_eapol(wpa_auth->cb.ctx, addr, var, value); in wpa_auth_set_eapol() 76 static inline int wpa_auth_get_eapol(struct wpa_authenticator *wpa_auth, in wpa_auth_get_eapol() 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 | 32 static int wpa_ft_rrb_send(struct wpa_authenticator *wpa_auth, const u8 *dst, in wpa_ft_rrb_send() argument 35 if (wpa_auth->cb.send_ether == NULL) in wpa_ft_rrb_send() 38 return wpa_auth->cb.send_ether(wpa_auth->cb.ctx, dst, ETH_P_RRB, in wpa_ft_rrb_send() 43 static int wpa_ft_action_send(struct wpa_authenticator *wpa_auth, in wpa_ft_action_send() argument 46 if (wpa_auth->cb.send_ft_action == NULL) in wpa_ft_action_send() 48 return wpa_auth->cb.send_ft_action(wpa_auth->cb.ctx, dst, in wpa_ft_action_send() 54 wpa_ft_add_sta(struct wpa_authenticator *wpa_auth, const u8 *sta_addr) in wpa_ft_add_sta() argument 56 if (wpa_auth->cb.add_sta == NULL) in wpa_ft_add_sta() 58 return wpa_auth->cb.add_sta(wpa_auth->cb.ctx, sta_addr); in wpa_ft_add_sta() 62 static int wpa_ft_add_tspec(struct wpa_authenticator *wpa_auth, in wpa_ft_add_tspec() argument [all …]
|
D | wpa_auth_ie.c | 365 int wpa_auth_gen_wpa_ie(struct wpa_authenticator *wpa_auth) in wpa_auth_gen_wpa_ie() argument 372 if (wpa_auth->conf.wpa == WPA_PROTO_OSEN) { in wpa_auth_gen_wpa_ie() 373 pos = wpa_write_osen(&wpa_auth->conf, pos); in wpa_auth_gen_wpa_ie() 375 if (wpa_auth->conf.wpa & WPA_PROTO_RSN) { in wpa_auth_gen_wpa_ie() 376 res = wpa_write_rsn_ie(&wpa_auth->conf, in wpa_auth_gen_wpa_ie() 383 if (wpa_key_mgmt_ft(wpa_auth->conf.wpa_key_mgmt)) { in wpa_auth_gen_wpa_ie() 384 res = wpa_write_mdie(&wpa_auth->conf, pos, in wpa_auth_gen_wpa_ie() 391 if (wpa_auth->conf.wpa & WPA_PROTO_WPA) { in wpa_auth_gen_wpa_ie() 392 res = wpa_write_wpa_ie(&wpa_auth->conf, in wpa_auth_gen_wpa_ie() 399 os_free(wpa_auth->wpa_ie); in wpa_auth_gen_wpa_ie() [all …]
|
D | wpa_auth.h | 221 int wpa_init_keys(struct wpa_authenticator *wpa_auth); 222 void wpa_deinit(struct wpa_authenticator *wpa_auth); 223 int wpa_reconfig(struct wpa_authenticator *wpa_auth, 233 int wpa_validate_wpa_ie(struct wpa_authenticator *wpa_auth, 237 int wpa_validate_osen(struct wpa_authenticator *wpa_auth, 242 wpa_auth_sta_init(struct wpa_authenticator *wpa_auth, const u8 *addr, 244 int wpa_auth_sta_associated(struct wpa_authenticator *wpa_auth, 248 void wpa_receive(struct wpa_authenticator *wpa_auth, 258 void wpa_gtk_rekey(struct wpa_authenticator *wpa_auth); 259 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 210 void wpa_auth_logger(struct wpa_authenticator *wpa_auth, const u8 *addr, 212 void wpa_auth_vlogger(struct wpa_authenticator *wpa_auth, const u8 *addr, 214 void __wpa_send_eapol(struct wpa_authenticator *wpa_auth, 219 int wpa_auth_for_each_sta(struct wpa_authenticator *wpa_auth, 222 int wpa_auth_for_each_auth(struct wpa_authenticator *wpa_auth, 227 int wpa_stsl_remove(struct wpa_authenticator *wpa_auth, 229 void wpa_smk_error(struct wpa_authenticator *wpa_auth, 231 void wpa_smk_m1(struct wpa_authenticator *wpa_auth, 233 void wpa_smk_m3(struct wpa_authenticator *wpa_auth,
|
D | wpa_auth_glue.c | 336 if (iface->bss[i]->wpa_auth && in wpa_auth_iface_iter() 337 data->cb(iface->bss[i]->wpa_auth, data->cb_ctx)) in wpa_auth_iface_iter() 387 wpa_ft_rrb_rx(hapd->wpa_auth, in hostapd_wpa_auth_ft_iter() 494 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, sta->addr, NULL); in hostapd_wpa_auth_add_sta() 515 wpa_ft_rrb_rx(hapd->wpa_auth, ethhdr->h_source, buf + sizeof(*ethhdr), in hostapd_rrb_receive() 562 hapd->wpa_auth = wpa_init(hapd->own_addr, &_conf, &cb); in hostapd_setup_wpa() 563 if (hapd->wpa_auth == NULL) { in hostapd_setup_wpa() 574 wpa_ie = wpa_auth_get_wpa_ie(hapd->wpa_auth, &wpa_ie_len); in hostapd_setup_wpa() 612 wpa_reconfig(hapd->wpa_auth, &wpa_auth_conf); in hostapd_reconfig_wpa() 620 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 | drv_callbacks.c | 195 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, in hostapd_notif_assoc() 203 res = wpa_validate_wpa_ie(hapd->wpa_auth, sta->wpa_sm, in hostapd_notif_assoc() 322 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, in hostapd_notif_assoc() 329 if (wpa_validate_osen(hapd->wpa_auth, sta->wpa_sm, in hostapd_notif_assoc() 591 if (rx_auth->auth_type == WLAN_AUTH_FT && hapd->wpa_auth) { in hostapd_notif_auth() 594 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, in hostapd_notif_auth() 984 wpa_ft_rrb_rx(hapd->wpa_auth, data->ft_rrb_rx.src, in wpa_supplicant_event()
|
D | wpa_auth_ie.h | 55 int wpa_auth_gen_wpa_ie(struct wpa_authenticator *wpa_auth);
|
D | hostapd.c | 92 if ((hapd->conf->wpa || hapd->conf->osen) && hapd->wpa_auth == NULL) { in hostapd_reload_bss() 94 if (hapd->wpa_auth) in hostapd_reload_bss() 95 wpa_init_keys(hapd->wpa_auth); in hostapd_reload_bss() 100 wpa_ie = wpa_auth_get_wpa_ie(hapd->wpa_auth, &wpa_ie_len); in hostapd_reload_bss() 104 } else if (hapd->wpa_auth) { in hostapd_reload_bss() 105 wpa_deinit(hapd->wpa_auth); in hostapd_reload_bss() 106 hapd->wpa_auth = NULL; in hostapd_reload_bss() 664 wpa_auth_pmksa_remove(hapd->wpa_auth, sta->addr); in hostapd_das_disconnect() 886 if (hapd->wpa_auth && wpa_init_keys(hapd->wpa_auth) < 0) in hostapd_setup_bss() 2117 wpa_auth_sta_associated(hapd->wpa_auth, sta->wpa_sm); in hostapd_new_assoc_sta()
|
D | preauth_auth.c | 208 if (wpa_auth_pmksa_add_preauth(hapd->wpa_auth, key, len, in rsn_preauth_finished()
|
D | hostapd.h | 139 struct wpa_authenticator *wpa_auth; member
|
D | ieee802_11.c | 722 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, in handle_auth() 1000 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, in check_assoc_ies() 1008 res = wpa_validate_wpa_ie(hapd->wpa_auth, sta->wpa_sm, in check_assoc_ies() 1108 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, in check_assoc_ies() 1115 if (wpa_validate_osen(hapd->wpa_auth, sta->wpa_sm, in check_assoc_ies()
|
D | wnm_ap.c | 489 wpa_auth_pmksa_remove(hapd->wpa_auth, sta->addr); in wnm_send_ess_disassoc_imminent()
|
D | beacon.c | 259 ie = wpa_auth_get_wpa_ie(hapd->wpa_auth, &ielen); in hostapd_eid_wpa()
|
D | ieee802_1x.c | 832 wpa_receive(hapd->wpa_auth, sta->wpa_sm, (u8 *) hdr, in ieee802_1x_receive() 2118 wpa_auth_eapol_key_tx_status(hapd->wpa_auth, in ieee802_1x_eapol_tx_status()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | Makefile | 834 OBJS += ../src/ap/wpa_auth.o 864 OBJS_h += ../src/ap/wpa_auth.o
|
/external/wpa_supplicant_8/hostapd/ |
D | Makefile | 54 OBJS += ../src/ap/wpa_auth.o
|
D | ctrl_iface.c | 1401 res = wpa_get_mib(hapd->wpa_auth, reply + reply_len, in hostapd_ctrl_iface_receive()
|