From: Jouni Malinen Date: Mon, 11 Dec 2017 12:01:45 +0000 (+0200) Subject: tests: OWE and unsupported group using cfg80211 connect command X-Git-Tag: hostap_2_7~709 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d39e07f526c4e74e6c3feb8f303e7d38a8303c1c;p=thirdparty%2Fhostap.git tests: OWE and unsupported group using cfg80211 connect command Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_owe.py b/tests/hwsim/test_owe.py index d15429671..548134f0e 100644 --- a/tests/hwsim/test_owe.py +++ b/tests/hwsim/test_owe.py @@ -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")