[PATCH] mac80211: add support for rtw88_8822bu

Alexis Lothoré alexis.lothore at bootlin.com
Sun Oct 22 10:58:48 PDT 2023

Hello Hauke,

On 10/22/23 17:53, Hauke Mehrtens wrote:
> On 10/22/23 12:31, Alexis Lothoré wrote:
>> From: Alexis Lothoré <alexis.lothore at bootlin.com>
>> +    $(PKG_BUILD_DIR)/drivers/net/wireless/realtek/rtw88/rtw88_pci.ko \
>> +    $(PKG_BUILD_DIR)/drivers/net/wireless/realtek/rtw88/rtw88_usb.ko
>> +  AUTOLOAD:=$(call AutoProbe,rtw88_8822be rtw88_8822bu rtw88_8822ce
>> rtw88_8723de)
>>   endef
>>     define KernelPackage/rtl8723bs
> Currently this package only depends on PCI support, this also adds a dependency
> to USB.
> I think the beast approach is to split this into a core part with the
> rtw88_core.ko and the rtw88_88*.ko files, one package with rtw88_pci.ko and one
> with rtw88_usb.ko. Then you can install it on a system with only USB and on a
> system with only PCIe support.

Thanks for the review.
I have shot for the easy way of enabling this support since I did not dig a lot
in OpenWRT build system, but indeed, your suggestion sounds cleaner. I will take
a look at how to do this split properly and come back with a v2.

Kind regards,

> Hauke

Alexis Lothoré, Bootlin
Embedded Linux and Kernel engineering

More information about the openwrt-devel mailing list