Article View: linux.kernel.netdev
Article #7586Re: [PATCH v4 3/4] wifi: ath11k: Connect to the QMI server belonging to the device owned by this driver
From: Simon Horman
Date: Mon, 26 Oct 2026 17:25
Date: Mon, 26 Oct 2026 17:25
18 lines
9191 bytes
9191 bytes
On Thu, Oct 22, 2026 at 07:43:09PM +0200, Manivannan Sadhasivam wrote: > When two identical ath11k PCIe devices are connected to the same host, both > advertise the WLFW service with the same service and instance id. The QMI > lookup reports both servers to each device, so a device may connect to the > firmware running on the other device. > > But now, QRTR provides each MHI endpoint a unique node id which is > different from the node id announced by the device. So use the same id to > pick the correct server. Add a get_qrtr_node_id() HIF callback that returns > the node id derived from the MHI controller index and zero for transports > that do not assign one. In the new_server callback, reject any service > whose node id does not match. A node id of zero disables the check, so > transports that do not assign one keep their current behavior. > > Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com> Reviewed-by: Simon Horman <horms@kernel.org>
Technical Details
Message-ID:
<20261026172550.GJ257209@horms.kernel.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-352020-linux-kernel-netdev=dewy.ruReferences:
<20261022-qrtr-multi-ep-v4-0-c6fdb75fcd3e@oss.qualcomm.com> <20261022-qrtr-multi-ep-v4-3-c6fdb75fcd3e@oss.qualcomm.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-352020-linux-kernel-netdev=dewy.ru From: horms@kernel.org (Simon Horman) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH v4 3/4] wifi: ath11k: Connect to the QMI server belonging to the device owned by this driver Date: Mon, 26 Oct 2026 17:25:50 +0000 Organization: Usenet Network Message-ID: <20261026172550.GJ257209@horms.kernel.org> References: <20261022-qrtr-multi-ep-v4-0-c6fdb75fcd3e@oss.qualcomm.com> <20261022-qrtr-multi-ep-v4-3-c6fdb75fcd3e@oss.qualcomm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: usenet.network; logging-data="1358580"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:7M1cDB1rDRJSNDzKBHFOtzI1/E4= sha256:uqu6Ca7l0MCvJYGaT1fXIqne8gsInoB2/IgJt07Uahw= sha1:mBuYrNMWVGhZNgg4/0XhAsBDHkg= sha256:H2CO7lvPNuTSAJswCMWxUe+Wt1SyLDec808aIPeueRY= Content-Disposition: inline List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id 0BDC8125BB1; Mon, 26 Oct 2026 20:27:18 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.839 X-Spam-Status: No, score=-3.839 tagged_above=-9999 required=6.31 tests=[DKIMWL_WL_HIGH=-0.339, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=kernel.org X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4tt3UHF6J6PG; Mon, 26 Oct 2026 20:27:15 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-352020-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74]) by mail.dewy.ru (Postfix) with ESMTPS id 1BC57125BAF; Mon, 26 Oct 2026 20:27:07 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sto.lore.kernel.org (Postfix) with ESMTP id 240906034A5; Mon, 26 Oct 2026 17:26:00 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1793035557; b=irsqAuZ83amYB0j/1cgoVdyjtcc8tK1np+NwfFSFZLrJeHciQrijucmQqciOza+50ioU x5x+MgNBVVTBWCSvjDzEO63Hx58uy6YudyG6tANdNXOHgsDJ37gGOL/q8u1T2aEeh27gr 9dDJN4tyeNp+D0OzL4976G+MvIUCxBd0S4ldNlsHsdd4RDZKHD8kM7yr/rwbOcmN2MrE/ 1pyNkeWxWk1WIY8/Lvy8LXNjw5Blx1NtveE2TnZ7RNnuJSrNf2zUdoW43MUGw6gcjYyEq EXIR+B9HVwX+rDopVoKFk3IVjFry8wUKt0kZU3vNzNT8km6XBq470GaM4/96jNwuQAA== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793035557; h=X-Original-To:Received:Received:DKIM-Signature:Date:From:To:Cc: Subject:Message-ID:References:X-Mailing-List:List-Id:List-Post: List-Help:List-Subscribe:List-Unsubscribe:List-Owner:Precedence: MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=4flWI2WVnwFI/fTrvl/y9DbpMdHilW4fazMAT/2C8K4=; b=kBSBMlPe353+bD1vxDtnBI7fUnIrzJx5M8zoqlXRAhnF03ytqG8FBr7dM+IJNKjoP0xu 4G87fzNGTi9OCGY3ge038Sb4iD/1QrxH86eUA0UalBwF9C8+apoId8Ng7+BmA7J3rdUwQ sxg3B60W/69UGhVmRFeydhDVeBK6Jb1uMERC/Y6nr89aiwAKV8o4aBsiEafHhUBYezlWg 4hVfmpmNFvbyI4ezZbfzMP8Xa/GpHZ8dgV0q8UdYgNOeHXEKwFJwr2ebYB5XzSirsXhaL /5YvtLOKEZUby3vStv4+Q+ECQ+VegdhyFqwu53eeBWN4Z7CfFnj0mL4HZj2h4BCBf8A== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b="do/DnN1s"; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 66D05606A329; Mon, 26 Oct 2026 17:25:57 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=do/DnN1s X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793035556; b=fKu0IJ8rLm+DQ162xF9Gd1TW1c2kjgfNgCVz10wCzMPewSlJKCNi/MVIWBMubra8DI3w Y6rxEzv4oR26UbrFHJb/lXL0x54qiFJae3m8PKTq/94ofWU8dZInow19EwvRKhrpYl9mb lH+CMUNY+DIwTKrPRG0OoHqdJ8NeueFQ/yTL4qaL2IQ54rt3WThMztD7Hzo9nb5lbyb4n EraLwUs3rFhRk1LaPlWlgcthyyIT8s7Oltz7M7KO5o6j4WnKltbhh3dhhdjN16puO63Xa 29L8UrrFPsCRLQTbAp9zu57jZfNWd3itS9xAv4nc/ntBYkOjHgVGXdkBXvO7RoE5OWA== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793035556; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=4flWI2WVnwFI/fTrvl/y9DbpMdHilW4fazMAT/2C8K4=; b=qkzgOO8Suc/CN1AxQcIQvciFT7/Pmhqb4uasS64yzFYBjyJpERXWAUOJOFveuFOX3bnM 5lzoXICIcBsonzoL+sKMFQIVSKFuIfp3RzqMsaDFRAtA5gCjz/nKihaPSK83fEB9Q6KgP f/eqcpnyhrfCqLAsQ4sSm68lptZIJUuFL9uAGT1BniYjwS5rq8veFvM3tA0QtQhEBLe3R tyqFJh2IZ56diq303jCpv1pw4RSsDOsE8olFdaOdCGN+9S0E3d8SwJaRHpe1x8ao3FPxn HnaTFBT2YFYN4hP5UNDcyjTappFzbMr8o7WrPuFr5VV167HI40E6g+J3di7h3G61vtw== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b="do/DnN1s"; arc=none smtp.remote-ip=100.103.45.18 X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 45643606A31D; Mon, 26 Oct 2026 17:25:56 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id DA8AA1F031E1; Mon, 26 Oct 2026 17:25:52 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1793035556; bh=4flWI2WVnwFI/fTrvl/y9DbpMdHilW4fazMAT/2C8K4=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=do/DnN1sS/BFglJXOVc3eSqMWCTulTWj7p+/8C3vlAjiIZXkLfkFq6Swf3Uyn1IUU Sj1q08ywy4L7I4hshh4mggb81RpchiYROxIIos+HPKXxZmsJ6WcqSD+8S3CZOOTE9g qjvHFXmXB9W2eRZQ9Jogkt8laFHm4/M19aEW2a/HErOn2EIkWygQkWrYrUSW4IStr4 EMsE9KAHgg9TF3Vtb88B8eqVr1iH0YB3LV9tnrFmp8odKW4wOjD7ovpWx49ulxtBmA 9X+Qvsz7hDgthb4wgYZRcfYNPc8g60Spyim+kDi2YZ3E5HhzAyp9dei5iTrZqY+deG jA0LRiGwZaZBA== X-Cc: Manivannan Sadhasivam <mani@kernel.org>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Jeff Johnson <jjohnson@kernel.org>, linux-arm-msm@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org, ath11k@lists.infradead.org, ath12k@lists.infradead.org, Bjorn Andersson <andersson@kernel.org>, Chris Lew <christopher.lew@oss.qualcomm.com>, Deepak Kumar Singh <deepak.singh@oss.qualcomm.com>, Raj Kumar Bhagat <raj.bhagat@oss.qualcomm.com>, Juha-Matti Tilli <juha-matti.tilli@iki.fi>, Jeff Hugo <jeff.hugo@oss.qualcomm.com> X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list X-In-Reply-To: <20261022-qrtr-multi-ep-v4-3-c6fdb75fcd3e@oss.qualcomm.com>