rtw89: 8852c: add 8852ce to Makefile and Kconfig
authorPing-Ke Shih <pkshih@realtek.com>
Tue, 3 May 2022 12:00:01 +0000 (20:00 +0800)
committerKalle Valo <kvalo@kernel.org>
Wed, 4 May 2022 05:32:05 +0000 (08:32 +0300)
This initial vesion is usable now. It can support STA, AP and monitor
modes, so we can add 8852ce to Kconfig and Makefile.

We are still working on some features, such as deep power save, and BT
coexistence. But, this version still can have a good WiFi-only performance
already, and will continue to fine tune power consumption.

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

index dd02b6a..93e0940 100644 (file)
@@ -19,8 +19,11 @@ config RTW89_PCI
 config RTW89_8852A
        tristate
 
+config RTW89_8852C
+       tristate
+
 config RTW89_8852AE
-       tristate "Realtek 8852AE PCI wireless network adapter"
+       tristate "Realtek 8852AE PCI wireless network (Wi-Fi 6) adapter"
        depends on PCI
        select RTW89_CORE
        select RTW89_PCI
@@ -28,7 +31,18 @@ config RTW89_8852AE
        help
          Select this option will enable support for 8852AE chipset
 
-         802.11ax PCIe wireless network adapter
+         802.11ax PCIe wireless network (Wi-Fi 6) adapter
+
+config RTW89_8852CE
+       tristate "Realtek 8852CE PCI wireless network (Wi-Fi 6E) adapter"
+       depends on PCI
+       select RTW89_CORE
+       select RTW89_PCI
+       select RTW89_8852C
+       help
+         Select this option will enable support for 8852CE chipset
+
+         802.11ax PCIe wireless network (Wi-Fi 6E) adapter
 
 config RTW89_DEBUG
        bool
index 012ae60..3006482 100644 (file)
@@ -23,6 +23,15 @@ rtw89_8852a-objs := rtw8852a.o \
 obj-$(CONFIG_RTW89_8852AE) += rtw89_8852ae.o
 rtw89_8852ae-objs := rtw8852ae.o
 
+obj-$(CONFIG_RTW89_8852C) += rtw89_8852c.o
+rtw89_8852c-objs := rtw8852c.o \
+                   rtw8852c_table.o \
+                   rtw8852c_rfk.o \
+                   rtw8852c_rfk_table.o
+
+obj-$(CONFIG_RTW89_8852CE) += rtw89_8852ce.o
+rtw89_8852ce-objs := rtw8852ce.o
+
 rtw89_core-$(CONFIG_RTW89_DEBUG) += debug.o
 
 obj-$(CONFIG_RTW89_PCI) += rtw89_pci.o