diff mbox series

[6/6] wifi: rtw89: 8922a: set chip_ops FEM and GPIO to NULL

Message ID 20240124033813.12562-1-pkshih@realtek.com (mailing list archive)
State Accepted
Commit a6c759c8962b11fdc62ced6f70a3f6ed0a50e033
Delegated to: Kalle Valo
Headers show
Series wifi: rtw89: 8922a: add chip_ops related to TX/RX, RF access and thermal | expand

Commit Message

Ping-Ke Shih Jan. 24, 2024, 3:38 a.m. UTC
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>
---
 drivers/net/wireless/realtek/rtw89/rtw8922a.c | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/drivers/net/wireless/realtek/rtw89/rtw8922a.c b/drivers/net/wireless/realtek/rtw89/rtw8922a.c
index 6de3c0f8d83a..aefad3f2e612 100644
--- a/drivers/net/wireless/realtek/rtw89/rtw8922a.c
+++ b/drivers/net/wireless/realtek/rtw89/rtw8922a.c
@@ -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,