Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp2073399lqo; Mon, 13 May 2024 07:13:29 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUEZI0/1gz8GAcJjAns9+G+qD1ISlihqOrBYXDuu202prvP3oqxLtLyfzXcllVsgPKcDaejp4U3md1z+PI0kWwUGWeQqeWvRwz6c/9VJA== X-Google-Smtp-Source: AGHT+IGsknKncnDq64xjkJ7/XWeFOx6uLwmEioI2B/0zhRpoUXKOTnxsfCbJllj+lYNX79uDPQp3 X-Received: by 2002:a05:6359:4115:b0:192:2540:554c with SMTP id e5c5f4694b2df-193baee5b03mr1058965655d.1.1715609609038; Mon, 13 May 2024 07:13:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715609609; cv=pass; d=google.com; s=arc-20160816; b=q2Q0mgxPTBLwaB7B2Fk8bO6nX4qVTZ1fb1Wyxy24+t8NZl/d0JBqMW6/hzZT5xmPPW wx+4IfJv/gA7kdoMGcvTOcGEK6IXH4cI1qh2FgbYATv2IvaTEq3WyXC78RvJW6tjjQ5y 3tXUrJWgh2b72QrHoXP2S3ZNeihZB/60Tb+OGeRwoBejdY0pYl3lkkGkV0EBodq9NYhF f8Qr/hTD9+Fb1k8NG6Tj1p5ffP1fCyl/FERB7dD5xjXSM9Yvn/0iX0elTYroqpHV+0W/ OpdFf9V0JVIXPfyMznLXfFj97/0eY73y/rR6X6lCI0kLekxKoyn+wPS1IG0UMxAmXh6I b3dA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=date:message-id:user-agent:cc:to:references:in-reply-to:from :subject:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=cLqrMzonII4sTQq+9Ic25mMo0r8UE1nIkWGmgw3UdbE=; fh=029kuYAq1hc6mF1SMOQ2x0i7+BRmAYgL/pzlnEU+puQ=; b=lqWfZ1UMvhQy50sVtrtmz/y8k+YuHoQwlr9N/zUVa1lz4iSjqzhEpWBNq/vBhdeF3B NRo52gbegR1SGC4YRSdAQr68BVqAkmFOzxXTBUeilXLpmXWjaD7HMSuGQugij8xMGy7V RlsIk8QgabEtj1Ml2G1yFylbaeme/9JlkbgM5M5jBeFX5hA13WpP+oso1FXNvSXJHjpE Qyuh8YC1aq39aWKV/S0Hq3O3DS6TqMhqiLAHo6fJOP3O90Sj+9xTwYTas+uXIxUTBfHO B/wvunC5oq2sD+ePsxl+ECnBlzYYN9kzr+4lJ0KsOxk3IFxXZOVOo3OEitcaDoE879Pj Zanw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=L1Qq5mYV; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-7593-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7593-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d75a77b69052e-43df738a016si92177891cf.345.2024.05.13.07.13.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 May 2024 07:13:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-7593-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=L1Qq5mYV; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-7593-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7593-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id A8BE71C2135E for ; Mon, 13 May 2024 14:13:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AC282153819; Mon, 13 May 2024 14:13:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="L1Qq5mYV" 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 88143153817 for ; Mon, 13 May 2024 14:13: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=1715609586; cv=none; b=GIva9OK4h711PJjfTPvWCCgON66cdl9yVksBcktCxJxN/EbrUyvLTvaGElfkbPeKdsGMsiFogWQkYs65fgxS+aziRmhUi65dhzlBBGFydsT6VBr1fj/NTBQvXl4SCayz9lT8qWV4tfU9ex/nopRaX4DFl59FAPIttazv3idJfSo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715609586; c=relaxed/simple; bh=k5hs2jo2DPrq9jeuC5BRr/1EQid+vELuPYJpggcc5IQ=; h=Content-Type:MIME-Version:Subject:From:In-Reply-To:References:To: Cc:Message-ID:Date; b=nR+juo7YfC45/rfS5L8Z/Zr5dkm7PcriP6Rw8CcyQUERJ6tZGdtlMBmQmnOXbuR9LwlgweD5okwyRJA0ala6NdPYLsTF4Ju1hnEkDNv/ZooUMo+Uy1gzJOeZ9gge7z7BYLtPXnQpXfIeltFRJKubtr0BeAJKo79K5jOLA82c1co= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=L1Qq5mYV; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 71C15C113CC; Mon, 13 May 2024 14:13:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715609586; bh=k5hs2jo2DPrq9jeuC5BRr/1EQid+vELuPYJpggcc5IQ=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=L1Qq5mYVBoc2UN8qllh8m7QnNxhAHiG7Cg8s1/7TIzQATUIaLh1o1OUvpbldPsQ4g 90FPj9leTVU3TVz84LGLh1W046yr3TLFFHgRg/r8LuTsvGCkI/gL7QoXL7kZt2sb/t qzbxIlONTmpwYFRVCYXS4sCM6QQFswiE99TjgCdCo1t7EbLaDUXVoBwPnBUqvA963B AJknkyjHOZVbQePq7lPJFZo33UMPL07Gg2jarhM6PUHSFWyOdvM8LA1ly+YsusMSIy p9947eIwt5/rV503ZhSF6U9bPOq5K5IgnwUizuAi+tNPNROOrkkIJ8UMYp5PFDh/L/ hq80FusdIrdVQ== Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] wifi: ath12k: avoid double SW2HW_MACID conversion From: Kalle Valo In-Reply-To: <20240506173017.597715-1-quic_periyasa@quicinc.com> References: <20240506173017.597715-1-quic_periyasa@quicinc.com> To: Karthikeyan Periyasamy Cc: , , Karthikeyan Periyasamy User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <171560958344.1690511.4558865719984074214.kvalo@kernel.org> Date: Mon, 13 May 2024 14:13:05 +0000 (UTC) Karthikeyan Periyasamy wrote: > Currently, ath12k_wmi_pdev_dma_ring_cfg() fails due to an invalid pdev_id > parameter passed to the WMI_PDEV_DMA_RING_CFG_REQ_CMDID WMI command. This > invalid pdev_id is caused by a double conversion of the MAC ID. Since the > the caller of ath12k_wmi_pdev_dma_ring_cfg() already performs the MAC ID > conversion, it is unnecessary to do it again within the function. To fix > this, remove the software (SW) to hardware (HW) MAC ID conversion from > ath12k_wmi_pdev_dma_ring_cfg() to avoid this redundant conversion. > > Found in code review. > > Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1 > > Signed-off-by: Karthikeyan Periyasamy > Acked-by: Jeff Johnson > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. 2db7a82fd150 wifi: ath12k: avoid double SW2HW_MACID conversion -- https://patchwork.kernel.org/project/linux-wireless/patch/20240506173017.597715-1-quic_periyasa@quicinc.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches