aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2018-12-23 10:11:53 (GMT)
committerJouni Malinen <j@w1.fi>2018-12-23 15:25:11 (GMT)
commit15b7cc5199ec6e3c0484ca26e74fcf84c93b2931 (patch)
tree6c3f0fa1e178e4c5424e2de6b0586a546ec5b982 /tests
parent721d8558bcd42c209bf0554633c4f0740e2f2690 (diff)
downloadhostap-15b7cc5199ec6e3c0484ca26e74fcf84c93b2931.zip
hostap-15b7cc5199ec6e3c0484ca26e74fcf84c93b2931.tar.gz
hostap-15b7cc5199ec6e3c0484ca26e74fcf84c93b2931.tar.bz2
tests: HT STBC overrides
Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'tests')
-rw-r--r--tests/hwsim/test_ap_ht.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/hwsim/test_ap_ht.py b/tests/hwsim/test_ap_ht.py
index f3dc7ee..a46ff08 100644
--- a/tests/hwsim/test_ap_ht.py
+++ b/tests/hwsim/test_ap_ht.py
@@ -850,6 +850,17 @@ def test_ap_require_ht(dev, apdev):
ampdu_density="1", disable_ht40="1", disable_sgi="1",
disable_ldpc="1", rx_stbc="2", tx_stbc="1")
+def test_ap_ht_stbc(dev, apdev):
+ """HT STBC overrides"""
+ params = { "ssid": "ht" }
+ hapd = hostapd.add_ap(apdev[0], params)
+
+ dev[0].connect("ht", key_mgmt="NONE", scan_freq="2412")
+ dev[1].connect("ht", key_mgmt="NONE", scan_freq="2412",
+ rx_stbc="0", tx_stbc="0")
+ dev[2].connect("ht", key_mgmt="NONE", scan_freq="2412",
+ rx_stbc="1", tx_stbc="1")
+
@remote_compatible
def test_ap_require_ht_limited_rates(dev, apdev):
"""Require HT with limited supported rates"""