]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Fix CONFIG_DPP3=y dependency in couple of test cases
authorJouni Malinen <quic_jouni@quicinc.com>
Mon, 31 Jan 2022 16:16:29 +0000 (18:16 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 31 Jan 2022 16:16:29 +0000 (18:16 +0200)
These could not pass without DPP3 support.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
tests/hwsim/test_dpp3.py
tests/hwsim/test_sigma_dut.py

index 2b0a016402a93925cd3273f9d14719aaaa08ae5f..d87d6ed4841721973d6bdc9f85b526ff9654d436 100644 (file)
@@ -165,8 +165,8 @@ def test_dpp_controller_relay_pkex(dev, apdev, params):
         dev[1].request("DPP_CONTROLLER_STOP")
 
 def run_dpp_controller_relay_pkex(dev, apdev, params):
-    check_dpp_capab(dev[0], min_ver=2)
-    check_dpp_capab(dev[1], min_ver=2)
+    check_dpp_capab(dev[0], min_ver=3)
+    check_dpp_capab(dev[1], min_ver=3)
     prefix = "dpp_controller_relay_pkex"
     cap_lo = os.path.join(params['logdir'], prefix + ".lo.pcap")
 
index 599a32e7a4797b66cb88b12f1fd6a9bd1ac1bf47..615f9172a6ed0050064b45346a53b9fd3ef8b1f5 100644 (file)
@@ -2519,7 +2519,7 @@ def run_sigma_dut_ap_dpp_pkex_responder(dev, apdev):
 
 def test_sigma_dut_ap_dpp_pkex_responder_tcp(dev, apdev, params):
     """sigma_dut controlled AP as DPP PKEX responder (TCP)"""
-    check_dpp_capab(dev[0])
+    check_dpp_capab(dev[0], min_ver=3)
     logdir = params['prefix'] + ".sigma-hostapd"
     with HWSimRadio() as (radio, iface):
         sigma = start_sigma_dut(iface, hostapd_logdir=logdir)