|
|
@ -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"})
|
|
|
|