]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Initial and still very minimal HE testing
authorJouni Malinen <jouni@codeaurora.org>
Thu, 25 Apr 2019 21:18:52 +0000 (00:18 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 25 Apr 2019 21:18:52 +0000 (00:18 +0300)
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
tests/hwsim/test_he.py [new file with mode: 0644]

diff --git a/tests/hwsim/test_he.py b/tests/hwsim/test_he.py
new file mode 100644 (file)
index 0000000..ce0af59
--- /dev/null
@@ -0,0 +1,17 @@
+# HE tests
+# Copyright (c) 2019, The Linux Foundation
+#
+# This software may be distributed under the terms of the BSD license.
+# See README for more details.
+
+import hostapd
+
+def test_he_open(dev, apdev):
+    """HE AP with open mode configuration"""
+    params = {"ssid": "he",
+              "ieee80211ax": "1",
+              "he_bss_color": "42",
+              "he_mu_edca_ac_be_ecwmin": "7",
+              "he_mu_edca_ac_be_ecwmax": "15"}
+    hapd = hostapd.add_ap(apdev[0], params)
+    dev[0].connect("he", key_mgmt="NONE", scan_freq="2412")