| /NextBSD/contrib/wpa/src/ap/ |
| HD | 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 …]
|
| HD | 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 …]
|
| HD | wpa_auth_ie.c | 376 int wpa_auth_gen_wpa_ie(struct wpa_authenticator *wpa_auth) in wpa_auth_gen_wpa_ie() argument 382 if (wpa_auth->conf.own_ie_override_len) { in wpa_auth_gen_wpa_ie() 384 wpa_auth->conf.own_ie_override, in wpa_auth_gen_wpa_ie() 385 wpa_auth->conf.own_ie_override_len); in wpa_auth_gen_wpa_ie() 386 os_free(wpa_auth->wpa_ie); in wpa_auth_gen_wpa_ie() 387 wpa_auth->wpa_ie = in wpa_auth_gen_wpa_ie() 388 os_malloc(wpa_auth->conf.own_ie_override_len); in wpa_auth_gen_wpa_ie() 389 if (wpa_auth->wpa_ie == NULL) in wpa_auth_gen_wpa_ie() 391 os_memcpy(wpa_auth->wpa_ie, wpa_auth->conf.own_ie_override, in wpa_auth_gen_wpa_ie() 392 wpa_auth->conf.own_ie_override_len); in wpa_auth_gen_wpa_ie() [all …]
|
| HD | 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 …]
|
| HD | wpa_auth.h | 229 int wpa_init_keys(struct wpa_authenticator *wpa_auth); 230 void wpa_deinit(struct wpa_authenticator *wpa_auth); 231 int wpa_reconfig(struct wpa_authenticator *wpa_auth, 241 int wpa_validate_wpa_ie(struct wpa_authenticator *wpa_auth, 245 int wpa_validate_osen(struct wpa_authenticator *wpa_auth, 250 wpa_auth_sta_init(struct wpa_authenticator *wpa_auth, const u8 *addr, 252 int wpa_auth_sta_associated(struct wpa_authenticator *wpa_auth, 256 void wpa_receive(struct wpa_authenticator *wpa_auth, 266 void wpa_gtk_rekey(struct wpa_authenticator *wpa_auth); 267 int wpa_get_mib(struct wpa_authenticator *wpa_auth, char *buf, size_t buflen); [all …]
|
| HD | 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,
|
| HD | wpa_auth_glue.c | 372 if (iface->bss[i]->wpa_auth && in wpa_auth_iface_iter() 373 data->cb(iface->bss[i]->wpa_auth, data->cb_ctx)) in wpa_auth_iface_iter() 423 wpa_ft_rrb_rx(hapd->wpa_auth, in hostapd_wpa_auth_ft_iter() 545 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, sta->addr, NULL); in hostapd_wpa_auth_add_sta() 566 wpa_ft_rrb_rx(hapd->wpa_auth, ethhdr->h_source, buf + sizeof(*ethhdr), in hostapd_rrb_receive() 614 hapd->wpa_auth = wpa_init(hapd->own_addr, &_conf, &cb); in hostapd_setup_wpa() 615 if (hapd->wpa_auth == NULL) { in hostapd_setup_wpa() 626 wpa_ie = wpa_auth_get_wpa_ie(hapd->wpa_auth, &wpa_ie_len); in hostapd_setup_wpa() 665 wpa_reconfig(hapd->wpa_auth, &wpa_auth_conf); in hostapd_reconfig_wpa() 673 if (hapd->wpa_auth) { in hostapd_deinit_wpa() [all …]
|
| HD | 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()
|
| HD | drv_callbacks.c | 202 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, in hostapd_notif_assoc() 210 res = wpa_validate_wpa_ie(hapd->wpa_auth, sta->wpa_sm, in hostapd_notif_assoc() 329 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, in hostapd_notif_assoc() 336 if (wpa_validate_osen(hapd->wpa_auth, sta->wpa_sm, in hostapd_notif_assoc() 695 if (rx_auth->auth_type == WLAN_AUTH_FT && hapd->wpa_auth) { in hostapd_notif_auth() 698 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, in hostapd_notif_auth() 1302 wpa_auth_reconfig_group_keys(hapd->wpa_auth); in wpa_supplicant_event()
|
| HD | hostapd.c | 98 if ((hapd->conf->wpa || hapd->conf->osen) && hapd->wpa_auth == NULL) { in hostapd_reload_bss() 100 if (hapd->wpa_auth) in hostapd_reload_bss() 101 wpa_init_keys(hapd->wpa_auth); in hostapd_reload_bss() 106 wpa_ie = wpa_auth_get_wpa_ie(hapd->wpa_auth, &wpa_ie_len); in hostapd_reload_bss() 110 } else if (hapd->wpa_auth) { in hostapd_reload_bss() 111 wpa_deinit(hapd->wpa_auth); in hostapd_reload_bss() 112 hapd->wpa_auth = NULL; in hostapd_reload_bss() 824 if (!hapd->wpa_auth) in hostapd_das_disconnect_pmksa() 826 return wpa_auth_radius_das_disconnect_pmksa(hapd->wpa_auth, attr); in hostapd_das_disconnect_pmksa() 858 wpa_auth_pmksa_remove(hapd->wpa_auth, sta->addr); in hostapd_das_disconnect() [all …]
|
| HD | wpa_auth_ie.h | 55 int wpa_auth_gen_wpa_ie(struct wpa_authenticator *wpa_auth);
|
| HD | preauth_auth.c | 208 if (wpa_auth_pmksa_add_preauth(hapd->wpa_auth, key, len, in rsn_preauth_finished()
|
| HD | ieee802_11.c | 667 wpa_auth_pmksa_add_sae(hapd->wpa_auth, sta->addr, in sae_sm_step() 1164 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, in handle_auth() 1187 wpa_auth_sta_init(hapd->wpa_auth, in handle_auth() 1465 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, in check_assoc_ies() 1473 res = wpa_validate_wpa_ie(hapd->wpa_auth, sta->wpa_sm, in check_assoc_ies() 1585 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, in check_assoc_ies() 1592 if (wpa_validate_osen(hapd->wpa_auth, sta->wpa_sm, in check_assoc_ies()
|
| HD | hostapd.h | 149 struct wpa_authenticator *wpa_auth; member
|
| HD | wnm_ap.c | 459 wpa_auth_pmksa_remove(hapd->wpa_auth, sta->addr); in set_disassoc_timer()
|
| HD | ieee802_1x.c | 899 wpa_receive(hapd->wpa_auth, sta->wpa_sm, (u8 *) hdr, in ieee802_1x_receive() 2254 wpa_auth_eapol_key_tx_status(hapd->wpa_auth, in ieee802_1x_eapol_tx_status()
|
| HD | beacon.c | 289 ie = wpa_auth_get_wpa_ie(hapd->wpa_auth, &ielen); in hostapd_eid_wpa()
|
| /NextBSD/usr.sbin/wpa/hostapd/ |
| HD | Makefile | 23 wpa_auth.c wpa_auth_glue.c wpa_auth_ie.c wpa_common.c wpa_debug.c \
|
| /NextBSD/contrib/wpa/wpa_supplicant/ |
| HD | mesh_rsn.c | 217 bss->wpa_auth = mesh_rsn->auth; in mesh_rsn_auth_init()
|
| /NextBSD/contrib/wpa/hostapd/ |
| HD | ctrl_iface.c | 2068 res = wpa_get_mib(hapd->wpa_auth, reply + reply_len, in hostapd_ctrl_iface_receive_process()
|