Skip to content

Commit 076652f

Browse files
author
Ping-Ke Shih
committed
wifi: rtw89: phy: disable CFO track when two PHY are working simultaneously
To have good performance, adjust hardware XTAL to track CFO (carrier frequency offset). However, there is only one hardware XTAL, so it is not possible to track on two PHY simultaneously. It also can't track on single one PHY when two PHY are working, because the adjustment of XTAL will affect all PHY. Thus, disable CFO track for this case. Signed-off-by: Ping-Ke Shih <[email protected]> Link: https://patch.msgid.link/[email protected]
1 parent 0a51f04 commit 076652f

File tree

1 file changed

+1
-1
lines changed
  • drivers/net/wireless/realtek/rtw89

1 file changed

+1
-1
lines changed

drivers/net/wireless/realtek/rtw89/phy.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4600,7 +4600,7 @@ static void rtw89_phy_cfo_dm(struct rtw89_dev *rtwdev)
46004600
cfo->dcfo_avg = 0;
46014601
rtw89_debug(rtwdev, RTW89_DBG_CFO, "CFO:total_sta_assoc=%d\n",
46024602
rtwdev->total_sta_assoc);
4603-
if (rtwdev->total_sta_assoc == 0) {
4603+
if (rtwdev->total_sta_assoc == 0 || rtw89_is_mlo_1_1(rtwdev)) {
46044604
rtw89_phy_cfo_reset(rtwdev);
46054605
return;
46064606
}

0 commit comments

Comments
 (0)