tests: Enable PSK AKMs in EHT+MLO in WPA3 transition mode test

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
This commit is contained in:
Jouni Malinen 2024-01-25 19:48:51 +02:00 committed by Jouni Malinen
parent 8356a38f48
commit fee037d70d

View file

@ -158,7 +158,7 @@ def start_eht_sae_ap(apdev, ml=False, transition_mode=False):
params['group_cipher'] = "CCMP" if transition_mode else "GCMP-256" params['group_cipher'] = "CCMP" if transition_mode else "GCMP-256"
params["group_mgmt_cipher"] = "AES-128-CMAC" if transition_mode else "BIP-GMAC-256" params["group_mgmt_cipher"] = "AES-128-CMAC" if transition_mode else "BIP-GMAC-256"
params['beacon_prot'] = '1' params['beacon_prot'] = '1'
params['wpa_key_mgmt'] = "SAE SAE-EXT-KEY" if transition_mode else 'SAE-EXT-KEY' params['wpa_key_mgmt'] = "SAE SAE-EXT-KEY WPA-PSK WPA-PSK-SHA256" if transition_mode else 'SAE-EXT-KEY'
params['sae_groups'] = "19 20" if transition_mode else "20" params['sae_groups'] = "19 20" if transition_mode else "20"
params['sae_pwe'] = "2" if transition_mode else "1" params['sae_pwe'] = "2" if transition_mode else "1"
if ml: if ml:
@ -223,6 +223,10 @@ def test_eht_sae_mlo_tm(dev, apdev):
pairwise="CCMP", group="CCMP", pairwise="CCMP", group="CCMP",
group_mgmt="AES-128-CMAC", scan_freq="2412", group_mgmt="AES-128-CMAC", scan_freq="2412",
disable_eht="1") disable_eht="1")
dev[2].connect("eht", key_mgmt="WPA-PSK", psk="12345678",
pairwise="CCMP", group="CCMP",
group_mgmt="AES-128-CMAC", scan_freq="2412",
disable_eht="1")
finally: finally:
dev[0].set("sae_groups", "") dev[0].set("sae_groups", "")
dev[0].set("sae_pwe", "0") dev[0].set("sae_pwe", "0")