From: Jouni Malinen Date: Thu, 28 Nov 2019 22:13:08 +0000 (+0200) Subject: tests: sae_pwe parameter in PSK-only-AP X-Git-Tag: hostap_2_10~2197 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dd8eb44eef820e7a23a9c309693a1bb656956705;p=thirdparty%2Fhostap.git tests: sae_pwe parameter in PSK-only-AP Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_sae.py b/tests/hwsim/test_sae.py index e45287d44..5338a1ad8 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"):