aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <jouni@codeaurora.org>2019-11-28 22:13:08 (GMT)
committerJouni Malinen <j@w1.fi>2019-11-28 22:13:08 (GMT)
commitdd8eb44eef820e7a23a9c309693a1bb656956705 (patch)
tree0d2b7a20bb0b26f65b720c9debc081f72a446c6b
parent9f50538e1302776aa84bf05e40229bcc6b3fa9bf (diff)
downloadhostap-dd8eb44eef820e7a23a9c309693a1bb656956705.zip
hostap-dd8eb44eef820e7a23a9c309693a1bb656956705.tar.gz
hostap-dd8eb44eef820e7a23a9c309693a1bb656956705.tar.bz2
tests: sae_pwe parameter in PSK-only-AP
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
-rw-r--r--tests/hwsim/test_sae.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/hwsim/test_sae.py b/tests/hwsim/test_sae.py
index e45287d..5338a1a 100644
--- a/tests/hwsim/test_sae.py
+++ b/tests/hwsim/test_sae.py
@@ -2033,6 +2033,14 @@ def test_sae_h2e_password_id(dev, apdev):
dev[0].set("sae_groups", "")
dev[0].set("sae_pwe", "0")
+def test_sae_pwe_in_psk_ap(dev, apdev):
+ """sae_pwe parameter in PSK-only-AP"""
+ params = hostapd.wpa2_params(ssid="test-psk", passphrase="12345678")
+ params['sae_pwe'] = '1'
+ hapd = hostapd.add_ap(apdev[0], params)
+
+ dev[0].connect("test-psk", psk="12345678", scan_freq="2412")
+
def test_sae_auth_restart(dev, apdev):
"""SAE and authentication restarts with H2E/looping"""
if "SAE" not in dev[0].get_capability("auth_alg"):