From 787136b0406ff498d6d914e3ab7d5fe5eabb5810 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Fri, 31 Jan 2014 23:16:35 +0200 Subject: [PATCH] tests require_ht=1 Signed-hostap: Jouni Malinen --- tests/hwsim/test_ap_ht.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/hwsim/test_ap_ht.py b/tests/hwsim/test_ap_ht.py index ca8e0eac6..5071a9836 100644 --- a/tests/hwsim/test_ap_ht.py +++ b/tests/hwsim/test_ap_ht.py @@ -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")