rtw88: 8821c: Add 8821CE to Kconfig and Makefile
authorTzu-En Huang <tehuang@realtek.com>
Wed, 3 Jun 2020 09:42:18 +0000 (17:42 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 15 Jul 2020 09:08:16 +0000 (12:08 +0300)
Since 8821C code is ready, we can build it.

Signed-off-by: Tzu-En Huang <tehuang@realtek.com>
Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200603094218.19942-6-yhchuang@realtek.com
drivers/net/wireless/realtek/rtw88/Kconfig
drivers/net/wireless/realtek/rtw88/Makefile

index ca894c4..e3d7cb6 100644 (file)
@@ -25,6 +25,9 @@ config RTW88_8822C
 config RTW88_8723D
        tristate
 
+config RTW88_8821C
+       tristate
+
 config RTW88_8822BE
        tristate "Realtek 8822BE PCI wireless network adapter"
        depends on PCI
@@ -58,6 +61,17 @@ config RTW88_8723DE
 
          802.11n PCIe wireless network adapter
 
+config RTW88_8821CE
+       tristate "Realtek 8821CE PCI wireless network adapter"
+       depends on PCI
+       select RTW88_CORE
+       select RTW88_PCI
+       select RTW88_8821C
+       help
+         Select this option will enable support for 8821CE chipset
+
+         802.11ac PCIe wireless network adapter
+
 config RTW88_DEBUG
        bool "Realtek rtw88 debug support"
        depends on RTW88_CORE
index f31e78a..c0e4b11 100644 (file)
@@ -37,5 +37,11 @@ rtw88_8723d-objs             := rtw8723d.o rtw8723d_table.o
 obj-$(CONFIG_RTW88_8723DE)     += rtw88_8723de.o
 rtw88_8723de-objs              := rtw8723de.o
 
+obj-$(CONFIG_RTW88_8821C)      += rtw88_8821c.o
+rtw88_8821c-objs               := rtw8821c.o rtw8821c_table.o
+
+obj-$(CONFIG_RTW88_8821CE)     += rtw88_8821ce.o
+rtw88_8821ce-objs              := rtw8821ce.o
+
 obj-$(CONFIG_RTW88_PCI)                += rtw88_pci.o
 rtw88_pci-objs                 := pci.o