]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests require_ht=1
authorJouni Malinen <j@w1.fi>
Fri, 31 Jan 2014 21:16:35 +0000 (23:16 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 4 Feb 2014 11:10:57 +0000 (13:10 +0200)
Signed-hostap: Jouni Malinen <j@w1.fi>

tests/hwsim/test_ap_ht.py

index ca8e0eac655cde7b9f7f324d28382b82d801b739..5071a9836b57b81fa4fd8fe56956951506241f34 100644 (file)
@@ -104,3 +104,11 @@ def test_olbc(dev, apdev):
     status = hapd.get_status()
     if status['olbc'] != '1' or status['olbc_ht'] != '1':
         raise Exception("Missing OLBC information")
+
+def test_ap_require_ht(dev, apdev):
+    """Require HT"""
+    params = { "ssid": "require-ht",
+               "require_ht": "1" }
+    hapd = hostapd.add_ap(apdev[0]['ifname'], params, wait_enabled=False)
+
+    dev[0].connect("require-ht", key_mgmt="NONE", scan_freq="2412")