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.h195 #define WPS_AUTH_WPA2PSK 0x0020 macro
197 WPS_AUTH_WPA | WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK)
Dwps_attr_process.c212 if (cred->auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK) && in wps_workaround_cred_key()
234 if (cred->auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK) && in wps_workaround_cred_key()
Dwps_enrollee.c258 if (auth_type & WPS_AUTH_WPA2PSK) in wps_build_cred_auth_type()
259 auth_type = WPS_AUTH_WPA2PSK; in wps_build_cred_auth_type()
282 if (wps->wps->ap_auth_type & (WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK)) { in wps_build_cred_encr_type()
299 if ((wps->wps->ap_auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) && in wps_build_cred_network_key()
854 (cred.auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) == in wps_process_ap_settings_e()
872 if ((cred.auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) == in wps_process_ap_settings_e()
876 cred.auth_type |= WPS_AUTH_WPA2PSK; in wps_process_ap_settings_e()
Dwps_registrar.c1612 if (wps->auth_type & WPS_AUTH_WPA2PSK) in wps_build_cred()
1613 wps->auth_type = WPS_AUTH_WPA2PSK; in wps_build_cred()
1629 if (wps->wps->ap && wps->auth_type == WPS_AUTH_WPA2PSK) in wps_build_cred()
1633 if (wps->auth_type == WPS_AUTH_WPA2PSK || in wps_build_cred()
1697 } else if (wps->auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) { in wps_build_cred()
1733 dummy.auth_type = WPS_AUTH_WPA2PSK; in wps_build_cred()
2368 (WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK)) == in wps_process_auth_type_flags()
2372 auth_types |= WPS_AUTH_WPA2PSK; in wps_process_auth_type_flags()
2817 if (wps->cred.auth_type & WPS_AUTH_WPA2PSK) in wps_sta_cred_cb()
2818 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.c327 if ((cred->auth_type & (WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK)) && in hapd_wps_reconfig_in_memory()
330 else if (cred->auth_type & (WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK)) in hapd_wps_reconfig_in_memory()
340 if (cred->auth_type & (WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK)) in hapd_wps_reconfig_in_memory()
451 } else if ((cred->auth_type & (WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK)) && in hapd_wps_cred_cb()
511 if ((cred->auth_type & (WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK)) && in hapd_wps_cred_cb()
514 else if (cred->auth_type & (WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK)) in hapd_wps_cred_cb()
531 if (cred->auth_type & (WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK)) in hapd_wps_cred_cb()
1063 wps->auth_types |= WPS_AUTH_WPA2PSK; in hostapd_init_wps()
1128 wps->auth_types = WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK; in hostapd_init_wps()
1686 cred.auth_type = WPS_AUTH_WPA2PSK; in hostapd_wps_config_ap()
/external/wpa_supplicant_8/wpa_supplicant/
Dwps_supplicant.c402 if (auth_type == (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) { in wpa_supplicant_wps_cred()
405 auth_type = WPS_AUTH_WPA2PSK; in wpa_supplicant_wps_cred()
410 auth_type != WPS_AUTH_WPA2PSK) { in wpa_supplicant_wps_cred()
417 if (auth_type == WPS_AUTH_WPAPSK || auth_type == WPS_AUTH_WPA2PSK) { in wpa_supplicant_wps_cred()
517 case WPS_AUTH_WPA2PSK: in wpa_supplicant_wps_cred()
793 if (cred->auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) { in wpa_supplicant_wps_event_er_ap_settings()
1579 wps->auth_types = WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK; in wpas_wps_init()
1990 WPS_AUTH_WPA2PSK : WPS_AUTH_WPAPSK; in wpas_wps_network_to_cred()
2077 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.c757 if (cred->auth_type & WPS_AUTH_WPA2PSK) in wpas_dbus_signal_wps_cred()