How to port rtl8xxxu to new device...?

From: Alex Dewar
Date: Sun Jan 17 2021 - 12:59:02 EST


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.

I've managed to get as far as reading and writing to various registers
as part of the device setup, but the dongle appears to crash at the
downloading firmware stage. At the moment it just feels like I'm
changing random bits and pieces to see what happens. I'm using this
downstream driver for reference: https://github.com/RinCat/RTL88x2BU-Linux-Driver

Does anyone know of any documentation or anything that could be useful
for working on this?

Best,
Alex