rtw89: change station scheduler setting for hardware TX mode
authorPing-Ke Shih <pkshih@realtek.com>
Fri, 8 Apr 2022 00:13:45 +0000 (08:13 +0800)
committerKalle Valo <kvalo@kernel.org>
Tue, 12 Apr 2022 13:34:38 +0000 (16:34 +0300)
The bit B_AX_SS_NONEMPTY_SS2FINFO_EN should be clear, because we configure
C-MAC as hardware TX/RX mode.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220408001353.17188-6-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/mac.c

index 2346350..b60b925 100644 (file)
@@ -1593,8 +1593,8 @@ static int sta_sch_init(struct rtw89_dev *rtwdev)
                return ret;
        }
 
-       rtw89_write32_set(rtwdev, R_AX_SS_CTRL, B_AX_SS_WARM_INIT_FLG |
-                                               B_AX_SS_NONEMPTY_SS2FINFO_EN);
+       rtw89_write32_set(rtwdev, R_AX_SS_CTRL, B_AX_SS_WARM_INIT_FLG);
+       rtw89_write32_clr(rtwdev, R_AX_SS_CTRL, B_AX_SS_NONEMPTY_SS2FINFO_EN);
 
        _patch_ss2f_path(rtwdev);