Home
last modified time | relevance | path

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

/external/wpa_supplicant_6/wpa_supplicant/src/wps/
Dwps_defs.h162 #define WPS_AUTH_WPA2PSK 0x0020 macro
164 WPS_AUTH_WPA | WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK)
Dwps_attr_process.c271 if (cred->auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK) && in wps_workaround_cred_key()
Dwps_registrar.c1091 if (wps->auth_type & WPS_AUTH_WPA2PSK) in wps_build_cred()
1092 wps->auth_type = WPS_AUTH_WPA2PSK; in wps_build_cred()
1106 if (wps->auth_type == WPS_AUTH_WPA2PSK || in wps_build_cred()
1156 } else if (wps->auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) { in wps_build_cred()
2061 if (wps->cred.auth_type & WPS_AUTH_WPA2PSK) in wps_sta_cred_cb()
2062 wps->cred.auth_type = WPS_AUTH_WPA2PSK; in wps_sta_cred_cb()
2462 cred.auth_type = WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK; in wps_process_wsc_done()
/external/wpa_supplicant_8/src/wps/
Dwps_defs.h186 #define WPS_AUTH_WPA2PSK 0x0020 macro
188 WPS_AUTH_WPA | WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK)
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()
280 if (wps->wps->auth_types & (WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK)) { in wps_build_cred_encr_type()
819 (cred.auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) == in wps_process_ap_settings_e()
838 if ((cred.auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) == in wps_process_ap_settings_e()
842 cred.auth_type |= WPS_AUTH_WPA2PSK; in wps_process_ap_settings_e()
Dwps_registrar.c1546 if (wps->auth_type & WPS_AUTH_WPA2PSK) in wps_build_cred()
1547 wps->auth_type = WPS_AUTH_WPA2PSK; in wps_build_cred()
1561 if (wps->auth_type == WPS_AUTH_WPA2PSK || in wps_build_cred()
1617 } else if (wps->auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) { in wps_build_cred()
1650 dummy.auth_type = WPS_AUTH_WPA2PSK; in wps_build_cred()
2690 if (wps->cred.auth_type & WPS_AUTH_WPA2PSK) in wps_sta_cred_cb()
2691 wps->cred.auth_type = WPS_AUTH_WPA2PSK; in wps_sta_cred_cb()
3134 cred.auth_type = WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK; in wps_process_wsc_done()
3444 if ((cred->auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) == in wps_registrar_config_ap()
3448 cred->auth_type |= WPS_AUTH_WPA2PSK; in wps_registrar_config_ap()
Dwps_attr_process.c263 if (cred->auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK) && in wps_workaround_cred_key()
Dwps_validate.c652 if ((val & ~WPS_AUTH_TYPES) || !(val & WPS_AUTH_WPA2PSK)) { in wps_validate_auth_type_flags()
676 val != (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK))) { in wps_validate_auth_type()
/external/wpa_supplicant_6/wpa_supplicant/
Dwps_supplicant.c224 if (auth_type == (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) { in wpa_supplicant_wps_cred()
227 auth_type = WPS_AUTH_WPA2PSK; in wpa_supplicant_wps_cred()
233 auth_type != WPS_AUTH_WPA2PSK) { in wpa_supplicant_wps_cred()
336 case WPS_AUTH_WPA2PSK: in wpa_supplicant_wps_cred()
706 wps->auth_types = WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK; in wpas_wps_init()
/external/wpa_supplicant_8/wpa_supplicant/
Dwps_supplicant.c243 if (auth_type == (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) { in wpa_supplicant_wps_cred()
246 auth_type = WPS_AUTH_WPA2PSK; in wpa_supplicant_wps_cred()
252 auth_type != WPS_AUTH_WPA2PSK) { in wpa_supplicant_wps_cred()
370 case WPS_AUTH_WPA2PSK: in wpa_supplicant_wps_cred()
580 if (cred->auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) { in wpa_supplicant_wps_event_er_ap_settings()
1225 wps->auth_types = WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK; in wpas_wps_init()
1612 WPS_AUTH_WPA2PSK : WPS_AUTH_WPAPSK; in wpas_wps_er_set_config()
1666 cred.auth_type = WPS_AUTH_WPA2PSK; in wpas_wps_er_config()
/external/wpa_supplicant_8/src/ap/
Dwps_hostapd.c389 if ((cred->auth_type & (WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK)) && in hapd_wps_cred_cb()
392 else if (cred->auth_type & (WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK)) in hapd_wps_cred_cb()
409 if (cred->auth_type & (WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK)) in hapd_wps_cred_cb()
870 wps->auth_types |= WPS_AUTH_WPA2PSK; in hostapd_init_wps()
941 wps->auth_types = WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK; in hostapd_init_wps()
1504 cred.auth_type = WPS_AUTH_WPA2PSK; in hostapd_wps_config_ap()
/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.c743 if (cred->auth_type & WPS_AUTH_WPA2PSK) in wpas_dbus_signal_wps_cred()