]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Remove mesh SAE Password Identifier test cases for now
authorJouni Malinen <jouni@codeaurora.org>
Tue, 21 Jan 2020 10:57:07 +0000 (12:57 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 21 Jan 2020 11:00:20 +0000 (13:00 +0200)
IEEE P802.11-REVmd was modified to require H2E to be used whenever
Password Identifier is used with SAE. Since wpa_supplicant and mac80211
do not yet support SAE H2E in mesh, Password Identifier cannot be used
in mesh cases. Remove the test cases that verified this behavior for now
to allow H2E to be required per updated REVmd definition. These test
cases will be restored once H2E is fully functionality in mesh cases.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
tests/hwsim/test_wpas_mesh.py

index 0e80a5a21bed9cac0f66b1e86868b8ec03d4f3fa..85dd384e296705c95b82f95fd14d2d948c3c72cc 100644 (file)
@@ -348,41 +348,6 @@ def test_wpas_mesh_secure_sae_password(dev, apdev):
 
     check_mesh_joined_connected(dev, connectivity=True)
 
-def test_wpas_mesh_secure_sae_password_id(dev, apdev):
-    """Secure mesh using sae_password and password identifier"""
-    check_mesh_support(dev[0], secure=True)
-    dev[0].request("SET sae_groups ")
-    id = add_mesh_secure_net(dev[0], psk=False, sae_password=True,
-                             sae_password_id="pw id")
-    dev[0].mesh_group_add(id)
-
-    dev[1].request("SET sae_groups ")
-    id = add_mesh_secure_net(dev[1], sae_password=True,
-                             sae_password_id="pw id")
-    dev[1].mesh_group_add(id)
-
-    check_mesh_joined_connected(dev, connectivity=True)
-
-def test_wpas_mesh_secure_sae_password_id_mismatch(dev, apdev):
-    """Secure mesh using sae_password and password identifier mismatch"""
-    check_mesh_support(dev[0], secure=True)
-    dev[0].request("SET sae_groups ")
-    id = add_mesh_secure_net(dev[0], psk=False, sae_password=True,
-                             sae_password_id="pw id")
-    dev[0].mesh_group_add(id)
-
-    dev[1].request("SET sae_groups ")
-    id = add_mesh_secure_net(dev[1], sae_password=True,
-                             sae_password_id="wrong")
-    dev[1].mesh_group_add(id)
-
-    check_mesh_joined2(dev)
-
-    ev = dev[0].wait_event(["CTRL-EVENT-SAE-UNKNOWN-PASSWORD-IDENTIFIER"],
-                           timeout=10)
-    if ev is None:
-        raise Exception("Unknown Password Identifier not noticed")
-
 def test_mesh_secure_pmf(dev, apdev):
     """Secure mesh network connectivity with PMF enabled"""
     check_mesh_support(dev[0], secure=True)