tests: FT and prepending PMKR1NAme to EAPOL-Key msg 2/4

Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2024-02-03 20:13:25 +02:00
parent 8fa52a7974
commit 8270afcdee

View file

@ -1494,6 +1494,17 @@ def test_ap_ft_sae_pmksa_caching_pwe(dev, apdev):
def test_ap_ft_sae_pmksa_caching_h2e(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)""" """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]) check_sae_capab(dev[0])
ssid = "test-ft" ssid = "test-ft"
passphrase = "12345678" passphrase = "12345678"