From patchwork Sun Apr 24 09:57:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ilan Peer X-Patchwork-Id: 1621495 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=O3Bq0s3c; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=IWHtWead; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4KmMTs6RJ9z9s0w for ; Sun, 24 Apr 2022 18:57:21 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=tYq6WswswD3PqRVaSFQ+Hc0seOLRWSfo1HX8hapxhos=; b=O3Bq0s3c85I+3j BSDSsVIcPcIQ5IuqWT6PKlO3ojhpB4I7K5fMMcFPW4vQpi5Q5GbuPs298SJ4J57Kxf4czzkN6wf2V ASW69D+wKHzghuz70DlefMjD1jGUPgSL4xmcyx42w0C8gnsYa7hslc/yr3QGlPfxnwY1OlzsvQnb+ xYLWrUrVtZi0jWWykQqiGow4tMjXby42hY4n/whVr2KnYadzpDznFgpOByHXVHK+SlC7lHqVOHERt Hmmv5OUqu2ncHjX/vCVq3l2jswqPGZ8ix4Hw+V4Gfe84gTwI056R02wctCNdpJrJGWreDYgWIXT0+ JXgHhmtvJJO163HYMesw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1niY2n-006C3x-MG; Sun, 24 Apr 2022 08:56:37 +0000 Received: from mga17.intel.com ([192.55.52.151]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1niY2M-006Bw2-0r for hostap@lists.infradead.org; Sun, 24 Apr 2022 08:56:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1650790570; x=1682326570; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=/Jab/K6foWe3AYa3TrCpP0PgYbU69Ao3wKYflRkY+wc=; b=IWHtWeadJ5w738wVziHhE2zSC7zMm3SDncsAL18DYZhhcpOfb6Uh9bEx 11raSIzKd20r8DaACMPP9WKgdReeRyJvsyvaiSWXV+b2fwdBjYQnu5HU1 EQ/g5APyc2Eyfsm7vYwonnUecSizRhuB+VhmKhs0rAvtKJuxIcq1jEGrj z4iSbL+MnDQJ3zBmIw9kjFeIKWq9q0pMkYAp3MF78AJQXDbrIJ/URB+E0 4Ksxwnnwi/TRwZS+9CbC+3SR5NbztlwwHA8fbfNxiqlKut+jDfbfkLvaB +b914JqrRzpUGyENedNUIdtEYIpmzLhrxL2W7akC4q9R7iOXmZpShGe1q w==; X-IronPort-AV: E=McAfee;i="6400,9594,10326"; a="245588615" X-IronPort-AV: E=Sophos;i="5.90,286,1643702400"; d="scan'208";a="245588615" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Apr 2022 01:56:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,286,1643702400"; d="scan'208";a="531597041" Received: from jed01829.jer.intel.com ([10.12.217.181]) by orsmga006.jf.intel.com with ESMTP; 24 Apr 2022 01:56:07 -0700 From: Ilan Peer To: hostap@lists.infradead.org Cc: Ilan Peer Subject: [PATCH v5 3/4] tests: Add coverage for testing disabling collocated 6GHz scan Date: Sun, 24 Apr 2022 12:57:54 +0300 Message-Id: <20220424095755.3379637-3-ilan.peer@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220424095755.3379637-1-ilan.peer@intel.com> References: <20211130153943.3531922-1-andrei.otcheretianski@intel.com> <20220424095755.3379637-1-ilan.peer@intel.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220424_015610_116440_B701B76C X-CRM114-Status: UNSURE ( 8.92 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.7 (--) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: - Extend 'wpas_config_file' test to cover 'non_coloc_6ghz' - Extend 'scan' test to cover 'non_coloc_6ghz' parsing. Signed-off-by: Ilan Peer --- tests/hwsim/test_scan.py | 3 +++ tests/hwsim/test_wpas_config.py | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) Content analysis details: (-2.7 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [192.55.52.151 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 SPF_NONE SPF: sender does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.2 DKIMWL_WL_HIGH DKIMwl.org - High trust sender X-BeenThere: hostap@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Hostap" Errors-To: hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org - Extend 'wpas_config_file' test to cover 'non_coloc_6ghz' - Extend 'scan' test to cover 'non_coloc_6ghz' parsing. Signed-off-by: Ilan Peer --- 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"]