mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-07 04:34:04 -05:00
tests: Mesh and default beacon interval
Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
ec87430ba1
commit
521a98a8f6
@ -1242,3 +1242,13 @@ def test_mesh_invalid_frequency(dev, apdev):
|
|||||||
"Could not join mesh"])
|
"Could not join mesh"])
|
||||||
if ev is None or "Could not join mesh" not in ev:
|
if ev is None or "Could not join mesh" not in ev:
|
||||||
raise Exception("Mesh join failure not reported")
|
raise Exception("Mesh join failure not reported")
|
||||||
|
|
||||||
|
def test_mesh_default_beacon_int(dev, apdev):
|
||||||
|
"""Mesh and default beacon interval"""
|
||||||
|
check_mesh_support(dev[0])
|
||||||
|
try:
|
||||||
|
dev[0].request("SET beacon_int 200")
|
||||||
|
add_open_mesh_network(dev[0])
|
||||||
|
check_mesh_group_added(dev[0])
|
||||||
|
finally:
|
||||||
|
dev[0].request("SET beacon_int 0")
|
||||||
|
Loading…
Reference in New Issue
Block a user