tests: SAE anti-clogging with non-SAE STA associated as well
Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
9645dbe9b2
commit
fd4709ffe6
1 changed files with 2 additions and 1 deletions
|
@ -89,9 +89,10 @@ def test_sae_anti_clogging(dev, apdev):
|
||||||
def test_sae_forced_anti_clogging(dev, apdev):
|
def test_sae_forced_anti_clogging(dev, apdev):
|
||||||
"""SAE anti clogging (forced)"""
|
"""SAE anti clogging (forced)"""
|
||||||
params = hostapd.wpa2_params(ssid="test-sae", passphrase="12345678")
|
params = hostapd.wpa2_params(ssid="test-sae", passphrase="12345678")
|
||||||
params['wpa_key_mgmt'] = 'SAE'
|
params['wpa_key_mgmt'] = 'SAE WPA-PSK'
|
||||||
params['sae_anti_clogging_threshold'] = '0'
|
params['sae_anti_clogging_threshold'] = '0'
|
||||||
hostapd.add_ap(apdev[0]['ifname'], params)
|
hostapd.add_ap(apdev[0]['ifname'], params)
|
||||||
|
dev[2].connect("test-sae", psk="12345678", scan_freq="2412")
|
||||||
for i in range(0, 2):
|
for i in range(0, 2):
|
||||||
dev[i].request("SET sae_groups ")
|
dev[i].request("SET sae_groups ")
|
||||||
dev[i].connect("test-sae", psk="12345678", key_mgmt="SAE",
|
dev[i].connect("test-sae", psk="12345678", key_mgmt="SAE",
|
||||||
|
|
Loading…
Reference in a new issue