RTL8188EE monitor mode patch
Farhan Khan
khanzf at gmail.com
Thu Jun 7 00:12:16 UTC 2018
Hi all,
First ever patch submission, quite nervous. I have attached the diff
to this email. This is for the Realtek rtl8188ee PCI driver. Currently
only works in monitor mode and will receive wireless frames. I am very
interested in moving forward with getting read/write working.
Known bugs:
* Unloading the driver without bringing it down will result in a
kernel panic. This appears to be an issue with the firmware running
C2H code, and then attempting to write back to memory that was freed
by the kernel.
* Bringing the interface down, then back up will cause frames to
arrive in spurts or not at all. This behavior only seemed to start
after git commit 960c0f3d880f9767027c05614f2184ce4b93fa99. One
solution is to revert sys/dev/rtwn/pci/* to the previous state and the
issue appears to stop.
You will notice what appear to be a lot of hard-coded register values.
This is because I am basing this off of the Linux driver, and Realtek
does not provide any documentation on how their driver works.
My git repository is here: https://github.com/khanzf/freebsd
Please let me know if there are any bugs or problems that need to be remediated.
Thank you,
--
Farhan Khan
PGP Fingerprint: B28D 2726 E2BC A97E 3854 5ABE 9A9F 00BC D525 16EE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_rtl8188ee.diff
Type: text/x-patch
Size: 81226 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-wireless/attachments/20180606/fd02be27/attachment.bin>
More information about the freebsd-wireless
mailing list