]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Re-enable op class 118-120 tests with new regdb
authorJouni Malinen <j@w1.fi>
Tue, 23 Mar 2021 22:51:10 +0000 (00:51 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 25 Mar 2021 22:21:06 +0000 (00:21 +0200)
Move from RS to PA country code to allow these test cases to work since
regdb was updated to require DFS for these operating classes in RS.

Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_ap_ht.py

index 68abdcda2b77e2fff68ed5bad37f59ca038816ef..510fe0836fc5b460112f4289bbd96881cb3af5b5 100644 (file)
@@ -1447,19 +1447,19 @@ def test_ap_ht_op_class_117(dev, apdev):
 def test_ap_ht_op_class_118(dev, apdev):
     """HT20 on operationg class 118"""
     for o in [False, True]:
-        run_op_class(dev, apdev, "a", "60", "RS", "", "0", "5300", 118,
+        run_op_class(dev, apdev, "a", "60", "PA", "", "0", "5300", 118,
                      use_op_class=o)
 
 def test_ap_ht_op_class_119(dev, apdev):
     """HT40 on operationg class 119"""
     for o in [False, True]:
-        run_op_class(dev, apdev, "a", "60", "RS", "[HT40+]", "1", "5300", 119,
+        run_op_class(dev, apdev, "a", "60", "PA", "[HT40+]", "1", "5300", 119,
                      use_op_class=o)
 
 def test_ap_ht_op_class_120(dev, apdev):
     """HT40 on operationg class 120"""
     for o in [False, True]:
-        run_op_class(dev, apdev, "a", "64", "RS", "[HT40-]", "-1", "5320", 120,
+        run_op_class(dev, apdev, "a", "64", "PA", "[HT40-]", "-1", "5320", 120,
                      use_op_class=o)
 
 def test_ap_ht_op_class_121(dev, apdev):