From 8884e33eef261921550378a64a7389929503002c Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 28 Feb 2021 22:58:24 +0200 Subject: [PATCH] tests: WMM parameter update failing during beacon template update Signed-off-by: Jouni Malinen --- tests/hwsim/test_ap_params.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tests/hwsim/test_ap_params.py b/tests/hwsim/test_ap_params.py index 07351272a..5e9650b34 100644 --- a/tests/hwsim/test_ap_params.py +++ b/tests/hwsim/test_ap_params.py @@ -614,6 +614,17 @@ def test_ap_tx_queue_params_invalid(dev, apdev): if "FAIL" not in hapd.request('SET wmm_ac_bk_cwmax 3'): raise Exception("AC cwMax < cwMin accepted") + hapd.request("SET tx_queue_data2_cwmax 1023") + hapd.set("wmm_ac_bk_cwmax", "10") + # Invalid IEs to cause WMM parameter update failing + hapd.set("vendor_elements", "dd04112233") + hapd.set("wmm_ac_be_cwmin", "3") + # Valid IEs to cause WMM parameter update succeeding + hapd.set("vendor_elements", "dd0411223344") + hapd.set("wmm_ac_be_cwmin", "3") + + dev[0].connect(ssid, key_mgmt="NONE", scan_freq="2412") + def test_ap_beacon_rate_legacy(dev, apdev): """Open AP with Beacon frame TX rate 5.5 Mbps""" hapd = hostapd.add_ap(apdev[0], {'ssid': 'beacon-rate'})