From: Jouni Malinen Date: Sun, 28 Feb 2021 20:58:24 +0000 (+0200) Subject: tests: WMM parameter update failing during beacon template update X-Git-Tag: hostap_2_10~492 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8884e33eef261921550378a64a7389929503002c;p=thirdparty%2Fhostap.git tests: WMM parameter update failing during beacon template update Signed-off-by: Jouni Malinen --- 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'})