Message ID | 20230925092039.398609f344a0.I3e723d36888dc148896abce2bb92f780fbca7016@changeid |
---|---|
State | Accepted |
Headers | show
Return-Path: <hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.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=tGzWDRF0; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=sipsolutions.net header.i=@sipsolutions.net header.a=rsa-sha256 header.s=mail header.b=oFEac94s; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4RvDrH1FFpz1yqR for <incoming@patchwork.ozlabs.org>; Mon, 25 Sep 2023 17:23:43 +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=05oNKuTCAq4usM9HsKUGteBe2xi80fZpVkT3mQCkOAw=; b=tGzWDRF0EBZHeS hfxbCEP2qAceDALf/09gXG4mk11LPkyAuKxqMx8y68pMDrSACU9mFlIMm2DigddCMpUsD2MekthNc 3HQlapqqpdTqW++nRQk7roqOVUwYU4esYbXwdWuEENtszJmS9iMIN6CnTTucuqsp+oFY3mlO4eZ9d Ov6kNnWyn9RAgV046PwqdwW4sGMduNKZlDCxGTfpenCHpWiXjT29wHYf/+ordGQm+anRrRX/FUZ5y fOkaFF11cPiPTk49avVR6HNsdI3JLh1KOMgHHSoZcBhAQNkMiV17mhmIeGVfxqFelGE5KWQmqnKSu wSB5MCStDM+4zeo8avEg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qkfvZ-00DYGy-1W; Mon, 25 Sep 2023 07:22:45 +0000 Received: from s3.sipsolutions.net ([2a01:4f8:242:246e::2] helo=sipsolutions.net) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qkfvT-00DYD9-0t for hostap@lists.infradead.org; Mon, 25 Sep 2023 07:22:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Content-Type:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To: Resent-Cc:Resent-Message-ID; bh=6fF7exTb+tIF9gZdvy3F1XoxO7ghJP3F6a0eV2Devb4=; t=1695626559; x=1696836159; b=oFEac94sTMXx8Q3jN73P+wP9OLnQVQk1LVnPiEmR+osxTbZ 92hmLe+x3JR4XRRHIJ0bwXFw+Ftn14Lvf6CSBwBxdOUA/GqexyRK2FBFUJh0kvEKRN1Oms4GJKJ6U ltRqVeuG7BcNcLwQUSf7E65DFZq+v7d4PrOJFEt7oSGO0Ek4kGf6BPpbTuYHr4La7Kv5qFOLdMPDb SgbIZ3WI1EkL9tmTBPspt4ZRbVT7SdDE4EG8bL5ya3v40HWJ7+BDWJqLk9QrmBTx9gkLo/GYBJ1wC 9hLKqUvSrMbPOlNpiiZN1BHRS6GHLj4o3TjI4PIpprlT9TlHydPF88bJPzzgwk9w==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96) (envelope-from <johannes@sipsolutions.net>) id 1qkfvQ-003GNz-2s; Mon, 25 Sep 2023 09:22:37 +0200 From: Johannes Berg <johannes@sipsolutions.net> To: hostap@lists.infradead.org Cc: Johannes Berg <johannes.berg@intel.com> Subject: [PATCH 06/17] tests: autogo_legacy: wait for 4-way-HS Date: Mon, 25 Sep 2023 09:20:46 +0200 Message-ID: <20230925092039.398609f344a0.I3e723d36888dc148896abce2bb92f780fbca7016@changeid> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230925072039.49987-18-johannes@sipsolutions.net> References: <20230925072039.49987-18-johannes@sipsolutions.net> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230925_002239_311939_8DDBC358 X-CRM114-Status: UNSURE ( 8.23 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) 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: From: Johannes Berg <johannes.berg@intel.com> We need to wait for the 4-way-HS to be completed on the GO side, so the GO will actually have marked the station as authorized and will forward packets. Signed-off-by: Johannes Berg <johannes.berg@intel.com> --- tests/hwsim/test_p2p_autogo.py | 2 ++ 1 file changed, 2 insertions(+) Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches 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 X-BeenThere: hostap@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <hostap.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/hostap>, <mailto:hostap-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/hostap/> List-Post: <mailto:hostap@lists.infradead.org> List-Help: <mailto:hostap-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/hostap>, <mailto:hostap-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Hostap" <hostap-bounces@lists.infradead.org> Errors-To: hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org |
Series |
tests: some scheduling and other fixes
|
expand
|
diff --git a/tests/hwsim/test_p2p_autogo.py b/tests/hwsim/test_p2p_autogo.py index 5453894d77f1..0801172e3a8c 100644 --- a/tests/hwsim/test_p2p_autogo.py +++ b/tests/hwsim/test_p2p_autogo.py @@ -336,9 +336,11 @@ def test_autogo_legacy(dev): logger.info("Connect legacy non-WPS client") dev[2].request("FLUSH") dev[2].request("P2P_SET disabled 1") + dev[0].dump_monitor() dev[2].connect(ssid=res['ssid'], psk=res['passphrase'], proto='RSN', key_mgmt='WPA-PSK', pairwise='CCMP', group='CCMP', scan_freq=res['freq']) + dev[0].wait_event(["EAPOL-4WAY-HS-COMPLETED"]) hwsim_utils.test_connectivity_p2p_sta(dev[1], dev[2]) dev[2].request("DISCONNECT")