aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <jouni@codeaurora.org>2019-12-06 15:28:52 (GMT)
committerJouni Malinen <j@w1.fi>2019-12-06 15:28:52 (GMT)
commitb1905c7d8e1b818d298ac88795fa3e52c85265be (patch)
tree218da93b08bb82f74b233ea2d5d46696544439f3
parent918df2227efd6c629799819ba4b61802cf68bf9c (diff)
downloadhostap-b1905c7d8e1b818d298ac88795fa3e52c85265be.zip
hostap-b1905c7d8e1b818d298ac88795fa3e52c85265be.tar.gz
hostap-b1905c7d8e1b818d298ac88795fa3e52c85265be.tar.bz2
tests: SAE PWE derivation with H2E-only AP and STA forcing loop
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
-rw-r--r--tests/hwsim/test_sae.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/hwsim/test_sae.py b/tests/hwsim/test_sae.py
index 5338a1a..95bf43f 100644
--- a/tests/hwsim/test_sae.py
+++ b/tests/hwsim/test_sae.py
@@ -1981,6 +1981,17 @@ def test_sae_pwe_h2e_only_ap(dev, apdev):
if ev is None:
raise Exception("No indication of mismatching network seen")
+def test_sae_pwe_h2e_only_ap_sta_forcing_loop(dev, apdev):
+ """SAE PWE derivation with H2E-only AP and STA forcing loop"""
+ start_sae_pwe_ap(apdev[0], 19, 1)
+ dev[0].set("ignore_sae_h2e_only", "1")
+ dev[0].connect("sae-pwe", psk="12345678", key_mgmt="SAE", scan_freq="2412",
+ wait_connect=False)
+ ev = dev[0].wait_event(["CTRL-EVENT-SSID-TEMP-DISABLED"], timeout=10)
+ dev[0].request("DISCONNECT")
+ if ev is None:
+ raise Exception("No indication of temporary disabled network seen")
+
def test_sae_pwe_loop_only_ap(dev, apdev):
"""SAE PWE derivation with loop-only AP"""
start_sae_pwe_ap(apdev[0], 19, 0)