tests: Remove ap_ht_smps

AP using SMPS mode locally is about to be removed from hostapd, so
remove the test case that was using it.

Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2020-02-16 13:48:39 +02:00
parent 8de0ff0fa1
commit 91ea29a79e

View File

@ -1165,22 +1165,6 @@ def test_ap_ht40_csa3(dev, apdev):
set_world_reg(apdev[0], None, dev[0])
dev[0].flush_scan_cache()
@remote_compatible
def test_ap_ht_smps(dev, apdev):
"""SMPS AP configuration options"""
params = {"ssid": "ht1", "ht_capab": "[SMPS-STATIC]"}
try:
hapd = hostapd.add_ap(apdev[0], params)
except:
raise HwsimSkip("Assume mac80211_hwsim was not recent enough to support SMPS")
params = {"ssid": "ht2", "ht_capab": "[SMPS-DYNAMIC]"}
hapd2 = hostapd.add_ap(apdev[1], params)
dev[0].connect("ht1", key_mgmt="NONE", scan_freq="2412")
dev[1].connect("ht2", key_mgmt="NONE", scan_freq="2412")
hwsim_utils.test_connectivity(dev[0], hapd)
hwsim_utils.test_connectivity(dev[1], hapd2)
@remote_compatible
def test_prefer_ht20(dev, apdev):
"""Preference on HT20 over no-HT"""