]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Add coverage for testing disabling collocated 6 GHz scan
authorIlan Peer <ilan.peer@intel.com>
Sun, 24 Apr 2022 09:57:54 +0000 (12:57 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 7 May 2022 18:37:08 +0000 (21:37 +0300)
Extend 'scan' test to cover 'non_coloc_6ghz' parsing.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
tests/hwsim/test_scan.py

index c6267606eefc671418f83938a66363f641378d83..5beec4f329fd5c97b4e9489d009704bc1c86a91f 100644 (file)
@@ -91,6 +91,9 @@ def test_scan(dev, apdev):
     logger.info("Active single-channel scan on AP's operating channel")
     check_scan_retry(dev[0], "freq=2412 passive=0 use_id=1", bssid)
 
+    logger.info("Disable collocated 6 GHz scanning")
+    check_scan(dev[0], "freq=2457 non_coloc_6ghz=1 use_id=1")
+
 @remote_compatible
 def test_scan_tsf(dev, apdev):
     """Scan and TSF updates from Beacon/Probe Response frames"""