- Extend 'wpas_config_file' test to cover 'non_coloc_6ghz' - Extend 'scan' test to cover 'non_coloc_6ghz' parsing. Signed-off-by: Ilan Peer <ilan.peer@xxxxxxxxx> --- tests/hwsim/test_scan.py | 3 +++ tests/hwsim/test_wpas_config.py | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/hwsim/test_scan.py b/tests/hwsim/test_scan.py index c6267606ee..ba4848289b 100644 --- a/tests/hwsim/test_scan.py +++ b/tests/hwsim/test_scan.py @@ -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 6ghz 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""" diff --git a/tests/hwsim/test_wpas_config.py b/tests/hwsim/test_wpas_config.py index 3cd7dfcf3b..4914fec81a 100644 --- a/tests/hwsim/test_wpas_config.py +++ b/tests/hwsim/test_wpas_config.py @@ -129,7 +129,8 @@ config_checks = [("ap_scan", "0"), ("p2p_device_random_mac_addr", "1"), ("p2p_device_persistent_mac_addr", "02:12:34:56:78:9a"), ("p2p_interface_random_mac_addr", "1"), - ("openssl_ciphers", "DEFAULT")] + ("openssl_ciphers", "DEFAULT"), + ("non_coloc_6ghz", "1")] def supported_param(capa, field): mesh_params = ["user_mpm", "max_peer_links", "mesh_max_inactivity"] -- 2.25.1 _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap