From fb9cd650e559c3acfb0bad748d016fad7c79793d Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sat, 20 Mar 2021 11:09:25 +0200 Subject: [PATCH] tests: DPP with hostapd as configurator/initiator with v1 enrollee Signed-off-by: Jouni Malinen --- tests/hwsim/test_dpp.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/hwsim/test_dpp.py b/tests/hwsim/test_dpp.py index c6bf1ba67..a7a5b9000 100644 --- a/tests/hwsim/test_dpp.py +++ b/tests/hwsim/test_dpp.py @@ -2581,6 +2581,14 @@ def test_dpp_pkex_hostapd_errors(dev, apdev): def test_dpp_hostapd_configurator(dev, apdev): """DPP with hostapd as configurator/initiator""" + run_dpp_hostapd_configurator(dev, apdev) + +def test_dpp_hostapd_configurator_enrollee_v1(dev, apdev): + """DPP with hostapd as configurator/initiator with v1 enrollee""" + dev[0].set("dpp_version_override", "1") + run_dpp_hostapd_configurator(dev, apdev) + +def run_dpp_hostapd_configurator(dev, apdev): check_dpp_capab(dev[0]) hapd = hostapd.add_ap(apdev[0], {"ssid": "unconfigured", "channel": "1"})