diff options
author | Jouni Malinen <j@w1.fi> | 2016-10-09 14:09:56 (GMT) |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2016-10-09 14:09:56 (GMT) |
commit | a8ef83f49d94205a6b9d0e2488bb89fde40ef01b (patch) | |
tree | 917d9ac9b33a6fd6559567b22687bb674f53c82a /tests | |
parent | 150948e68bcae0b6c52cd0cfd6586d39c69c378e (diff) | |
download | hostap-a8ef83f49d94205a6b9d0e2488bb89fde40ef01b.zip hostap-a8ef83f49d94205a6b9d0e2488bb89fde40ef01b.tar.gz hostap-a8ef83f49d94205a6b9d0e2488bb89fde40ef01b.tar.bz2 |
tests: Mesh network and SELECT_NETWORK
Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/hwsim/test_wpas_mesh.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/hwsim/test_wpas_mesh.py b/tests/hwsim/test_wpas_mesh.py index 2ef1861..29855a3 100644 --- a/tests/hwsim/test_wpas_mesh.py +++ b/tests/hwsim/test_wpas_mesh.py @@ -1964,3 +1964,16 @@ def test_mesh_opn_snt_event_cls_acpt(dev, apdev): # HOLDING transition. if "OK" not in dev[0].request("MGMT_RX_PROCESS freq=2412 datarate=0 ssi_signal=-30 frame=" + frame): raise Exception("MGMT_RX_PROCESS failed") + +def test_mesh_select_network(dev): + """Mesh network and SELECT_NETWORK""" + check_mesh_support(dev[0]) + id0 = add_open_mesh_network(dev[0], start=False) + id1 = add_open_mesh_network(dev[1], start=False) + dev[0].select_network(id0) + dev[1].select_network(id1) + check_mesh_group_added(dev[0]) + check_mesh_group_added(dev[1]) + check_mesh_peer_connected(dev[0]) + check_mesh_peer_connected(dev[1]) + hwsim_utils.test_connectivity(dev[0], dev[1]) |