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)
257 if (auth_type & WPS_AUTH_WPA2PSK) in wps_build_cred_auth_type()258 auth_type = WPS_AUTH_WPA2PSK; in wps_build_cred_auth_type()281 if (wps->wps->ap_auth_type & (WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK)) { in wps_build_cred_encr_type()298 if ((wps->wps->ap_auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) && in wps_build_cred_network_key()853 (cred.auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) == in wps_process_ap_settings_e()871 if ((cred.auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) == in wps_process_ap_settings_e()875 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()2367 (WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK)) == in wps_process_auth_type_flags()2371 auth_types |= WPS_AUTH_WPA2PSK; in wps_process_auth_type_flags()2816 if (wps->cred.auth_type & WPS_AUTH_WPA2PSK) in wps_sta_cred_cb()2817 wps->cred.auth_type = WPS_AUTH_WPA2PSK; in wps_sta_cred_cb()[all …]
212 if (cred->auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK) && in wps_workaround_cred_key()
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()
390 cred.auth_type = WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK; in wps_get_oob_cred()
333 if ((cred->auth_type & (WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK)) && in hapd_wps_reconfig_in_memory()336 else if (cred->auth_type & (WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK)) in hapd_wps_reconfig_in_memory()346 if (cred->auth_type & (WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK)) in hapd_wps_reconfig_in_memory()457 } else if ((cred->auth_type & (WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK)) && in hapd_wps_cred_cb()517 if ((cred->auth_type & (WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK)) && in hapd_wps_cred_cb()520 else if (cred->auth_type & (WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK)) in hapd_wps_cred_cb()537 if (cred->auth_type & (WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK)) in hapd_wps_cred_cb()1069 wps->auth_types |= WPS_AUTH_WPA2PSK; in hostapd_init_wps()1134 wps->auth_types = WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK; in hostapd_init_wps()1692 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()1565 wps->auth_types = WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK; in wpas_wps_init()1976 WPS_AUTH_WPA2PSK : WPS_AUTH_WPAPSK; in wpas_wps_network_to_cred()2063 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()