From: Jouni Malinen Date: Mon, 30 May 2016 18:15:30 +0000 (+0300) Subject: tests: wpa_supplicant secure MESH and SAE group negotiation X-Git-Tag: hostap_2_6~431 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9ec916e9f4512f7a1dfbd6cb1809f33eed476f08;p=thirdparty%2Fhostap.git tests: wpa_supplicant secure MESH and SAE group negotiation Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_wpas_mesh.py b/tests/hwsim/test_wpas_mesh.py index bc76bc701..2bd2e8faa 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)