tests: Allow more time for sigma_dut sta_reassoc commands
When these are issued while associated, scanning all channels can take a significant amount of time. That happened to work for existing test cases somewhat by accident since the scan was sometimes limited to only the current operating channel. However, that is now changing and the following two test cases started failing with the change, so make them wait longer: sigma_dut_sae_pw_id_ft sigma_dut_ft_rsnxe_used_mismatch Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
00a762c26e
commit
a3094ef80d
1 changed files with 4 additions and 2 deletions
|
@ -539,7 +539,8 @@ def run_sigma_dut_sae_pw_id_ft(dev, apdev, over_ds=False):
|
|||
params['r1_key_holder'] = bssid
|
||||
hapd2 = hostapd.add_ap(apdev[1], params)
|
||||
bssid = hapd2.own_addr()
|
||||
sigma_dut_cmd_check("sta_reassoc,interface,%s,Channel,1,bssid,%s" % (ifname, bssid))
|
||||
sigma_dut_cmd_check("sta_reassoc,interface,%s,Channel,1,bssid,%s" % (ifname, bssid),
|
||||
timeout=20)
|
||||
dev[0].wait_connected()
|
||||
|
||||
sigma_dut_cmd_check("sta_disconnect,interface," + ifname)
|
||||
|
@ -5874,7 +5875,8 @@ def test_sigma_dut_ft_rsnxe_used_mismatch(dev, apdev):
|
|||
hapd2 = hostapd.add_ap(apdev[1], params)
|
||||
bssid2 = hapd2.own_addr()
|
||||
|
||||
sigma_dut_cmd_check("sta_reassoc,interface,%s,Channel,1,bssid,%s" % (ifname, bssid2))
|
||||
sigma_dut_cmd_check("sta_reassoc,interface,%s,Channel,1,bssid,%s" % (ifname, bssid2),
|
||||
timeout=20)
|
||||
count = 0
|
||||
for i in range(5):
|
||||
ev = dev[0].wait_event(["Trying to associate",
|
||||
|
|
Loading…
Reference in a new issue