/external/wpa_supplicant_8/wpa_supplicant/ |
D | preauth_test.c | 192 rsn_preauth_deinit(wpa_s->wpa); in test_eapol_clean() 193 pmksa_candidate_free(wpa_s->wpa); in test_eapol_clean() 194 wpa_sm_deinit(wpa_s->wpa); in test_eapol_clean() 214 if (!rsn_preauth_in_progress(wpa_s->wpa)) in eapol_test_poll() 256 wpa_s->wpa = wpa_sm_init(ctx); in wpa_init_conf() 257 assert(wpa_s->wpa != NULL); in wpa_init_conf() 258 wpa_sm_set_param(wpa_s->wpa, WPA_PARAM_PROTO, WPA_PROTO_RSN); in wpa_init_conf() 261 wpa_sm_set_ifname(wpa_s->wpa, wpa_s->ifname, NULL); in wpa_init_conf() 271 wpa_sm_set_own_addr(wpa_s->wpa, wpa_s->own_addr); in wpa_init_conf() 346 if (rsn_preauth_init(wpa_s.wpa, bssid, &wpa_s.conf->ssid->eap)) in main() [all …]
|
D | events.c | 362 pmksa_cache_clear_current(wpa_s->wpa); in wpa_find_assoc_pmkid() 364 if (wpa_sm_parse_own_wpa_ie(wpa_s->wpa, &ie) < 0 || in wpa_find_assoc_pmkid() 369 pmksa_set = pmksa_cache_set_current(wpa_s->wpa, in wpa_find_assoc_pmkid() 397 pmksa_candidate_add(wpa_s->wpa, data->pmkid_candidate.bssid, in wpa_supplicant_event_pmkid_candidate() 486 wpa_sm_set_scard_ctx(wpa_s->wpa, wpa_s->scard); in wpa_supplicant_scard_init() 1139 bool wpa, check_ssid, osen, rsn_osen = false; in wpa_scan_res_ok() local 1150 wpa = ie && ie[1]; in wpa_scan_res_ok() 1152 wpa |= ie && ie[1]; in wpa_scan_res_ok() 1165 check_ssid = wpa || ssid->ssid_len > 0; in wpa_scan_res_ok() 1190 if (wpa && ssid->ssid_len == 0 && in wpa_scan_res_ok() [all …]
|
D | wpa_supplicant.c | 228 wpa_sm_notify_disassoc(wpa_s->wpa); in wpa_supplicant_timeout() 413 wpa_sm_set_ap_wpa_ie(wpa_s->wpa, NULL, 0); in wpa_supplicant_set_non_wpa_policy() 414 wpa_sm_set_ap_rsn_ie(wpa_s->wpa, NULL, 0); in wpa_supplicant_set_non_wpa_policy() 415 wpa_sm_set_ap_rsnxe(wpa_s->wpa, NULL, 0); in wpa_supplicant_set_non_wpa_policy() 416 wpa_sm_set_assoc_wpa_ie(wpa_s->wpa, NULL, 0); in wpa_supplicant_set_non_wpa_policy() 417 wpa_sm_set_assoc_rsnxe(wpa_s->wpa, NULL, 0); in wpa_supplicant_set_non_wpa_policy() 437 wpa_sm_set_param(wpa_s->wpa, WPA_PARAM_RSN_ENABLED, 0); in wpa_supplicant_set_non_wpa_policy() 438 wpa_sm_set_param(wpa_s->wpa, WPA_PARAM_KEY_MGMT, wpa_s->key_mgmt); in wpa_supplicant_set_non_wpa_policy() 439 wpa_sm_set_param(wpa_s->wpa, WPA_PARAM_PAIRWISE, in wpa_supplicant_set_non_wpa_policy() 441 wpa_sm_set_param(wpa_s->wpa, WPA_PARAM_GROUP, wpa_s->group_cipher); in wpa_supplicant_set_non_wpa_policy() [all …]
|
D | wpas_glue.c | 117 int encrypt = wpa_s->wpa && in wpa_ether_send() 118 wpa_sm_has_ptk_installed(wpa_s->wpa); in wpa_ether_send() 170 if (pmksa_cache_get_current(wpa_s->wpa) && in wpa_supplicant_eapol_send() 265 wpa_sm_aborted_cached(wpa_s->wpa); in wpa_supplicant_aborted_cached() 320 if (wpa_ft_is_ft_protocol(wpa_s->wpa)) { in wpa_supplicant_eapol_cb() 423 if (wpa_sm_set_ap_wpa_ie(wpa_s->wpa, ie, ie ? 2 + ie[1] : 0)) in wpa_get_beacon_ie() 427 if (wpa_sm_set_ap_rsn_ie(wpa_s->wpa, ie, ie ? 2 + ie[1] : 0)) in wpa_get_beacon_ie() 431 if (wpa_sm_set_ap_rsnxe(wpa_s->wpa, ie, ie ? 2 + ie[1] : 0)) in wpa_get_beacon_ie() 1034 wpa_sm_pmksa_cache_flush(wpa_s->wpa, ssid); in wpa_sm_sim_state_error_handler() 1110 !wpa_sm_ext_key_id_active(wpa_s->wpa)) { in wpa_supplicant_eap_auth_start_cb() [all …]
|
D | sme.c | 443 if (pmksa_cache_set_current(wpa_s->wpa, NULL, bss->bssid, in sme_send_authentication() 536 wpa_sm_set_ft_params(wpa_s->wpa, ie, ie ? 2 + ie[1] : 0); in sme_send_authentication() 542 wpa_ft_prepare_auth_request(wpa_s->wpa, ie); in sme_send_authentication() 566 wpa_sm_has_ptk(wpa_s->wpa)) { in sme_send_authentication() 742 pmksa_cache_set_current(wpa_s->wpa, NULL, bss->bssid, ssid, 0, in sme_send_authentication() 749 wpa_sm_set_pmk_from_pmksa(wpa_s->wpa); in sme_send_authentication() 836 if (pmksa_cache_set_current(wpa_s->wpa, NULL, bss->bssid, in sme_send_authentication() 842 resp = fils_build_auth(wpa_s->wpa, ssid->fils_dh_group, md); in sme_send_authentication() 964 wpa_sm_set_assoc_wpa_ie(wpa_s->wpa, NULL, 0); in sme_auth_start_cb() 965 wpa_sm_set_assoc_rsnxe(wpa_s->wpa, NULL, 0); in sme_auth_start_cb() [all …]
|
D | ap.c | 453 bss->wpa = ssid->proto; in wpa_supplicant_conf_ap() 564 if ((bss->wpa & 2) && bss->rsn_pairwise == 0) in wpa_supplicant_conf_ap() 566 bss->wpa_group = wpa_select_ap_group_cipher(bss->wpa, bss->wpa_pairwise, in wpa_supplicant_conf_ap() 569 if (bss->wpa && bss->ieee802_1x) { in wpa_supplicant_conf_ap() 571 } else if (bss->wpa) { in wpa_supplicant_conf_ap() 600 if (bss->wpa_group_rekey < 86400 && (bss->wpa & 2) && in wpa_supplicant_conf_ap() 630 !(bss->wpa & 2))) in wpa_supplicant_conf_ap() 1450 if (conf->wpa == 0) in ap_ctrl_iface_wpa_get_status() 1460 conf->wpa)); in ap_ctrl_iface_wpa_get_status()
|
/external/wpa_supplicant_8/src/ap/ |
D | ap_config.c | 1166 if (bss->wpa != WPA_PROTO_RSN) { in hostapd_config_check_bss_6g() 1220 if (bss->wpa) { in hostapd_config_check_bss() 1239 if (full_config && bss->wpa && in hostapd_config_check_bss() 1247 if (full_config && bss->wpa && (bss->wpa_key_mgmt & WPA_KEY_MGMT_PSK) && in hostapd_config_check_bss() 1301 if (full_config && conf->ieee80211n && bss->wpa && in hostapd_config_check_bss() 1322 if (full_config && conf->ieee80211ac && bss->wpa && in hostapd_config_check_bss() 1343 if (full_config && conf->ieee80211ax && bss->wpa && in hostapd_config_check_bss() 1363 bss->ssid.wep.keys_set && bss->wpa == 0) { in hostapd_config_check_bss() 1370 if (full_config && bss->wps_state && bss->wpa && in hostapd_config_check_bss() 1371 (!(bss->wpa & 2) || in hostapd_config_check_bss() [all …]
|
D | wps_hostapd.c | 370 bss->wpa = 2; in hapd_wps_reconfig_in_memory() 372 bss->wpa = 0; in hapd_wps_reconfig_in_memory() 376 bss->wpa = 3; in hapd_wps_reconfig_in_memory() 378 bss->wpa = 2; in hapd_wps_reconfig_in_memory() 380 bss->wpa = 1; in hapd_wps_reconfig_in_memory() 382 bss->wpa = 0; in hapd_wps_reconfig_in_memory() 385 if (bss->wpa) { in hapd_wps_reconfig_in_memory() 403 bss->wpa_group = wpa_select_ap_group_cipher(bss->wpa, in hapd_wps_reconfig_in_memory() 463 int wpa; in hapd_wps_cred_cb() local 575 wpa = 2; in hapd_wps_cred_cb() [all …]
|
D | ieee802_11_shared.c | 404 if ((hapd->conf->wpa & WPA_PROTO_RSN) && in hostapd_ext_capab_byte() 416 if (hapd->conf->wpa && in hostapd_ext_capab_byte() 435 if (hapd->conf->wpa && in hostapd_ext_capab_byte() 484 if ((!(hapd->conf->wpa & WPA_PROTO_RSN) || in hostapd_eid_ext_capab() 494 if (len < 11 && hapd->conf->wpa && in hostapd_eid_ext_capab() 503 if (len < 12 && hapd->conf->wpa && in hostapd_eid_ext_capab() 977 if (!(hapd->conf->wpa & WPA_PROTO_RSN) || in hostapd_eid_fils_indic() 1106 if (!(hapd->conf->wpa & WPA_PROTO_RSN)) in hostapd_eid_rsnxe()
|
D | wpa_auth_ie.c | 506 if (wpa_auth->conf.wpa == WPA_PROTO_OSEN) { in wpa_auth_gen_wpa_ie() 509 if (wpa_auth->conf.wpa & WPA_PROTO_RSN) { in wpa_auth_gen_wpa_ie() 530 if (wpa_auth->conf.wpa & WPA_PROTO_WPA) { in wpa_auth_gen_wpa_ie() 611 if (!(wpa_auth->conf.wpa & version)) { in wpa_validate_wpa_ie() 918 sm->wpa = WPA_VERSION_WPA2; in wpa_validate_wpa_ie() 920 sm->wpa = WPA_VERSION_WPA; in wpa_validate_wpa_ie() 996 if (conf->extended_key_id && sm->wpa == WPA_VERSION_WPA2 && in wpa_validate_wpa_ie() 1053 sm->wpa = WPA_VERSION_WPA2; in wpa_validate_osen() 1161 if (!(conf->wpa & WPA_PROTO_RSN)) in wpa_auth_write_fd_rsn_info()
|
D | wpa_auth.c | 678 if (!wpa_auth || !wpa_auth->conf.wpa || !sm) in wpa_auth_sta_associated() 1022 if (!wpa_auth || !wpa_auth->conf.wpa || !sm) in wpa_receive() 1057 if (sm->wpa == WPA_VERSION_WPA2) { in wpa_receive() 1219 if (sm->wpa == WPA_VERSION_WPA2 && mic_len == 0 && in wpa_receive() 1548 key->type = sm->wpa == WPA_VERSION_WPA2 ? in __wpa_send_eapol() 1551 if (encr && sm->wpa == WPA_VERSION_WPA2) in __wpa_send_eapol() 1553 if (sm->wpa != WPA_VERSION_WPA2) in __wpa_send_eapol() 1558 if (sm->wpa == WPA_VERSION_WPA2 && !pairwise) in __wpa_send_eapol() 1939 if (sm->wpa == WPA_VERSION_WPA) in SM_STATE() 2206 if (sm->wpa == WPA_VERSION_WPA2 && in SM_STATE() [all …]
|
D | ieee802_1x.c | 391 suite = wpa_cipher_to_suite(((hapd->conf->wpa & 0x2) || in add_common_radius_sta_attr_rsn() 491 if ((hapd->conf->wpa & 2) && in add_common_radius_sta_attr() 507 if (hapd->conf->wpa && wpa_key_mgmt_ft(hapd->conf->wpa_key_mgmt) && in add_common_radius_sta_attr() 521 if ((hapd->conf->wpa || hapd->conf->osen) && sta->wpa_sm && in add_common_radius_sta_attr() 1042 if (!hapd->conf->ieee802_1x && !hapd->conf->wpa && !hapd->conf->osen && in ieee802_1x_receive() 1236 ((hapd->conf->wpa && (sta->flags & WLAN_STA_MAYBE_WPS)) || in ieee802_1x_new_station() 2443 conf.wpa = hapd->conf->wpa; in ieee802_1x_init() 2474 if ((hapd->conf->ieee802_1x || hapd->conf->wpa) && in ieee802_1x_init() 2523 (hapd->conf->ieee802_1x || hapd->conf->wpa)) in ieee802_1x_deinit() 2589 const struct wpa_eapol_key *wpa; in ieee802_1x_eapol_tx_status() local [all …]
|
D | ap_drv_ops.c | 281 if (((!hapd->conf->ieee802_1x && !hapd->conf->wpa) || in hostapd_set_sta_flags() 300 params.wpa = hapd->conf->wpa; in hostapd_set_drv_ieee8021x() 303 if ((hapd->conf->wpa & (WPA_PROTO_WPA | WPA_PROTO_RSN)) == in hostapd_set_drv_ieee8021x() 307 else if (hapd->conf->wpa & WPA_PROTO_RSN) in hostapd_set_drv_ieee8021x() 309 else if (hapd->conf->wpa & WPA_PROTO_WPA) in hostapd_set_drv_ieee8021x()
|
/external/wpa_supplicant_8/wpa_supplicant/examples/ |
D | wpas-dbus-new.py | 57 wpa = "no" 59 wpa = "yes" 76 …print(" %s :: ssid='%s' wpa=%s wpa2=%s signal=%d rate=%d freq=%d" % (bssid, ssid, wpa, wpa…
|
D | wpas-dbus-new-signals.py | 64 wpa = "no" 66 wpa = "yes" 83 …print(" %s :: ssid='%s' wpa=%s wpa2=%s signal=%d rate=%d freq=%d" % (bssid, ssid, wpa, wpa…
|
/external/wpa_supplicant_8/src/rsn_supp/ |
D | Makefile | 11 wpa.o \
|
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/ |
D | networkconfig.cpp | 525 int wpa = 0; in paramsFromConfig() local 529 wpa = 2; in paramsFromConfig() 531 wpa = 1; in paramsFromConfig() 540 auth = wpa & 2 ? AUTH_WPA2_EAP : AUTH_WPA_EAP; in paramsFromConfig() 542 auth = wpa & 2 ? AUTH_WPA2_PSK : AUTH_WPA_PSK; in paramsFromConfig()
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_bsd.c | 494 wpa_printf(MSG_DEBUG, "%s: enable WPA= 0x%x", __func__, params->wpa); in bsd_configure_wpa() 495 if (set80211param(priv, IEEE80211_IOC_WPA, params->wpa)) { in bsd_configure_wpa() 496 wpa_printf(MSG_INFO, "Unable to set WPA to %u", params->wpa); in bsd_configure_wpa() 512 if (!params->wpa && !params->ieee802_1x) { in bsd_set_ieee8021x() 517 if (params->wpa && bsd_configure_wpa(priv, params) != 0) { in bsd_set_ieee8021x() 523 (params->wpa ? IEEE80211_AUTH_WPA : IEEE80211_AUTH_8021X))) { in bsd_set_ieee8021x() 1128 wpa_driver_bsd_set_wpa_internal(void *priv, int wpa, int privacy) in wpa_driver_bsd_set_wpa_internal() argument 1133 __func__, wpa, privacy); in wpa_driver_bsd_set_wpa_internal() 1135 if (!wpa && wpa_driver_bsd_set_wpa_ie(priv, NULL, 0) < 0) in wpa_driver_bsd_set_wpa_internal() 1139 if (set80211param(priv, IEEE80211_IOC_WPA, wpa) < 0) in wpa_driver_bsd_set_wpa_internal()
|
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.4/ |
D | android.hardware.wifi.supplicant-service.rc | 2 -O/data/vendor/wifi/wpa/sockets -dd \
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/cfg80211/rdev_connect/ |
D | format | 19 print fmt: "%s, netdev:%s(%d), bssid: %pM, ssid: %s, auth type: %d, privacy: %s, wpa versions: %u, …
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/cfg80211/rdev_connect/ |
D | format | 19 print fmt: "%s, netdev:%s(%d), bssid: %pM, ssid: %s, auth type: %d, privacy: %s, wpa versions: %u, …
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/cfg80211/rdev_connect/ |
D | format | 20 print fmt: "%s, netdev:%s(%d), bssid: %pM, ssid: %s, auth type: %d, privacy: %s, wpa versions: %u, …
|
/external/autotest/server/site_tests/network_WiFi_RoamSuspendSSID/ |
D | control.wpa | 7 NAME = 'network_WiFi_RoamSuspendSSID.wpa'
|
/external/wpa_supplicant_8/src/eapol_auth/ |
D | eapol_auth_sm.h | 20 int wpa; member
|
/external/autotest/server/site_tests/network_WiFi_RoamSuspendTimeout/ |
D | control.wpa | 6 NAME = 'network_WiFi_RoamSuspendTimeout.wpa'
|