Searched refs:WPS_AUTH_WPA2PSK (Results 1 – 10 of 10) sorted by relevance
195 #define WPS_AUTH_WPA2PSK 0x0020 macro197 WPS_AUTH_WPA | WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK)
212 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()
258 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()
1612 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 …]
654 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()
393 cred.auth_type = WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK; in wps_get_oob_cred()
327 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()
402 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()
92 cred->auth_type = WPS_AUTH_WPA2PSK; in eap_wsc_new_ap_settings()
757 if (cred->auth_type & WPS_AUTH_WPA2PSK) in wpas_dbus_signal_wps_cred()