]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Add missed test case __doc__ strings
authorJouni Malinen <j@w1.fi>
Sun, 17 Mar 2024 13:21:11 +0000 (15:21 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 17 Mar 2024 13:21:11 +0000 (15:21 +0200)
Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_eht.py
tests/hwsim/test_he.py

index 677a776b095a83fda77327f420110811f362dd6a..1d0ec5195787d3c0180de60698fcd47d7a4bcd3f 100644 (file)
@@ -128,6 +128,7 @@ def test_eht_open(dev, apdev):
         raise Exception("STA STATUS did not indicate wifi_generation=7")
 
 def test_prefer_eht_20(dev, apdev):
+    """EHT AP on a 20 MHz channel"""
     params = {"ssid": "eht",
               "channel": "1",
               "ieee80211ax": "1",
index 52cbb1c6090dc6762b430322502802451e54e2fe..3aec5fd65f7ec3992efb45d48e8ac732ad6580bf 100644 (file)
@@ -196,7 +196,6 @@ def test_he80(dev, apdev):
         clear_regdom(hapd, dev)
 
 def _test_he_wifi_generation(dev, apdev, conf, scan_freq):
-    """HE and wifi_generation"""
     try:
         hapd = None
         params = {"ssid": "he",
@@ -236,6 +235,7 @@ def _test_he_wifi_generation(dev, apdev, conf, scan_freq):
         clear_regdom(hapd, dev)
 
 def test_he_wifi_generation(dev, apdev):
+    """HE and wifi_generation (5 GHz)"""
     conf = {
         "vht_oper_chwidth": "1",
         "hw_mode": "a",
@@ -250,6 +250,7 @@ def test_he_wifi_generation(dev, apdev):
     _test_he_wifi_generation(dev, apdev, conf, "5180")
 
 def test_he_wifi_generation_24(dev, apdev):
+    """HE and wifi_generation (2.4 GHz)"""
     conf = {
         "hw_mode": "g",
         "channel": "1",