From 61e22e45c881317b0c8a7f37df70de59fcebfd8b Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Fri, 1 May 2020 17:45:58 +0300 Subject: [PATCH] tests: DPP PFS and cfg80211 connect command Signed-off-by: Jouni Malinen --- tests/hwsim/test_dpp.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/hwsim/test_dpp.py b/tests/hwsim/test_dpp.py index 5f0bff7ad..76bdd5689 100644 --- a/tests/hwsim/test_dpp.py +++ b/tests/hwsim/test_dpp.py @@ -5243,6 +5243,16 @@ def test_dpp_pfs_ap_2(dev, apdev): run_dpp_pfs_sta(dev[0], 1, fail=True) run_dpp_pfs_sta(dev[0], 2, pfs_expected=False) +def test_dpp_pfs_connect_cmd(dev, apdev): + """DPP PFS and cfg80211 connect command""" + wpas = WpaSupplicant(global_iface='/tmp/wpas-wlan5') + wpas.interface_add("wlan5", drv_params="force_connect_cmd=1") + check_dpp_capab(wpas) + hapd = start_dpp_pfs_ap(apdev[0], 0) + run_dpp_pfs_sta(wpas, 0, pfs_expected=True) + run_dpp_pfs_sta(wpas, 1, pfs_expected=True) + run_dpp_pfs_sta(wpas, 2, pfs_expected=False) + def test_dpp_reconfig_connector(dev, apdev): """DPP reconfiguration connector""" try: