diff mbox series

wifi: rtw89: enlarge the CFO tracking boundary

Message ID 20220824061425.13764-1-pkshih@realtek.com (mailing list archive)
State Accepted
Commit 9bea5761750caafceb88771babdbf87367ad3908
Delegated to: Kalle Valo
Headers show
Series wifi: rtw89: enlarge the CFO tracking boundary | expand

Commit Message

Ping-Ke Shih Aug. 24, 2022, 6:14 a.m. UTC
From: Cheng-Chieh Hsieh <cj.hsieh@realtek.com>

The calibration value of XTAL offset may be too large in some wifi
modules, that the CFO tracking mechanism under the existing tracking
boundary can not adjust the CFO to the tolerable range. So we enlarge it.

Signed-off-by: Cheng-Chieh Hsieh <cj.hsieh@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
---
 drivers/net/wireless/realtek/rtw89/phy.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Kalle Valo Sept. 2, 2022, 8:36 a.m. UTC | #1
Ping-Ke Shih <pkshih@realtek.com> wrote:

> From: Cheng-Chieh Hsieh <cj.hsieh@realtek.com>
> 
> The calibration value of XTAL offset may be too large in some wifi
> modules, that the CFO tracking mechanism under the existing tracking
> boundary can not adjust the CFO to the tolerable range. So we enlarge it.
> 
> Signed-off-by: Cheng-Chieh Hsieh <cj.hsieh@realtek.com>
> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>

Patch applied to wireless-next.git, thanks.

9bea5761750c wifi: rtw89: enlarge the CFO tracking boundary
diff mbox series

Patch

diff --git a/drivers/net/wireless/realtek/rtw89/phy.h b/drivers/net/wireless/realtek/rtw89/phy.h
index e20636f54b553..67544ee868cf2 100644
--- a/drivers/net/wireless/realtek/rtw89/phy.h
+++ b/drivers/net/wireless/realtek/rtw89/phy.h
@@ -56,7 +56,7 @@ 
 #define CFO_TRK_STOP_TH (2 << 2)
 #define CFO_SW_COMP_FINE_TUNE (2 << 2)
 #define CFO_PERIOD_CNT 15
-#define CFO_BOUND 32
+#define CFO_BOUND 64
 #define CFO_TP_UPPER 100
 #define CFO_TP_LOWER 50
 #define CFO_COMP_PERIOD 250