From dbddbf1647e844f729a7705d458101e269e2c4a9 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Thu, 22 Aug 2019 22:13:02 +0300 Subject: [PATCH] tests: Configure wlantest for FT+PMF test cases It is useful to get the encrypted frames decrypted in the sniffer capture for these test cases. Signed-off-by: Jouni Malinen --- tests/hwsim/test_ap_ft.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/hwsim/test_ap_ft.py b/tests/hwsim/test_ap_ft.py index 307184018..49741f4e3 100644 --- a/tests/hwsim/test_ap_ft.py +++ b/tests/hwsim/test_ap_ft.py @@ -460,6 +460,11 @@ def run_ap_ft_pmf(dev, apdev, ieee80211w, over_ds=False): params["ieee80211w"] = "2" hapd1 = hostapd.add_ap(apdev[1], params) + Wlantest.setup(hapd0) + wt = Wlantest() + wt.flush() + wt.add_passphrase(passphrase) + run_roams(dev[0], apdev, hapd0, hapd1, ssid, passphrase, ieee80211w=ieee80211w, over_ds=over_ds)