wifi: rtw89: 8922a: set chip_ops FEM and GPIO to NULL
authorPing-Ke Shih <pkshih@realtek.com>
Wed, 24 Jan 2024 03:38:13 +0000 (11:38 +0800)
committerKalle Valo <kvalo@kernel.org>
Thu, 1 Feb 2024 10:19:51 +0000 (12:19 +0200)
The chip_ops::fem_setup is to get if a hardware module type contains PA
and LNA that will affect how RF calibrations do. The chip_ops::rfe_gpio
is to set GPIO PIN MUX according to hardware module type too. 8922A
doesn't have these special module types yet, so leave them as NULL.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/20240124033813.12562-1-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/rtw8922a.c

index 6de3c0f8d83a85d948db4d20d950dd3e3c386e4e..aefad3f2e612f0757403155ee488894f2cd13623 100644 (file)
@@ -1620,6 +1620,8 @@ static const struct rtw89_chip_ops rtw8922a_chip_ops = {
        .set_channel            = rtw8922a_set_channel,
        .read_efuse             = rtw8922a_read_efuse,
        .read_phycap            = rtw8922a_read_phycap,
+       .fem_setup              = NULL,
+       .rfe_gpio               = NULL,
        .power_trim             = rtw8922a_power_trim,
        .set_txpwr              = rtw8922a_set_txpwr,
        .set_txpwr_ctrl         = rtw8922a_set_txpwr_ctrl,