From: Jouni Malinen Date: Thu, 25 May 2023 19:59:00 +0000 (+0300) Subject: tests: PASN with pasn_noauth=0 X-Git-Tag: hostap_2_11~1163 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=95c3f0d1e40c6da6bfaa2e651fb10a750854997c;p=thirdparty%2Fhostap.git tests: PASN with pasn_noauth=0 Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_pasn.py b/tests/hwsim/test_pasn.py index a34e47ad1..427e51474 100644 --- a/tests/hwsim/test_pasn.py +++ b/tests/hwsim/test_pasn.py @@ -999,3 +999,13 @@ def test_pasn_owe_tm_kdk_secure_ltf(dev, apdev): wpas.request("RECONNECT") wpas.wait_connected() check_pasn_ptk(wpas, hapd, "CCMP", clear_keys=False, require_kdk=True) + +def test_pasn_noauth_0(dev, apdev): + """PASN without mutual authentication disabled on the AP""" + check_pasn_capab(dev[0]) + + params = pasn_ap_params("PASN", "CCMP", "19") + params["pasn_noauth"] = "0" + hapd = start_pasn_ap(apdev[0], params) + + check_pasn_akmp_cipher(dev[0], hapd, "PASN", "CCMP", status=1)