]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Remove ap_ht_smps
authorJouni Malinen <j@w1.fi>
Sun, 16 Feb 2020 11:48:39 +0000 (13:48 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 16 Feb 2020 11:48:39 +0000 (13:48 +0200)
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>
tests/hwsim/test_ap_ht.py

index dc4c5b9d74a44be882ad3f38e42bbb2ce4302755..66d30b4b7df1ce12ec3abf8b17536ccf1997166d 100644 (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"""