1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-11-25 14:44:09 +00:00
rtl8812au/hal/rtl8812a/usb
Mathy Vanhoef 1b86121806 rtl8812a: do not overwrite sequence number of injected frames
The sequence number of inject frames was being overwritten. This prevents
certain older attacks against WEP fragmentation older TKIP attacks. Fix
this by tracking if a frames was injected in monitor mode, and if so, do
not overwrite its sequence number.

The patch also adds a module parameter to revert this behaviour if needed.
By setting rtw_monitor_overwrite_seqnum to 1, sequence numbers will again
be set by the driver/device. This may by useful if user-space relied on
the driver/device to set sequence numbers.

This patch was tested using an Alfa AWUS036ACH.
2020-06-26 09:27:54 +04:00
..
rtl8812au_led.c Uploading the v5.3.4 version 2018-08-24 22:52:34 +02:00
rtl8812au_recv.c Cloned gordboy's 8812au repo 2018-06-22 18:48:32 +02:00
rtl8812au_xmit.c rtl8812a: do not overwrite sequence number of injected frames 2020-06-26 09:27:54 +04:00
usb_halinit.c Add a bunch of VID/PID's + Add 8814/8821AU support 2019-11-09 18:53:04 +00:00
usb_ops_linux.c Upload v5.6.4.2 2019-10-30 23:08:53 +00:00