wifi: rtw89: phy: expand PHY page for RTL8922D

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
This commit is contained in:
Eric Huang 2026-03-25 15:21:28 +08:00 committed by Ping-Ke Shih
parent ce945fb377
commit e0b88e052e

View 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