dev[0].request("DISCONNECT")
clear_regdom(hapd, dev)
+def test_wep_he(dev, apdev):
+ """WEP and HE"""
+ check_wep_capa(dev[0])
+ dev[0].flush_scan_cache()
+ params = {"ssid": "test-he-wep",
+ "ieee80211ax": "1",
+ "wep_key0": '"hello"'}
+ hapd = hostapd.add_ap(apdev[0], params)
+ dev[0].connect("test-he-wep", scan_freq="2412", key_mgmt="NONE",
+ wep_key0='"hello"')
+ hwsim_utils.test_connectivity(dev[0], hapd)
+ status = hapd.get_status()
+ logger.info("hostapd STATUS: " + str(status))
+ if status["ieee80211ax"] != "0":
+ raise Exception("Unexpected STATUS ieee80211ax value")
+
def test_wep_ifdown(dev, apdev):
"""AP with WEP and external ifconfig down"""
check_wep_capa(dev[0])