]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
wifi: rtw88: Extend rf_base_addr and rf_sipi_addr for RTL8814AU
authorBitterblue Smith <rtl8821cerfe2@gmail.com>
Tue, 4 Feb 2025 18:38:43 +0000 (20:38 +0200)
committerPing-Ke Shih <pkshih@realtek.com>
Mon, 10 Feb 2025 03:34:26 +0000 (11:34 +0800)
These members of struct rtw_chip_info each have a size of 2. Increase
their size to 4, which is the number of RF paths the RTL8814AU has.

This is required to read and write the RF registers of the RTL8814AU.

Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/7a4d8209-b8af-4943-b5de-f53d6edf591a@gmail.com
drivers/net/wireless/realtek/rtw88/main.h

index e40e6230298471f0fc7bc8e3f6d8c988b8a6e253..ba64d269521a2324ccaa74f98397143e265e6745 100644 (file)
@@ -1239,8 +1239,8 @@ struct rtw_chip_info {
 
        const struct rtw_hw_reg *dig;
        const struct rtw_hw_reg *dig_cck;
-       u32 rf_base_addr[2];
-       u32 rf_sipi_addr[2];
+       u32 rf_base_addr[RTW_RF_PATH_MAX];
+       u32 rf_sipi_addr[RTW_RF_PATH_MAX];
        const struct rtw_rf_sipi_addr *rf_sipi_read_addr;
        u8 fix_rf_phy_num;
        const struct rtw_ltecoex_addr *ltecoex_addr;