tests: OWE and unsupported group using cfg80211 connect command
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
5f30b69cde
commit
d39e07f526
1 changed files with 11 additions and 0 deletions
|
@ -235,6 +235,17 @@ def test_owe_unsupported_group(dev, apdev):
|
|||
finally:
|
||||
dev[0].request("VENDOR_ELEM_REMOVE 13 *")
|
||||
|
||||
def test_owe_unsupported_group_connect_cmd(dev, apdev):
|
||||
"""Opportunistic Wireless Encryption and unsupported group using cfg80211 connect command"""
|
||||
try:
|
||||
wpas = None
|
||||
wpas = WpaSupplicant(global_iface='/tmp/wpas-wlan5')
|
||||
wpas.interface_add("wlan5", drv_params="force_connect_cmd=1")
|
||||
run_owe_unsupported_group([ wpas ], apdev)
|
||||
finally:
|
||||
if wpas:
|
||||
wpas.request("VENDOR_ELEM_REMOVE 13 *")
|
||||
|
||||
def run_owe_unsupported_group(dev, apdev):
|
||||
if "OWE" not in dev[0].get_capability("key_mgmt"):
|
||||
raise HwsimSkip("OWE not supported")
|
||||
|
|
Loading…
Reference in a new issue