From 2fec710ac5be0887b18a6e6ef8c7ede46dba10b1 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Tue, 6 Feb 2018 20:52:44 +0200 Subject: [PATCH] tests: Use PMF in DPP with legacy PSK/SAE cases Signed-off-by: Jouni Malinen --- tests/hwsim/test_dpp.py | 3 +++ 1 file changed, 3 insertions(+) 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)