tests: SAE and AP sending Confirm message without waiting STA
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
f7fe055224
commit
8a9658dbb5
1 changed files with 12 additions and 0 deletions
|
@ -1697,3 +1697,15 @@ def test_sae_sync(dev, apdev):
|
||||||
dev[i].select_network(id[i])
|
dev[i].select_network(id[i])
|
||||||
for i in range(0, 2):
|
for i in range(0, 2):
|
||||||
dev[i].wait_connected(timeout=10)
|
dev[i].wait_connected(timeout=10)
|
||||||
|
|
||||||
|
def test_sae_confirm_immediate(dev, apdev):
|
||||||
|
"""SAE and AP sending Confirm message without waiting STA"""
|
||||||
|
if "SAE" not in dev[0].get_capability("auth_alg"):
|
||||||
|
raise HwsimSkip("SAE not supported")
|
||||||
|
params = hostapd.wpa2_params(ssid="test-sae", passphrase="12345678")
|
||||||
|
params['wpa_key_mgmt'] = 'SAE'
|
||||||
|
params['sae_confirm_immediate'] = '1'
|
||||||
|
hapd = hostapd.add_ap(apdev[0], params)
|
||||||
|
|
||||||
|
dev[0].request("SET sae_groups ")
|
||||||
|
dev[0].connect("test-sae", psk="12345678", key_mgmt="SAE", scan_freq="2412")
|
||||||
|
|
Loading…
Reference in a new issue