mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
tests: key_mgmt values OWE and DPP
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
8885023252
commit
0f842044ee
@ -758,6 +758,9 @@ def run_dpp_akm(dev, apdev, pmk_len):
|
||||
|
||||
dev[0].select_network(id, freq="2412")
|
||||
dev[0].wait_connected()
|
||||
val = dev[0].get_status_field("key_mgmt")
|
||||
if val != "DPP":
|
||||
raise Exception("Unexpected key_mgmt: " + val)
|
||||
|
||||
def test_dpp_network_introduction(dev, apdev):
|
||||
"""DPP network introduction"""
|
||||
@ -786,6 +789,9 @@ def test_dpp_network_introduction(dev, apdev):
|
||||
dpp_csign=csign,
|
||||
dpp_connector=sta_connector,
|
||||
dpp_netaccesskey=sta_netaccesskey)
|
||||
val = dev[0].get_status_field("key_mgmt")
|
||||
if val != "DPP":
|
||||
raise Exception("Unexpected key_mgmt: " + val)
|
||||
|
||||
def test_dpp_ap_config(dev, apdev):
|
||||
"""DPP and AP configuration"""
|
||||
|
@ -26,6 +26,9 @@ def test_owe(dev, apdev):
|
||||
|
||||
dev[0].connect("owe", key_mgmt="OWE")
|
||||
hwsim_utils.test_connectivity(dev[0], hapd)
|
||||
val = dev[0].get_status_field("key_mgmt")
|
||||
if val != "OWE":
|
||||
raise Exception("Unexpected key_mgmt: " + val)
|
||||
|
||||
def test_owe_and_psk(dev, apdev):
|
||||
"""Opportunistic Wireless Encryption and WPA2-PSK enabled"""
|
||||
|
Loading…
Reference in New Issue
Block a user