]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Update opclass 124 test to use opclass 125
authorJouni Malinen <quic_jouni@quicinc.com>
Wed, 24 Apr 2024 18:06:33 +0000 (21:06 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 24 Apr 2024 18:58:49 +0000 (21:58 +0300)
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 <quic_jouni@quicinc.com>
tests/hwsim/test_ap_ht.py

index 404ccc09422b78150874c243e5c76ffeada2ce07..610a6f461e0d00ca4e8c9f09da3139687a863952 100644 (file)
@@ -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):