From: Jouni Malinen Date: Wed, 24 Apr 2024 18:06:33 +0000 (+0300) Subject: tests: Update opclass 124 test to use opclass 125 X-Git-Tag: hostap_2_11~124 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b38f14e13db9d4a05ef2d5ea0b0e8bf6a3c996e5;p=thirdparty%2Fhostap.git tests: Update opclass 124 test to use opclass 125 This is needed to match the implementation change to map the 5 GHz channels 149-175 to the global operating class 125 instead of 124. Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_ap_ht.py b/tests/hwsim/test_ap_ht.py index 404ccc094..610a6f461 100644 --- a/tests/hwsim/test_ap_ht.py +++ b/tests/hwsim/test_ap_ht.py @@ -1480,10 +1480,10 @@ def test_ap_ht_op_class_123(dev, apdev): run_op_class(dev, apdev, "a", "104", "ZA", "[HT40-]", "-1", "5520", 123, use_op_class=o) -def test_ap_ht_op_class_124(dev, apdev): - """HT20 on operating class 124""" +def test_ap_ht_op_class_125_chan149(dev, apdev): + """HT20 on operating class 125 with channel 149""" for o in [False, True]: - run_op_class(dev, apdev, "a", "149", "US", "", "0", "5745", 124, + run_op_class(dev, apdev, "a", "149", "US", "", "0", "5745", 125, use_op_class=o) def test_ap_ht_op_class_125(dev, apdev):