/third_party/wpa_supplicant/wpa_supplicant-2.9/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 | 626 static int wpa_ft_rrb_send(struct wpa_authenticator *wpa_auth, const u8 *dst, in wpa_ft_rrb_send() argument 629 if (wpa_auth->cb->send_ether == NULL) in wpa_ft_rrb_send() 632 return wpa_auth->cb->send_ether(wpa_auth->cb_ctx, dst, ETH_P_RRB, in wpa_ft_rrb_send() 637 static int wpa_ft_rrb_oui_send(struct wpa_authenticator *wpa_auth, in wpa_ft_rrb_oui_send() argument 641 if (!wpa_auth->cb->send_oui) in wpa_ft_rrb_oui_send() 645 return wpa_auth->cb->send_oui(wpa_auth->cb_ctx, dst, oui_suffix, data, in wpa_ft_rrb_oui_send() 650 static int wpa_ft_action_send(struct wpa_authenticator *wpa_auth, in wpa_ft_action_send() argument 653 if (wpa_auth->cb->send_ft_action == NULL) in wpa_ft_action_send() 655 return wpa_auth->cb->send_ft_action(wpa_auth->cb_ctx, dst, in wpa_ft_action_send() 660 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 272 void wpa_auth_logger(struct wpa_authenticator *wpa_auth, const u8 *addr, 274 void wpa_auth_vlogger(struct wpa_authenticator *wpa_auth, const u8 *addr, 276 void __wpa_send_eapol(struct wpa_authenticator *wpa_auth, 281 int wpa_auth_for_each_sta(struct wpa_authenticator *wpa_auth, 284 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 | 472 if (iface->bss[i]->wpa_auth && in wpa_auth_iface_iter() 473 data->cb(iface->bss[i]->wpa_auth, data->cb_ctx)) in wpa_auth_iface_iter() 512 if (hapd->wpa_auth) { in hostapd_wpa_ft_rrb_rx_later() 513 wpa_ft_rrb_rx(hapd->wpa_auth, data->addr, in hostapd_wpa_ft_rrb_rx_later() 541 !hapd->wpa_auth || in hostapd_wpa_auth_ft_iter() 688 if (hapd->wpa_auth && oui_ctx) { in hostapd_oui_deliver_later() 917 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, sta->addr, NULL); in hostapd_wpa_auth_add_sta() 1179 wpa_ft_rrb_rx(hapd->wpa_auth, ethhdr->h_source, buf + sizeof(*ethhdr), in hostapd_rrb_receive() 1195 wpa_ft_rrb_oui_rx(hapd->wpa_auth, src_addr, dst_addr, oui_suffix, buf, in hostapd_rrb_oui_receive() 1308 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 | drv_callbacks.c | 313 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, in hostapd_notif_assoc() 321 res = wpa_validate_wpa_ie(hapd->wpa_auth, sta->wpa_sm, in hostapd_notif_assoc() 446 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, in hostapd_notif_assoc() 453 if (wpa_validate_osen(hapd->wpa_auth, sta->wpa_sm, in hostapd_notif_assoc() 1107 if (rx_auth->auth_type == WLAN_AUTH_FT && hapd->wpa_auth) { in hostapd_notif_auth() 1110 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, in hostapd_notif_auth() 1614 if (!hapd || !hapd->wpa_auth) { in hostapd_notif_update_dh_ie() 1875 if (hapd->wpa_auth) in wpa_supplicant_event_hapd() 1876 wpa_auth_reconfig_group_keys(hapd->wpa_auth); in wpa_supplicant_event_hapd()
|
D | hostapd.c | 88 if (hapd->wpa_auth) in hostapd_reconfig_encryption() 129 if ((hapd->conf->wpa || hapd->conf->osen) && hapd->wpa_auth == NULL) { in hostapd_reload_bss() 131 if (hapd->wpa_auth) in hostapd_reload_bss() 132 wpa_init_keys(hapd->wpa_auth); in hostapd_reload_bss() 137 wpa_ie = wpa_auth_get_wpa_ie(hapd->wpa_auth, &wpa_ie_len); in hostapd_reload_bss() 141 } else if (hapd->wpa_auth) { in hostapd_reload_bss() 142 wpa_deinit(hapd->wpa_auth); in hostapd_reload_bss() 143 hapd->wpa_auth = NULL; in hostapd_reload_bss() 946 if (!hapd->wpa_auth) in hostapd_das_disconnect_pmksa() 948 return wpa_auth_radius_das_disconnect_pmksa(hapd->wpa_auth, attr); in hostapd_das_disconnect_pmksa() [all …]
|
D | Makefile | 66 wpa_auth.o \
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
D | wpa_auth.c | 52 static void wpa_group_sm_step(struct wpa_authenticator *wpa_auth, 55 static int wpa_gtk_update(struct wpa_authenticator *wpa_auth, 57 static int wpa_group_config_group_keys(struct wpa_authenticator *wpa_auth, 62 static void wpa_group_free(struct wpa_authenticator *wpa_auth, 64 static void wpa_group_get(struct wpa_authenticator *wpa_auth, 66 static void wpa_group_put(struct wpa_authenticator *wpa_auth, 83 struct wpa_authenticator *wpa_auth, const u8 *addr) in wpa_auth_mic_failure_report() argument 85 if (wpa_auth->cb->mic_failure_report) in wpa_auth_mic_failure_report() 86 return wpa_auth->cb->mic_failure_report(wpa_auth->cb_ctx, addr); in wpa_auth_mic_failure_report() 92 struct wpa_authenticator *wpa_auth, const u8 *addr) in wpa_auth_psk_failure_report() argument [all …]
|
D | wpa_auth_ft.c | 627 static int wpa_ft_rrb_send(struct wpa_authenticator *wpa_auth, const u8 *dst, in wpa_ft_rrb_send() argument 630 if (wpa_auth->cb->send_ether == NULL) in wpa_ft_rrb_send() 633 return wpa_auth->cb->send_ether(wpa_auth->cb_ctx, dst, ETH_P_RRB, in wpa_ft_rrb_send() 638 static int wpa_ft_rrb_oui_send(struct wpa_authenticator *wpa_auth, in wpa_ft_rrb_oui_send() argument 642 if (!wpa_auth->cb->send_oui) in wpa_ft_rrb_oui_send() 646 return wpa_auth->cb->send_oui(wpa_auth->cb_ctx, dst, oui_suffix, data, in wpa_ft_rrb_oui_send() 651 static int wpa_ft_action_send(struct wpa_authenticator *wpa_auth, in wpa_ft_action_send() argument 654 if (wpa_auth->cb->send_ft_action == NULL) in wpa_ft_action_send() 656 return wpa_auth->cb->send_ft_action(wpa_auth->cb_ctx, dst, in wpa_ft_action_send() 661 static const u8 * wpa_ft_get_psk(struct wpa_authenticator *wpa_auth, in wpa_ft_get_psk() argument [all …]
|
D | wpa_auth_ie.c | 482 int wpa_auth_gen_wpa_ie(struct wpa_authenticator *wpa_auth) in wpa_auth_gen_wpa_ie() argument 488 if (wpa_auth->conf.own_ie_override_len) { in wpa_auth_gen_wpa_ie() 490 wpa_auth->conf.own_ie_override, in wpa_auth_gen_wpa_ie() 491 wpa_auth->conf.own_ie_override_len); in wpa_auth_gen_wpa_ie() 492 os_free(wpa_auth->wpa_ie); in wpa_auth_gen_wpa_ie() 493 wpa_auth->wpa_ie = in wpa_auth_gen_wpa_ie() 494 os_malloc(wpa_auth->conf.own_ie_override_len); in wpa_auth_gen_wpa_ie() 495 if (wpa_auth->wpa_ie == NULL) in wpa_auth_gen_wpa_ie() 497 os_memcpy(wpa_auth->wpa_ie, wpa_auth->conf.own_ie_override, in wpa_auth_gen_wpa_ie() 498 wpa_auth->conf.own_ie_override_len); in wpa_auth_gen_wpa_ie() [all …]
|
D | wpa_auth.h | 354 int wpa_init_keys(struct wpa_authenticator *wpa_auth); 355 void wpa_deinit(struct wpa_authenticator *wpa_auth); 356 int wpa_reconfig(struct wpa_authenticator *wpa_auth, 368 wpa_validate_wpa_ie(struct wpa_authenticator *wpa_auth, 374 int wpa_validate_osen(struct wpa_authenticator *wpa_auth, 381 wpa_auth_sta_init(struct wpa_authenticator *wpa_auth, const u8 *addr, 383 int wpa_auth_sta_associated(struct wpa_authenticator *wpa_auth, 387 void wpa_receive(struct wpa_authenticator *wpa_auth, 397 void wpa_gtk_rekey(struct wpa_authenticator *wpa_auth); 398 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 278 void wpa_auth_logger(struct wpa_authenticator *wpa_auth, const u8 *addr, 280 void wpa_auth_vlogger(struct wpa_authenticator *wpa_auth, const u8 *addr, 283 void __wpa_send_eapol(struct wpa_authenticator *wpa_auth, 288 int wpa_auth_for_each_sta(struct wpa_authenticator *wpa_auth, 291 int wpa_auth_for_each_auth(struct wpa_authenticator *wpa_auth,
|
D | vlan_init.c | 51 if (hapd->wpa_auth) in vlan_if_add() 52 ret = wpa_auth_ensure_group(hapd->wpa_auth, vlan->vlan_id); in vlan_if_add() 59 if (wpa_auth_release_group(hapd->wpa_auth, vlan->vlan_id)) in vlan_if_add() 74 ret = wpa_auth_release_group(hapd->wpa_auth, vlan->vlan_id); in vlan_if_remove()
|
D | wpa_auth_glue.c | 565 if (iface->bss[i]->wpa_auth && in wpa_auth_iface_iter() 566 data->cb(iface->bss[i]->wpa_auth, data->cb_ctx)) in wpa_auth_iface_iter() 605 if (hapd->wpa_auth) { in hostapd_wpa_ft_rrb_rx_later() 606 wpa_ft_rrb_rx(hapd->wpa_auth, data->addr, in hostapd_wpa_ft_rrb_rx_later() 634 !hapd->wpa_auth || in hostapd_wpa_auth_ft_iter() 783 if (hapd->wpa_auth && oui_ctx) { in hostapd_oui_deliver_later() 1073 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, sta->addr, NULL); in hostapd_wpa_auth_add_sta() 1363 wpa_ft_rrb_rx(hapd->wpa_auth, ethhdr->h_source, buf + sizeof(*ethhdr), in hostapd_rrb_receive() 1379 wpa_ft_rrb_oui_rx(hapd->wpa_auth, src_addr, dst_addr, oui_suffix, buf, in hostapd_rrb_oui_receive() 1531 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 | 14 int wpa_auth_gen_wpa_ie(struct wpa_authenticator *wpa_auth);
|
D | Makefile | 53 wpa_auth.o \
|
D | drv_callbacks.c | 349 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, in hostapd_notif_assoc() 357 res = wpa_validate_wpa_ie(hapd->wpa_auth, sta->wpa_sm, in hostapd_notif_assoc() 512 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, in hostapd_notif_assoc() 519 if (wpa_validate_osen(hapd->wpa_auth, sta->wpa_sm, in hostapd_notif_assoc() 1264 if (rx_auth->auth_type == WLAN_AUTH_FT && hapd->wpa_auth) { in hostapd_notif_auth() 1267 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, in hostapd_notif_auth() 1787 if (!hapd || !hapd->wpa_auth) { in hostapd_notif_update_dh_ie() 2048 if (hapd->wpa_auth) in wpa_supplicant_event_hapd() 2049 wpa_auth_reconfig_group_keys(hapd->wpa_auth); in wpa_supplicant_event_hapd()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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() 373 pmksa = wpa_auth_pmksa_get(hapd->wpa_auth, sta->addr, NULL); in mesh_rsn_auth_sae_sta() 376 sta->wpa_sm = wpa_auth_sta_init(hapd->wpa_auth, in mesh_rsn_auth_sae_sta() 388 wpa_auth_pmksa_set_to_sm(pmksa, sta->wpa_sm, hapd->wpa_auth, in mesh_rsn_auth_sae_sta() 647 if (!wpa_auth_pmksa_get(hapd->wpa_auth, sta->addr, NULL)) { in mesh_rsn_process_ampe()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/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()
|