From: Jouni Malinen Date: Sat, 3 Feb 2024 18:13:25 +0000 (+0200) Subject: tests: FT and prepending PMKR1NAme to EAPOL-Key msg 2/4 X-Git-Tag: hostap_2_11~375 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8270afcdeeccd7a5ce904bacf45801a5b3cf4f0e;p=thirdparty%2Fhostap.git tests: FT and prepending PMKR1NAme to EAPOL-Key msg 2/4 Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_ap_ft.py b/tests/hwsim/test_ap_ft.py index e791ed345..3d07d21f7 100644 --- a/tests/hwsim/test_ap_ft.py +++ b/tests/hwsim/test_ap_ft.py @@ -1494,6 +1494,17 @@ def test_ap_ft_sae_pmksa_caching_pwe(dev, apdev): def test_ap_ft_sae_pmksa_caching_h2e(dev, apdev): """WPA2-FT-SAE AP and PMKSA caching for initial mobility domain association (H2E)""" + run_ap_ft_sae_pmksa_caching_h2e(dev, apdev) + +def test_ap_ft_sae_pmksa_caching_h2e_prepend_pmkid(dev, apdev): + """FT-SAE and PMKSA caching for initial mobility domain association (H2E, prepend PMKID)""" + try: + dev[0].set("ft_prepend_pmkid", "1") + run_ap_ft_sae_pmksa_caching_h2e(dev, apdev) + finally: + dev[0].set("ft_prepend_pmkid", "0") + +def run_ap_ft_sae_pmksa_caching_h2e(dev, apdev): check_sae_capab(dev[0]) ssid = "test-ft" passphrase = "12345678"