Searched refs:WPS_AUTH_WPA2PSK (Results 1 – 7 of 7) sorted by relevance
196 #define WPS_AUTH_WPA2PSK 0x0020 macro198 WPS_AUTH_WPA | WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK)
213 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()
265 if (auth_type & WPS_AUTH_WPA2PSK) in wps_build_cred_auth_type()266 auth_type = WPS_AUTH_WPA2PSK; in wps_build_cred_auth_type()289 if (wps->wps->ap_auth_type & (WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK)) { in wps_build_cred_encr_type()306 if ((wps->wps->ap_auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) && in wps_build_cred_network_key()896 (cred->auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) == in wps_process_ap_settings_e()915 if ((cred->auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) == in wps_process_ap_settings_e()919 cred->auth_type |= WPS_AUTH_WPA2PSK; in wps_process_ap_settings_e()
1662 wps->cred.auth_type = WPS_AUTH_WPA2PSK; in wps_build_cred()1685 if (wps->auth_type & WPS_AUTH_WPA2PSK) in wps_build_cred()1686 wps->auth_type = WPS_AUTH_WPA2PSK; in wps_build_cred()1704 if (wps->wps->ap && wps->auth_type == WPS_AUTH_WPA2PSK) in wps_build_cred()1708 if (wps->auth_type == WPS_AUTH_WPA2PSK || in wps_build_cred()1783 } else if (wps->auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) { in wps_build_cred()1819 stub.auth_type = WPS_AUTH_WPA2PSK; in wps_build_cred()2456 (WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK)) == in wps_process_auth_type_flags()2460 auth_types |= WPS_AUTH_WPA2PSK; in wps_process_auth_type_flags()2897 if (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()
407 cred.auth_type = WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK; in wps_get_oob_cred()
521 cred.auth_type = WPS_AUTH_WPA2PSK; in hostapd_wps_config_ap()524 cred.auth_type = WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK; in hostapd_wps_config_ap()