]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
wifi: rtw89: phy: expand PHY page for RTL8922D
authorEric Huang <echuang@realtek.com>
Wed, 25 Mar 2026 07:21:28 +0000 (15:21 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Mon, 30 Mar 2026 02:29:05 +0000 (10:29 +0800)
PHY page range is to define offset from PHY0 to PHY1, and RTL8922D
needs to expand page to 0x2E0.

Signed-off-by: Eric Huang <echuang@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20260325072130.41751-7-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/phy_be.c

index 08fd24a55d852b6b52cf8ab6c0ef7a4b6df61e68..929fac1b10d25386e061f2f3f7cc258f225f3a78 100644 (file)
@@ -199,7 +199,7 @@ static u32 rtw89_phy0_phy1_offset_be_v1(struct rtw89_dev *rtwdev, u32 addr)
            (phy_page >= 0x240 && phy_page <= 0x24f) ||
            (phy_page >= 0x260 && phy_page <= 0x26f) ||
            (phy_page >= 0x2C0 && phy_page <= 0x2C9) ||
-           (phy_page >= 0x2E4 && phy_page <= 0x2E8) ||
+           (phy_page >= 0x2E0 && phy_page <= 0x2E8) ||
            phy_page == 0x2EE)
                ofst = 0x1000;
        else