Message ID | 20210315125713.23355-5-ilan.peer@intel.com |
---|---|
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@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2001:8b0:10b:1:d65d:64ff:fe57:4e05; helo=desiato.infradead.org; envelope-from=hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=desiato.20200630 header.b=dkl8bu9e; dkim-atps=neutral Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) (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 ozlabs.org (Postfix) with ESMTPS id 4Dzc671z5zz9sVm for <incoming@patchwork.ozlabs.org>; Tue, 16 Mar 2021 00:02:55 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:MIME-Version:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id: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=PGo5h9tBtSqVaSxYc6SVZfs/S2j7T9P4/TzOeLhktLg=; b=dkl8bu9e/ut2a0K8HcaM15HE61 lniqr7JRVNWjThI2OAaet2Fh/daA/xNNKVgqOPXUFe3pVTQtNI/bo+AwKIVlMpPAwfZdk691pkDkx 1S2/VBE6r6lyUCWiF4JlMj+KOFeAurGrAiXpVifFjeYJqqiFz41qTs0MNf3/N7kZQKJcThFFoPQcX PRbzAozXhjMEelevC5L5qSSIuZpsdMag5G47EsmZOiAoDFMUdT3Dm+fDfN5ug/S/AxAXpCk8l4lIJ spmocLA/BtzhZ9Rc9k1zsoUwMGUIYkADUJHtBg0KauO2wNUz8aFITIqI2TOOQ3b8L6Iu9WanSmfUm bXYdv2ZQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lLmqo-00Ftmo-6t; Mon, 15 Mar 2021 13:01:42 +0000 Received: from mga02.intel.com ([134.134.136.20]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lLmok-00FtTy-6s for hostap@lists.infradead.org; Mon, 15 Mar 2021 13:01:33 +0000 IronPort-SDR: 8LCVxwzBYYNH1uTKFhfksWhjAbTt2N07F+DSA82S+wx0xPeBu2ucYO2lHySfSt0xXOTGkrZGFI VaqTZL6ee7NA== X-IronPort-AV: E=McAfee;i="6000,8403,9923"; a="176210849" X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="176210849" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Mar 2021 05:57:22 -0700 IronPort-SDR: tmMjhJP9zWDbusfn5QtLGqWy86YTGvKKXuCJv9i+oQX2GxiLdCuU4LN5UcEO6+Hc5VYZ8DPP/6 +slIzTyC7nRg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="378499640" Received: from jed01615.jer.intel.com ([10.12.217.51]) by fmsmga007.fm.intel.com with ESMTP; 15 Mar 2021 05:57:21 -0700 From: Ilan Peer <ilan.peer@intel.com> To: hostap@lists.infradead.org Cc: Ilan Peer <ilan.peer@intel.com> Subject: [PATCH 04/15] tests: pasn: configure the nid before sending the command Date: Mon, 15 Mar 2021 14:57:02 +0200 Message-Id: <20210315125713.23355-5-ilan.peer@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210315125713.23355-1-ilan.peer@intel.com> References: <20210315125713.23355-1-ilan.peer@intel.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210315_130131_001435_9AFBEDF6 X-CRM114-Status: UNSURE ( 9.36 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.3 (--) X-Spam-Report: Spam detection software, running on the system "desiato.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: Signed-off-by: Ilan Peer <ilan.peer@intel.com> --- tests/hwsim/test_pasn.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/hwsim/test_pasn.py b/tests/hwsim/test_pasn.py index 55aee9ef6f..579625b00d 100644 --- a/tests/hwsim/test_pasn.py +++ b/tests/hwsim/test_pasn.py @@ -65,10 +65,11 @@ def check_pasn_ak [...] Content analysis details: (-2.3 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [134.134.136.20 listed in wl.mailspike.net] -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [134.134.136.20 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 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> MIME-Version: 1.0 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 |
Add additional PASN features
|
expand
|
diff --git a/tests/hwsim/test_pasn.py b/tests/hwsim/test_pasn.py index 55aee9ef6f..579625b00d 100644 --- a/tests/hwsim/test_pasn.py +++ b/tests/hwsim/test_pasn.py @@ -65,10 +65,11 @@ def check_pasn_akmp_cipher(dev, hapd, akmp="PASN", cipher="CCMP", cmd = "PASN_START bssid=%s akmp=%s cipher=%s group=%s" % (hapd.own_addr(), akmp, cipher, group) - resp = dev.request(cmd) if nid != "": cmd += " nid=%s" % nid + resp = dev.request(cmd) + if fail: if "OK" in resp: raise Exception("Unexpected success to start PASN authentication")
Signed-off-by: Ilan Peer <ilan.peer@intel.com> --- tests/hwsim/test_pasn.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)