Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2014406lqz; Tue, 2 Apr 2024 05:03:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUsby2gcpG0kr3dgxC/Lp0dJ04Kv4C3WlbaFCCKzz8rhcuLsYiRRhypHjwO1x5rcO+CezPV3z+uPOLQ7mJ9Wmi3QIEXkSrnvLOVLBsaqQ== X-Google-Smtp-Source: AGHT+IF7j80CciN9pAAOdbuDWa1q6+zoUEzmUYE/hC4j1HYfTJCdJUL143f8tMb3mPPri3/9vNBW X-Received: by 2002:a17:902:e548:b0:1e2:6724:cf39 with SMTP id n8-20020a170902e54800b001e26724cf39mr2227335plf.64.1712059388911; Tue, 02 Apr 2024 05:03:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712059388; cv=pass; d=google.com; s=arc-20160816; b=fK9SH/hTBggOKxXgdm8X9aoHTBYje9vpx2PbA/do5s3LEtmxshCRtCezmKbyN52PNt ytIat1tJkgJlSI7S5GR6yWcDocaaJRGSkPdcdxGCV2+7C+kdVIxvSNQW6kXhkhaObQSp viN7bwHPexQrV4HM5pYqZ74WdLs+1m1T/1Q/TbfGpR1PQ5QB2kINuMADGlGysbeglGFy Qei3LkcHCindrvS3pT3UXnJHLfGO7t6d7/InwcJmz928JWO/Bn7GxqzkTsQMtXJ62N3U +ZArmsl6Mol0J8nGW4KAZb17va9OFyDCViasiDZAHYGzuzDgxqynyvOmnRlFGcqi5tmb Veug== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:message-id:in-reply-to:date:references:subject:cc:to :from:dkim-signature; bh=iA2+DGz+Ez8zuVmkgGOecQx7LD3u64Urs6Pqa2m/2Fc=; fh=Tqx98RaOnWK3MFgQA5Z9AawOHKqzI7qf5FMaEFJEIvA=; b=hZjFqUgZVBLPjFc2gdm6Evp3/RKvlVaNYe6L08qN/V22YW4B9zatDh8N+mFM6rP7dc /AgTaHteWDvqYhqRdA3GNpQOsrxF5Eya5vIRUBtyGYVNBERAOzejOAoYVCbY7m8U66tG UfLOhrx9hpalBy1BXUZ9nNi5gCFv3/XXJ3sbUmnLodkCWJcPucRvryIUF0F0WqmAZfp9 h/JO77CHXvfN9gDDVD2xITD5sdvrQIYsIlqRA5PnclsPCwCU6D2P1P5g4y7stczPxdpC Rt8ESmM9lcVFv4Bud9Vto4TGgougmfdKjZphdaObr5P0mHzpBKvQZAJnDIgpGnsuk0zW 4PQg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CkuyX4dq; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-5747-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5747-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id e12-20020a170902cf4c00b001e155021792si11453013plg.250.2024.04.02.05.03.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 05:03:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-5747-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CkuyX4dq; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-5747-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5747-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 4BB07B219FD for ; Tue, 2 Apr 2024 11:46:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E1409664B7; Tue, 2 Apr 2024 11:46:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="CkuyX4dq" X-Original-To: linux-wireless@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BB665664AB for ; Tue, 2 Apr 2024 11:46:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712058366; cv=none; b=QWuZrAu9dqVPAzS7cVEnqPARFFbGU3FNec9vze5YQNAhVvz/gnm/IqoHN143e8VmZsrnY9a2LEItPtRGgSPdskUHKMgaZ5xHVPtHd623zVPUPLQqBM0iT6MMDcMEP/QcMf+HuGoWL24pj1mT3F2dZLBAhrkL3FosswykFD0x7Nw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712058366; c=relaxed/simple; bh=ZuTKkEoH1PBM0P+GfAAbMX6nlQ4qj3EKg3MZpaePW7k=; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type; b=qnOLHgYKYXLwoV/OEpE7SaV974VPnQx3xKSMpfomsLVk/mebwxUV1aqprtoDqL9qO2vVG8jlyJulNn7qRyyUahb7SyJ+HPXbysZ7OT5PipQmVbGyNDqKCeIIrYMtmNikDgRSfQOFQhYNOjcFkrvsaakVqqx3ZpV/7+OTq3i8mXI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=CkuyX4dq; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5EAF0C433F1; Tue, 2 Apr 2024 11:46:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712058366; bh=ZuTKkEoH1PBM0P+GfAAbMX6nlQ4qj3EKg3MZpaePW7k=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=CkuyX4dq2xAN5XWVkmILrJe5t3MLyOwtfoHZy2ZfGu+0j+ea8Huvkl5S4QDuw4/aK sZtHyLhZjYlz/s7h4+kTLHyDNIPNtMethZ/1GYJZxlFiLkG1GdzOQ01d0cK6zv3mJ3 lekPwcwfOY9sPF5xgDCW0pdpCK89KxWiBxMQyI53xE2pUeenxCAgZ/Micrm9Ksi3fa D9DSfWZZuhy3Syme86UgI7VO92JzoHLismPH0DzrjkJQ30XeBSKceNYNvd51zidSBw 5tjXBodYJa8Yq5IAS+y8HujF7Ax6qaWCgLumbEC4ToKAPhQxUXqYmxO1e6cak2aqX8 EoUyKfArJ2UZg== From: Kalle Valo To: Karthikeyan Kathirvel Cc: , , P Praneesh Subject: Re: [PATCH 1/2] wifi: ath12k: fix BSS chan info request WMI command References: <20240331183232.2158756-1-quic_kathirve@quicinc.com> <20240331183232.2158756-2-quic_kathirve@quicinc.com> Date: Tue, 02 Apr 2024 14:46:03 +0300 In-Reply-To: <20240331183232.2158756-2-quic_kathirve@quicinc.com> (Karthikeyan Kathirvel's message of "Mon, 1 Apr 2024 00:02:31 +0530") Message-ID: <871q7o6l8k.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Karthikeyan Kathirvel writes: > From: P Praneesh > > Currently, the firmware returns incorrect pdev_id information in > WMI_PDEV_BSS_CHAN_INFO_EVENTID, leading to incorrect filling of > the pdev's survey information. > > To prevent this issue, when requesting BSS channel information > through WMI_PDEV_BSS_CHAN_INFO_REQUEST_CMDID, firmware expects > pdev_id as one of the arguments in this WMI command. > > Add pdev_id to the struct wmi_pdev_bss_chan_info_req_cmd and fill it > during ath12k_wmi_pdev_bss_chan_info_request(). This resolves the > issue of sending the correct pdev_id in WMI_PDEV_BSS_CHAN_INFO_EVENTID. > > Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1 > > Fixes: d889913205 ("wifi: ath12k: driver for Qualcomm Wi-Fi 7 devices") > > Signed-off-by: P Praneesh > Signed-off-by: Karthikeyan Kathirvel What about backwards compatibility with older firmware? And what about WCN7850? -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches