From mboxrd@z Thu Jan 1 00:00:00 1970 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 A3C3C1A6192; Tue, 30 Jul 2024 16:31:21 +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=1722357081; cv=none; b=GpwkmRFPNgvT5L/viOaATKaLUsqZdSm+iYD8DACJn+tFNikg+rJLUGW1Xgxw/pD6Pfhgl+Bnga/mug0/zihIMz9o1fYbNX+buWU4sxIB3YJuRBod5iOYE3vHQTsf4UKzwCEb42Cr1ZZw+3DuKEenZ01TiCETfdeyLLoww6pvIsc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722357081; c=relaxed/simple; bh=Vr5vLu/05D+Z1FzETx8qpeV7gTs5r1de4hzmHWyB+G0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=S+9EML3J8d4/6+BLT4AQokPTR7V20/rsKATNKhT5SvF77xHr8oXAW/qByQ1lzxTcjv7o/Vd3mM2FQUNOUuNmvmOVNkyd81kNJCSIXLHOKcg2aP/cjexPJfVK1c/N3QtaDIL9bszAnnCNRnbO4jGp9ZK5bUFSMhAx8HgO/XvRCn0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=iKQmgLxS; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="iKQmgLxS" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 194ADC32782; Tue, 30 Jul 2024 16:31:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1722357081; bh=Vr5vLu/05D+Z1FzETx8qpeV7gTs5r1de4hzmHWyB+G0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iKQmgLxSEFMje7jUhONdIrfOY7JO5bTF7xkt/kUDyNnqwvVXAkzZGF9GcT3gkKdhr s8Luj9V+RvS0H0Kke4AqTyRBLJHJvhdpdT5V9nOAzjFk1pOzHAeXm0VXipC6Bi+J9r iB+GNuI57F9W6IcBc8+QV+XOZe/vNz+VoiffsHH4= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Kuan-Chung Chen , Ping-Ke Shih , Sasha Levin Subject: [PATCH 6.10 216/809] wifi: rtw89: 8852b: fix definition of KIP register number Date: Tue, 30 Jul 2024 17:41:32 +0200 Message-ID: <20240730151733.135117114@linuxfoundation.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240730151724.637682316@linuxfoundation.org> References: <20240730151724.637682316@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.10-stable review patch. If anyone has any objections, please let me know. ------------------ From: Kuan-Chung Chen [ Upstream commit 2f35712ab82683554c660bc2456f05785835efbe ] An incorrect definition caused DPK to fail to backup and restore a set of KIP registers. Fixing this will improve RX throughput from 902 to 997 Mbps. Fixes: 5b8471ace5b1 ("wifi: rtw89: 8852b: rfk: add DPK") Signed-off-by: Kuan-Chung Chen Signed-off-by: Ping-Ke Shih Link: https://patch.msgid.link/20240621123617.6687-2-pkshih@realtek.com Signed-off-by: Sasha Levin --- drivers/net/wireless/realtek/rtw89/rtw8852b_rfk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/realtek/rtw89/rtw8852b_rfk.c b/drivers/net/wireless/realtek/rtw89/rtw8852b_rfk.c index 259df67836a0e..a2fa1d339bc21 100644 --- a/drivers/net/wireless/realtek/rtw89/rtw8852b_rfk.c +++ b/drivers/net/wireless/realtek/rtw89/rtw8852b_rfk.c @@ -20,7 +20,7 @@ #define RTW8852B_RF_REL_VERSION 34 #define RTW8852B_DPK_VER 0x0d #define RTW8852B_DPK_RF_PATH 2 -#define RTW8852B_DPK_KIP_REG_NUM 2 +#define RTW8852B_DPK_KIP_REG_NUM 3 #define _TSSI_DE_MASK GENMASK(21, 12) #define ADDC_T_AVG 100 -- 2.43.0