wifi: rtw89: 8851b: add 8851be to Makefile and Kconfig
authorPing-Ke Shih <pkshih@realtek.com>
Fri, 19 May 2023 03:15:00 +0000 (11:15 +0800)
committerKalle Valo <kvalo@kernel.org>
Thu, 25 May 2023 16:11:31 +0000 (19:11 +0300)
Since 8851BE is ready, so add 8851BE to Makefile and Kconfig. Currently,
it can support STA, AP and monitor modes with good performance.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20230519031500.21087-8-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/Kconfig
drivers/net/wireless/realtek/rtw89/Makefile

index 2b20cf8..90ffbab 100644 (file)
@@ -16,6 +16,9 @@ config RTW89_CORE
 config RTW89_PCI
        tristate
 
+config RTW89_8851B
+       tristate
+
 config RTW89_8852A
        tristate
 
@@ -25,6 +28,17 @@ config RTW89_8852B
 config RTW89_8852C
        tristate
 
+config RTW89_8851BE
+       tristate "Realtek 8851BE PCI wireless network (Wi-Fi 6) adapter"
+       depends on PCI
+       select RTW89_CORE
+       select RTW89_PCI
+       select RTW89_8851B
+       help
+         Select this option will enable support for 8851BE chipset
+
+         802.11ax PCIe wireless network (Wi-Fi 6) adapter
+
 config RTW89_8852AE
        tristate "Realtek 8852AE PCI wireless network (Wi-Fi 6) adapter"
        depends on PCI
index 99e870d..4194009 100644 (file)
@@ -18,6 +18,15 @@ rtw89_core-y += core.o \
 
 rtw89_core-$(CONFIG_PM) += wow.o
 
+obj-$(CONFIG_RTW89_8851B) += rtw89_8851b.o
+rtw89_8851b-objs := rtw8851b.o \
+                   rtw8851b_table.o \
+                   rtw8851b_rfk.o \
+                   rtw8851b_rfk_table.o
+
+obj-$(CONFIG_RTW89_8851BE) += rtw89_8851be.o
+rtw89_8851be-objs := rtw8851be.o
+
 obj-$(CONFIG_RTW89_8852A) += rtw89_8852a.o
 rtw89_8852a-objs := rtw8852a.o \
                    rtw8852a_table.o \