morrownr / 88x2bu

Linux Driver for USB WiFi Adapters that are based on the RTL8812BU and RTL8822BU Chipsets
435 stars 74 forks source link

WiFi RTT/FTM Feature #57

Closed aaronhshi closed 2 years ago

aaronhshi commented 3 years ago

Hey Nick,

Quick question, according to WiFi Alliance, the RTL8812BU is capable of 802.11mc FTM. Would you happen to know if this driver supports it? Or if not, how I could go about trying to develop/implement this feature on this driver to get the RTL8812BU to either act as a FTM initiator or responder?

Thanks!

morrownr commented 3 years ago

Hey Aaron,

I do not know if this driver supports RTT/FTM. I am generally either trying to fix something specific or trying to add a capability which keeps me focused so it could be there. This does sound interesting, but it is not something I could take a deep look at anytime soon so I'll suggest some things:

  1. Do not waste coding time on this driver, as it is one of the non-standards compliant drivers that Realtek is famous for. However, there may be some good news and...

  2. I do recommend you look here....

https://github.com/torvalds/linux/tree/master/drivers/net/wireless/realtek/rtw88

...because code for this chipset is going in the kernel. Well, there is no usb support yet so don't get excited but if you want to help get that usb code in the kernel and practice on getting that RTT.FTM capability in the kernel go here...

  1. https://github.com/ulli-kroll/rtw88-usb

....as those guys are already working on the usb support. Work on #2 and #3 would not be wasted effort because those are standards compliant drivers.

Nick