]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
wifi: rtw89: Enable the new USB modules
authorBitterblue Smith <rtl8821cerfe2@gmail.com>
Mon, 30 Jun 2025 20:47:52 +0000 (23:47 +0300)
committerPing-Ke Shih <pkshih@realtek.com>
Fri, 4 Jul 2025 03:28:09 +0000 (11:28 +0800)
Enable compilation of the new rtw89_usb and rtw89_8851bu modules.

Tested mostly in station mode, and a little bit in AP mode.

Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/4968a9d5-02c8-4d35-a5ad-b75ece8f5d36@gmail.com
drivers/net/wireless/realtek/rtw89/Kconfig
drivers/net/wireless/realtek/rtw89/Makefile

index 205d7ecca7d7807229d1669c53024b959441296a..bd180f3369c344c1f15b2b808e0608f68bb42836 100644 (file)
@@ -17,6 +17,9 @@ config RTW89_CORE
 config RTW89_PCI
        tristate
 
+config RTW89_USB
+       tristate
+
 config RTW89_8851B
        tristate
 
@@ -49,6 +52,17 @@ config RTW89_8851BE
 
          802.11ax PCIe wireless network (Wi-Fi 6) adapter
 
+config RTW89_8851BU
+       tristate "Realtek 8851BU USB wireless network (Wi-Fi 6) adapter"
+       depends on USB
+       select RTW89_CORE
+       select RTW89_USB
+       select RTW89_8851B
+       help
+         Select this option will enable support for 8851BU chipset
+
+         802.11ax USB wireless network (Wi-Fi 6) adapter
+
 config RTW89_8852AE
        tristate "Realtek 8852AE PCI wireless network (Wi-Fi 6) adapter"
        depends on PCI
index c751013e811e8f539683c5190fa026fe2f2fd8b5..891e2d55c3350b7ccc49d91dbf3f1988e00286ab 100644 (file)
@@ -31,6 +31,9 @@ rtw89_8851b-objs := rtw8851b.o \
 obj-$(CONFIG_RTW89_8851BE) += rtw89_8851be.o
 rtw89_8851be-objs := rtw8851be.o
 
+obj-$(CONFIG_RTW89_8851BU) += rtw89_8851bu.o
+rtw89_8851bu-objs := rtw8851bu.o
+
 obj-$(CONFIG_RTW89_8852A) += rtw89_8852a.o
 rtw89_8852a-objs := rtw8852a.o \
                    rtw8852a_table.o \
@@ -81,3 +84,6 @@ rtw89_core-$(CONFIG_RTW89_DEBUG) += debug.o
 obj-$(CONFIG_RTW89_PCI) += rtw89_pci.o
 rtw89_pci-y := pci.o pci_be.o
 
+obj-$(CONFIG_RTW89_USB) += rtw89_usb.o
+rtw89_usb-y := usb.o
+