Message ID | 20241126091021.3561063-5-andrei.otcheretianski@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@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=Q7X7Hmu1; 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=VaH2rpbQ; 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 4XyH7m0xM6z1yQc for <incoming@patchwork.ozlabs.org>; Tue, 26 Nov 2024 20:18:58 +1100 (AEDT) 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=JW1NcwgDKH0NSjM9dFpwxwilIH1G6YBBQLcapJ/YhsU=; b=Q7X7Hmu1QXhcHh 0Z5TFez76SYOBL70Tg91T75ICetiTMbONMOxWxlIENSetQ6tWPTyBxuUlsNP+KMjnEvSQw1VZo1wi gvUik+YIYoHbAiLgiir85ht+Q7e+h2swqC0kFr23cvBQqmmFuhJGhXQ7idkOVIphnWNQLzVVALyWf z77A47WzSnkj+l8gS6I3f7jJe29HaMaU707WUn9GXGep9z70WZxwDjy6PjkyU9Uegq2kiC+/17qc1 DVpikpAxRLNqf4jyVj9xpPHmseQJMjZi44VOE2nCvqjxntM2sEQQNICOROo76ewqiTcDoV0HP8KDa NoLHCkP3n/EB0db02AMw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tFriO-0000000A4aq-1Xwe; Tue, 26 Nov 2024 09:18:36 +0000 Received: from mgamail.intel.com ([198.175.65.16]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tFrhz-0000000A4RS-0lDe for hostap@lists.infradead.org; Tue, 26 Nov 2024 09:18:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1732612691; x=1764148691; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=ILYxl7oFyRMdHZDpIm2+3PgNepelvshbWoNK42F7YAQ=; b=VaH2rpbQPm75CS3ww0wnJcRC5IS9Wvtca+Y8/D/YwBvlgSyRM8aUvpHv vrDdTPTUPh99Newah6GZqRBgkJMB1nuCNJEihVOVC8Dt/bHkrWeLf8ULR /sDltm9i5bkZ0V3ALdAl97lxviRtSF/bHVUJOh27eBXYx7LN/MGIBQcq6 JUVGA4woSnserccqCShRPQjruXDbkvqdG2e+UUKAouEPJGXJGt1/sCkj+ 8PEM0ohApJWRscjRqf9cB+6GNh2IRGfU0sZylFXURE8tXoOOBuHn+IyrS vGW4hB4i3YF5a9DNWDvVDZ7mNfRp17i10XZA375pCraL1+C7YkcDo+QVi w==; X-CSE-ConnectionGUID: otFFfo3yS2apHFcN85G1pA== X-CSE-MsgGUID: XPZeLXjsSiSisN0c+s/KPw== X-IronPort-AV: E=McAfee;i="6700,10204,11267"; a="32909306" X-IronPort-AV: E=Sophos;i="6.12,185,1728975600"; d="scan'208";a="32909306" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by orvoesa108.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Nov 2024 01:18:11 -0800 X-CSE-ConnectionGUID: ZJ1PwC0iRXmQho4ZKNda7Q== X-CSE-MsgGUID: oG45ux3FSXuUM/+u+yiFqw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,185,1728975600"; d="scan'208";a="92364405" Received: from weis0042.iil.intel.com ([10.12.217.211]) by orviesa008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Nov 2024 01:18:10 -0800 From: Andrei Otcheretianski <andrei.otcheretianski@intel.com> To: hostap@lists.infradead.org Cc: Andrei Otcheretianski <andrei.otcheretianski@intel.com> Subject: [PATCH 04/11] P2P2: Fix frequency selection for auto GO join Date: Tue, 26 Nov 2024 11:10:13 +0200 Message-ID: <20241126091021.3561063-5-andrei.otcheretianski@intel.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241126091021.3561063-1-andrei.otcheretianski@intel.com> References: <20241126091021.3561063-1-andrei.otcheretianski@intel.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241126_011811_270253_1EFF937B X-CRM114-Status: UNSURE ( 7.94 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -4.4 (----) 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: When reusing an existing GO for pairing, force its frequency in GO negotiation. Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com> --- wpa_supplicant/p2p_supplicant.c | 2 ++ 1 file changed, 2 insertions(+) Content analysis details: (-4.4 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [198.175.65.16 listed in sa-trusted.bondedsender.org] -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [198.175.65.16 listed in list.dnswl.org] 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [198.175.65.16 listed in bl.score.senderscore.com] 0.0 RCVD_IN_VALIDITY_SAFE_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [198.175.65.16 listed in sa-accredit.habeas.com] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender 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 -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.0 DKIMWL_WL_HIGH DKIMwl.org - High trust sender 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 |
[01/11] NAN: Remove excessive print
|
expand
|
diff --git a/wpa_supplicant/p2p_supplicant.c b/wpa_supplicant/p2p_supplicant.c index 99ee64f467..f87da3ef6a 100644 --- a/wpa_supplicant/p2p_supplicant.c +++ b/wpa_supplicant/p2p_supplicant.c @@ -6863,6 +6863,8 @@ int wpas_p2p_connect(struct wpa_supplicant *wpa_s, const u8 *peer_addr, ssid = NULL; continue; } + + force_freq = ifs->ap_iface->freq; break; } p2p_set_go_role(wpa_s->global->p2p, true);
When reusing an existing GO for pairing, force its frequency in GO negotiation. Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com> --- wpa_supplicant/p2p_supplicant.c | 2 ++ 1 file changed, 2 insertions(+)