tests: DPP with hostapd as configurator/initiator with v1 enrollee

Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2021-03-20 11:09:25 +02:00
parent 68b69d6607
commit fb9cd650e5

View file

@ -2581,6 +2581,14 @@ def test_dpp_pkex_hostapd_errors(dev, apdev):
def test_dpp_hostapd_configurator(dev, apdev): def test_dpp_hostapd_configurator(dev, apdev):
"""DPP with hostapd as configurator/initiator""" """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]) check_dpp_capab(dev[0])
hapd = hostapd.add_ap(apdev[0], {"ssid": "unconfigured", hapd = hostapd.add_ap(apdev[0], {"ssid": "unconfigured",
"channel": "1"}) "channel": "1"})