]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
wifi: rtw89: mac: disable pre-load function for RTL8922DE
authorPing-Ke Shih <pkshih@realtek.com>
Wed, 25 Mar 2026 07:21:27 +0000 (15:21 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Mon, 30 Mar 2026 02:27:56 +0000 (10:27 +0800)
The pre-load function is a MAC function to pre-load TX packets into
WiFi device's memory, so it can enhance performance. However, RTL8922DE
has not fully verified and fine tune this function, temporarily disable
this function.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20260325072130.41751-6-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/mac.h

index 93bedf056f174f7c4ea369dde415a29cb080256a..9db9ae219cd6851e08737f6ca36b8085363064f4 100644 (file)
@@ -1828,8 +1828,7 @@ static inline bool rtw89_mac_chk_preload_allow(struct rtw89_dev *rtwdev)
        if (rtwdev->hci.type != RTW89_HCI_TYPE_PCIE)
                return false;
 
-       if (rtwdev->chip->chip_id == RTL8922D && rtwdev->hal.cid == RTL8922D_CID7090)
-               return true;
+       /* The RTL8922DE will re-enable pre-load function after verification. */
 
        return false;
 }