On Sun, Jan 17, 2021 at 05:55:33PM +0000, Alex Dewar wrote: > Hi all, > > I'm currently trying to port the rtl8xxxu driver to RTL8822u chips (one > of which I own), but I'm finding it hard to figure out where to start > and I figured that some wiser minds could maybe help steer me in the > right direction. > Hi Alex, I am not very knowledgeable since I've only just started looking into adding support for some older Realtek USB adapters, but another starting point for adding rtl8822bu support might be the rtw88 driver, which is specifically built for rtl88xx chips and which has support for rtl8822be (which uses PCIe); in principle a lot of code can be shared between 8822b{e,u}. However, although rtw88 includes some structure to support USB devices in the future, this support hasn't been added yet. There is at least one project[0] that I've come across trying to add that support. I'm not sure how active this project is but it does look like they have some work in progress for rtl8822bu. Best, Geoffrey [0] https://github.com/ulli-kroll/rtw88-usb