tests: SAE and password identifier (exclusively)
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
42d308635f
commit
6de2a80940
1 changed files with 13 additions and 0 deletions
|
@ -1322,6 +1322,19 @@ def test_sae_password_id_ffc(dev, apdev):
|
|||
"""SAE and password identifier (FFC)"""
|
||||
run_sae_password_id(dev, apdev, "22")
|
||||
|
||||
def test_sae_password_id_only(dev, apdev):
|
||||
"""SAE and password identifier (exclusively)"""
|
||||
if "SAE" not in dev[0].get_capability("auth_alg"):
|
||||
raise HwsimSkip("SAE not supported")
|
||||
params = hostapd.wpa2_params(ssid="test-sae")
|
||||
params['wpa_key_mgmt'] = 'SAE'
|
||||
params['sae_password'] = 'secret|id=pw id'
|
||||
hapd = hostapd.add_ap(apdev[0], params)
|
||||
|
||||
dev[0].request("SET sae_groups ")
|
||||
dev[0].connect("test-sae", sae_password="secret", sae_password_id="pw id",
|
||||
key_mgmt="SAE", scan_freq="2412")
|
||||
|
||||
def test_sae_forced_anti_clogging_pw_id(dev, apdev):
|
||||
"""SAE anti clogging (forced and Password Identifier)"""
|
||||
if "SAE" not in dev[0].get_capability("auth_alg"):
|
||||
|
|
Loading…
Reference in a new issue