aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2016-05-30 18:15:30 (GMT)
committerJouni Malinen <j@w1.fi>2016-05-30 18:15:30 (GMT)
commit9ec916e9f4512f7a1dfbd6cb1809f33eed476f08 (patch)
tree8e00d2ccaf0d58e57df2e1a15fa29d9d2810664a /tests
parentdad0129227ae31317b0c85a827ed4e73fe766f2f (diff)
downloadhostap-9ec916e9f4512f7a1dfbd6cb1809f33eed476f08.zip
hostap-9ec916e9f4512f7a1dfbd6cb1809f33eed476f08.tar.gz
hostap-9ec916e9f4512f7a1dfbd6cb1809f33eed476f08.tar.bz2
tests: wpa_supplicant secure MESH and SAE group negotiation
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/hwsim/test_wpas_mesh.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/hwsim/test_wpas_mesh.py b/tests/hwsim/test_wpas_mesh.py
index bc76bc7..2bd2e8f 100644
--- a/tests/hwsim/test_wpas_mesh.py
+++ b/tests/hwsim/test_wpas_mesh.py
@@ -311,6 +311,30 @@ def test_wpas_mesh_secure_sae_group_mismatch(dev, apdev):
dev[1].request("SET sae_groups ")
dev[2].request("SET sae_groups ")
+def test_wpas_mesh_secure_sae_group_negotiation(dev, apdev):
+ """wpa_supplicant secure MESH and SAE group negotiation"""
+ check_mesh_support(dev[0], secure=True)
+ addr0 = dev[0].own_addr()
+ addr1 = dev[1].own_addr()
+
+ #dev[0].request("SET sae_groups 21 20 25 26")
+ dev[0].request("SET sae_groups 25")
+ id = add_mesh_secure_net(dev[0])
+ dev[0].mesh_group_add(id)
+
+ dev[1].request("SET sae_groups 19 25")
+ id = add_mesh_secure_net(dev[1])
+ dev[1].mesh_group_add(id)
+
+ check_mesh_group_added(dev[0])
+ check_mesh_group_added(dev[1])
+
+ check_mesh_peer_connected(dev[0])
+ check_mesh_peer_connected(dev[1])
+
+ dev[0].request("SET sae_groups ")
+ dev[1].request("SET sae_groups ")
+
def test_wpas_mesh_secure_sae_missing_password(dev, apdev):
"""wpa_supplicant secure MESH and missing SAE password"""
check_mesh_support(dev[0], secure=True)