mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
tests: Increase retry limit and timeout for wpas_mesh_open_no_auto
This test case was failing every now and then due to dev1 (no_auto_peer=1) not receiving the new-peer-candidate event in time before dev0 has already stopped retries on mesh peering open message. This sounds somewhat expected with the default 4 * 40 ms = 160 ms retries and 1000 TU beacon interval. Use maximum timeout 16 * 255 ms = 4080 ms to make this test case less likely to fail. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
d9fee38658
commit
73a2f82887
@ -237,6 +237,8 @@ def _test_wpas_mesh_open_no_auto(dev, apdev, test_connectivity):
|
||||
dev[0].set_network_quoted(id, "ssid", "wpas-mesh-open")
|
||||
dev[0].set_network(id, "key_mgmt", "NONE")
|
||||
dev[0].set_network(id, "frequency", "2412")
|
||||
dev[0].set_network(id, "dot11MeshMaxRetries", "16")
|
||||
dev[0].set_network(id, "dot11MeshRetryTimeout", "255")
|
||||
dev[0].mesh_group_add(id)
|
||||
|
||||
id = dev[1].add_network()
|
||||
|
Loading…
Reference in New Issue
Block a user