You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.7 KiB
47 lines
1.7 KiB
1 year ago
|
From 33eaf6157fecb32ffff8b0ac1f75f19248825a45 Mon Sep 17 00:00:00 2001
|
||
|
From: =?UTF-8?q?=C3=8D=C3=B1igo=20Huguet?= <ihuguet@redhat.com>
|
||
|
Date: Wed, 24 May 2023 15:00:32 +0200
|
||
|
Subject: [PATCH 080/142] wifi: rtw89: 8852c: rfk: correct DACK setting
|
||
|
MIME-Version: 1.0
|
||
|
Content-Type: text/plain; charset=UTF-8
|
||
|
Content-Transfer-Encoding: 8bit
|
||
|
|
||
|
Bugzilla: https://bugzilla.redhat.com/2207499
|
||
|
|
||
|
commit b2bab7b14098dcf5d405fa8c76b2c3f6ce9184f9
|
||
|
Author: Ping-Ke Shih <pkshih@realtek.com>
|
||
|
Date: Fri Dec 9 10:09:38 2022 +0800
|
||
|
|
||
|
wifi: rtw89: 8852c: rfk: correct DACK setting
|
||
|
|
||
|
After filling calibration parameters, set BIT(0) to enable the hardware
|
||
|
circuit, but original set incorrect bit that affects a little TX
|
||
|
performance.
|
||
|
|
||
|
Fixes: 76599a8d0b7d ("rtw89: 8852c: rfk: add DACK")
|
||
|
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
|
||
|
Signed-off-by: Kalle Valo <kvalo@kernel.org>
|
||
|
Link: https://lore.kernel.org/r/20221209020940.9573-2-pkshih@realtek.com
|
||
|
|
||
|
Signed-off-by: Íñigo Huguet <ihuguet@redhat.com>
|
||
|
---
|
||
|
drivers/net/wireless/realtek/rtw89/rtw8852c_rfk.c | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/drivers/net/wireless/realtek/rtw89/rtw8852c_rfk.c b/drivers/net/wireless/realtek/rtw89/rtw8852c_rfk.c
|
||
|
index 60cd676fe22c9..f5b0b57f33207 100644
|
||
|
--- a/drivers/net/wireless/realtek/rtw89/rtw8852c_rfk.c
|
||
|
+++ b/drivers/net/wireless/realtek/rtw89/rtw8852c_rfk.c
|
||
|
@@ -337,7 +337,7 @@ static void _dack_reload_by_path(struct rtw89_dev *rtwdev,
|
||
|
(dack->dadck_d[path][index] << 14);
|
||
|
addr = 0xc210 + offset;
|
||
|
rtw89_phy_write32(rtwdev, addr, val32);
|
||
|
- rtw89_phy_write32_set(rtwdev, addr, BIT(1));
|
||
|
+ rtw89_phy_write32_set(rtwdev, addr, BIT(0));
|
||
|
}
|
||
|
|
||
|
static void _dack_reload(struct rtw89_dev *rtwdev, enum rtw89_rf_path path)
|
||
|
--
|
||
|
2.13.6
|
||
|
|