aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2016-03-18 14:18:32 (GMT)
committerJouni Malinen <j@w1.fi>2016-03-18 14:18:32 (GMT)
commit8c9aa2bc8d57aa04f5d59b0e5b7e764da31fb72c (patch)
treee73977a433965eef17b648781dcda429dc2a0f32
parentee298f1b1f7efd7eb5fd510f36b25ff88208017c (diff)
downloadhostap-8c9aa2bc8d57aa04f5d59b0e5b7e764da31fb72c.zip
hostap-8c9aa2bc8d57aa04f5d59b0e5b7e764da31fb72c.tar.gz
hostap-8c9aa2bc8d57aa04f5d59b0e5b7e764da31fb72c.tar.bz2
tests: wpa_supplicant AP mode - open network and HT disabled
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
-rw-r--r--tests/hwsim/test_wpas_ap.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/hwsim/test_wpas_ap.py b/tests/hwsim/test_wpas_ap.py
index 43a460c..e96a747 100644
--- a/tests/hwsim/test_wpas_ap.py
+++ b/tests/hwsim/test_wpas_ap.py
@@ -384,3 +384,18 @@ def _test_wpas_ap_and_assoc_req_p2p_ie(dev):
dev[0].request("DISCONNECT")
dev[0].wait_disconnected()
+
+def test_wpas_ap_open_ht_disabled(dev):
+ """wpa_supplicant AP mode - open network and HT disabled"""
+ id = dev[0].add_network()
+ dev[0].set_network(id, "mode", "2")
+ dev[0].set_network_quoted(id, "ssid", "wpas-ap-open")
+ dev[0].set_network(id, "key_mgmt", "NONE")
+ dev[0].set_network(id, "frequency", "2412")
+ dev[0].set_network(id, "scan_freq", "2412")
+ dev[0].set_network(id, "disable_ht", "1")
+ dev[0].select_network(id)
+ wait_ap_ready(dev[0])
+
+ dev[1].connect("wpas-ap-open", key_mgmt="NONE", scan_freq="2412")
+ hwsim_utils.test_connectivity(dev[0], dev[1])