Home
last modified time | relevance | path

Searched refs:WPS_AUTH_WPA2PSK (Results 1 – 10 of 10) sorted by relevance

/external/wpa_supplicant_8/src/wps/
Dwps_defs.h196 #define WPS_AUTH_WPA2PSK 0x0020 macro
198 WPS_AUTH_WPA | WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK)
Dwps_attr_process.c213 if (cred->auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK) && in wps_workaround_cred_key()
235 if (cred->auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK) && in wps_workaround_cred_key()
Dwps_enrollee.c262 if (auth_type & WPS_AUTH_WPA2PSK) in wps_build_cred_auth_type()
263 auth_type = WPS_AUTH_WPA2PSK; in wps_build_cred_auth_type()
286 if (wps->wps->ap_auth_type & (WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK)) { in wps_build_cred_encr_type()
303 if ((wps->wps->ap_auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) && in wps_build_cred_network_key()
858 (cred.auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) == in wps_process_ap_settings_e()
876 if ((cred.auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) == in wps_process_ap_settings_e()
880 cred.auth_type |= WPS_AUTH_WPA2PSK; in wps_process_ap_settings_e()
Dwps_registrar.c1655 wps->cred.auth_type = WPS_AUTH_WPA2PSK; in wps_build_cred()
1678 if (wps->auth_type & WPS_AUTH_WPA2PSK) in wps_build_cred()
1679 wps->auth_type = WPS_AUTH_WPA2PSK; in wps_build_cred()
1697 if (wps->wps->ap && wps->auth_type == WPS_AUTH_WPA2PSK) in wps_build_cred()
1701 if (wps->auth_type == WPS_AUTH_WPA2PSK || in wps_build_cred()
1773 } else if (wps->auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) { in wps_build_cred()
1808 dummy.auth_type = WPS_AUTH_WPA2PSK; in wps_build_cred()
2443 (WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK)) == in wps_process_auth_type_flags()
2447 auth_types |= WPS_AUTH_WPA2PSK; in wps_process_auth_type_flags()
2893 if (wps->cred.auth_type & WPS_AUTH_WPA2PSK) in wps_sta_cred_cb()
[all …]
Dwps_validate.c654 if ((val & ~WPS_AUTH_TYPES) || !(val & WPS_AUTH_WPA2PSK)) { in wps_validate_auth_type_flags()
678 val != (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK))) { in wps_validate_auth_type()
Dwps_common.c393 cred.auth_type = WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK; in wps_get_oob_cred()
/external/wpa_supplicant_8/src/ap/
Dwps_hostapd.c368 if (cred->auth_type & (WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK | in hapd_wps_reconfig_in_memory()
374 if ((cred->auth_type & (WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK)) && in hapd_wps_reconfig_in_memory()
377 else if (cred->auth_type & (WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK)) in hapd_wps_reconfig_in_memory()
388 if (cred->auth_type & (WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK)) in hapd_wps_reconfig_in_memory()
408 (cred->auth_type & WPS_AUTH_WPA2PSK) && in hapd_wps_reconfig_in_memory()
512 } else if ((cred->auth_type & (WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK)) && in hapd_wps_cred_cb()
573 if (cred->auth_type & (WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK | in hapd_wps_cred_cb()
579 if ((cred->auth_type & (WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK)) && in hapd_wps_cred_cb()
582 else if (cred->auth_type & (WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK)) in hapd_wps_cred_cb()
602 if (cred->auth_type & (WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK)) { in hapd_wps_cred_cb()
[all …]
/external/wpa_supplicant_8/wpa_supplicant/
Dwps_supplicant.c409 if (auth_type == (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) { in wpa_supplicant_wps_cred()
412 auth_type = WPS_AUTH_WPA2PSK; in wpa_supplicant_wps_cred()
417 auth_type != WPS_AUTH_WPA2PSK) { in wpa_supplicant_wps_cred()
424 if (auth_type == WPS_AUTH_WPAPSK || auth_type == WPS_AUTH_WPA2PSK) { in wpa_supplicant_wps_cred()
534 case WPS_AUTH_WPA2PSK: in wpa_supplicant_wps_cred()
816 if (cred->auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) { in wpa_supplicant_wps_event_er_ap_settings()
1626 wps->auth_types = WPS_AUTH_WPA2PSK; in wpas_wps_init()
1629 wps->auth_types = WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK; in wpas_wps_init()
2053 WPS_AUTH_WPA2PSK : WPS_AUTH_WPAPSK; in wpas_wps_network_to_cred()
2140 cred.auth_type = WPS_AUTH_WPA2PSK; in wpas_wps_er_config()
/external/wpa_supplicant_8/src/eap_peer/
Deap_wsc.c92 cred->auth_type = WPS_AUTH_WPA2PSK; in eap_wsc_new_ap_settings()
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_new.c761 if (cred->auth_type & WPS_AUTH_WPA2PSK) in wpas_dbus_signal_wps_cred()