tests: key_mgmt values OWE and DPP

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
Jouni Malinen 2017-07-03 14:33:58 +03:00 committed by Jouni Malinen
parent 8885023252
commit 0f842044ee
2 changed files with 9 additions and 0 deletions

View file

@ -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"""

View file

@ -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"""