]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Longer sta_reassoc timeout in sigma_dut_ft_rsnxe_used_mismatch
authorJouni Malinen <jouni.malinen@oss.qualcomm.com>
Mon, 6 Oct 2025 17:36:47 +0000 (20:36 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 6 Oct 2025 17:38:38 +0000 (20:38 +0300)
This RSNXE Used mismatch case depended on very quick attempt to
reconnect on failure. That ends up hitting an issue with wpa_supplicant
changes, so use a longer timeout here in the negative test case.

Signed-off-by: Jouni Malinen <jouni.malinen@oss.qualcomm.com>
tests/hwsim/test_sigma_dut.py

index c43d7fff3ea26675b77eff9ffefaa9361ff27d05..211f1d287b984a41448804ddabcade6ff6b5b151 100644 (file)
@@ -5347,7 +5347,8 @@ def test_sigma_dut_ft_rsnxe_used_mismatch(dev, apdev):
             raise Exception("Unexpected number of association attempts for the first FT protocol exchange (expecting success)")
 
         dut.cmd_check("sta_set_rfeature,interface,%s,prog,WPA3,ReassocReq_RSNXE_Used,1" % ifname)
-        dut.cmd_check("sta_reassoc,interface,%s,Channel,1,bssid,%s" % (ifname, bssid))
+        dut.cmd_check("sta_reassoc,interface,%s,Channel,1,bssid,%s" % (ifname, bssid),
+                      timeout=20)
         count = 0
         for i in range(5):
             ev = dev[0].wait_event(["Trying to associate",