From: Jouni Malinen Date: Tue, 6 Feb 2018 18:52:44 +0000 (+0200) Subject: tests: Use PMF in DPP with legacy PSK/SAE cases X-Git-Tag: hostap_2_7~592 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2fec710ac5be0887b18a6e6ef8c7ede46dba10b1;p=thirdparty%2Fhostap.git tests: Use PMF in DPP with legacy PSK/SAE cases Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_dpp.py b/tests/hwsim/test_dpp.py index da22ac85e..4090f6b81 100644 --- a/tests/hwsim/test_dpp.py +++ b/tests/hwsim/test_dpp.py @@ -1664,8 +1664,11 @@ def run_dpp_auto_connect_legacy(dev, apdev, conf='sta-psk', passphrase="secret passphrase") if sae_only: params['wpa_key_mgmt'] = 'SAE' + params['ieee80211w'] = '2' elif psk_sae: params['wpa_key_mgmt'] = 'WPA-PSK SAE' + params['ieee80211w'] = '1' + params['sae_require_mfp'] = '1' hapd = hostapd.add_ap(apdev[0], params)