From 521a98a8f695acda761702be3f5d797a519f3799 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sat, 4 Jun 2016 21:47:22 +0300 Subject: [PATCH] tests: Mesh and default beacon interval Signed-off-by: Jouni Malinen --- tests/hwsim/test_wpas_mesh.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/hwsim/test_wpas_mesh.py b/tests/hwsim/test_wpas_mesh.py index c8226d595..b43df8118 100644 --- a/tests/hwsim/test_wpas_mesh.py +++ b/tests/hwsim/test_wpas_mesh.py @@ -1242,3 +1242,13 @@ def test_mesh_invalid_frequency(dev, apdev): "Could not join mesh"]) if ev is None or "Could not join mesh" not in ev: 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")