1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-11-09 23:57:00 +00:00
Commit Graph

168 Commits

Author SHA1 Message Date
kimocoder
72f409d750 Fix a possible NUMM dereference 2020-07-12 01:17:12 +00:00
kimocoder
a6e3593c59 Fix outdated timer_init in BTCOEX routines 2020-07-12 00:50:47 +00:00
kimocoder
4339edf38f Add checks for p->length and remove some goto statements 2020-07-12 00:33:50 +00:00
Carlos
0a3f017fa4 Fix compilation error with 5-8-rc1
Remove EOL kernel
2020-07-10 11:23:31 +02:00
Mathy Vanhoef
849bbf0698 rtl8812a: add module parameter to retransmit injected frames
The reliability of some attacks is increased by letting the device
retransmit injected frames. Since it may not always be desired to
retransmit injected frames, add a module parameter to enable it
manually.

This was tested with an Alfa AWUS036ACH. Even when using a spoofed
sender MAC address, the retransmission behaviour is as expected.
That is, when an ACK frame towards the spoofed MAC address is received,
the retransmission will stop.
2020-06-26 16:23:46 +04:00
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
llccd
ac96d9daba
Fix kernel hang with active keepalive disabled 2020-05-20 15:19:33 +08:00
kimocoder
39e9af79d8 remove USB_PACKET_OFFSET_SZ 2020-03-07 23:01:53 +00:00
kimocoder
7240269e29 Minor cleanup. Finish merging code, for now. 2020-02-01 10:15:59 +01:00
kimocoder
856e392531 Some tweaks around the code 2020-02-01 09:04:01 +01:00
kimocoder
653b77ac20 Add a simple check to prevent kernel panics from nullptr dereferences 2020-02-01 07:21:46 +01:00
kimocoder
658d3a5168 Report correct band in RX radiotap 2020-02-01 07:17:49 +01:00
kimocoder
19890f07a4 Restore 1mbps by default 2020-02-01 07:13:55 +01:00
kimocoder
2d29bdded9 Add xmit alloc retry 2020-02-01 07:06:42 +01:00
kimocoder
428454364a Add support for kernel v5.4 2020-01-20 08:00:34 +01:00
kimocoder
34258e769f Fix: pcap_activate status -8 and pcap_activate status -1 2020-01-11 20:30:27 +01:00
kimocoder
259dbca12b Fix a kernel 'oops' on adapter disconnect 2020-01-05 04:21:58 +01:00
kimocoder
57a2ce4f20 Revert: Test fix for latest kernel which changed 'asm' to 'asm_inline' 2019-12-17 22:28:41 +01:00
kimocoder
392109f98a Test fix for latest kernel which changed 'asm' to 'asm_inline' 2019-12-17 19:29:57 +01:00
int3l
a8d0fec8e0 Reintroduce: Added LED control
This commit is cherry-pick + refactoring of:
ff04a94b00
and
313311c14b

I'm not sure how this got lost in the latest version on GitHub (I guess merging issues).
But all credits go to @gordboy, @kimocoder and all the other authors.
2019-11-29 23:20:46 +02:00
kimocoder
b5f97c1696 Fixed 8821au (8811au) support, fixed fw bug. fixes #466 2019-11-14 20:37:13 +01:00
kimocoder
3116f1e01a Added more 'iw' output 2019-11-14 20:19:03 +01:00
kimocoder
82b14e8092 Fix alloc STA info 2019-11-14 19:58:52 +01:00
kimocoder
0c23551874 Cleanup wrong commit earlier 2019-11-14 04:33:12 +01:00
kimocoder
506f1e3c11 Added frame injection capabilities (tested working) 2019-11-14 03:11:57 +01:00
kimocoder
83e1baa6c1 Don't place signal strength into radiotap header if not available 2019-11-14 02:03:02 +01:00
kimocoder
1da67a59f8 Place signal quality and per antenna rssi into radiotap header 2019-11-14 01:58:06 +01:00
kimocoder
ecd3fdea37 Fix power savings breaking monitor mode 2019-11-13 21:20:04 +01:00
kimocoder
10bb71aafb Fix FCS on 8812 and 8814 2019-11-13 21:16:57 +01:00
kimocoder
ee2beb3494 Count injected frames in interface stats 2019-11-13 20:06:59 +01:00
kimocoder
017cc7d842 Fixed scan timeout interfering with normal scan 2019-11-13 16:57:08 +01:00
kimocoder
8e0a042805 Disable messages about power save in Monitor mode 2019-11-13 16:23:44 +01:00
kimocoder
7ad5618762 Fix build support to older GCCs by adding fallthroughs 2019-11-11 04:07:55 +01:00
kimocoder
968d16bb56 Fox a kernel trace with hostapd + A minor tweak to 'dkms-install.sh' 2019-11-11 03:29:02 +01:00
kimocoder
54ed666a16 Fix radiotap header for 8814au chipset 2019-11-11 02:36:13 +01:00
kimocoder
8eec8cd4a3 Some overall fixes.. includes + various 2019-11-11 02:04:51 +01:00
kimocoder
2fb4e08249 Fixed build/compile error + some compiler warnings + minor cleanup 2019-11-11 01:04:53 +01:00
Christian Bremvåg
3d109826af
rtw_security: tidy up crc32_init() 2019-11-10 15:05:48 +01:00
Christian Bremvåg
72f45df5ff
Fix a few sleep-in-atomic-context bugs in rtw_pwrctrl 2019-11-10 14:49:56 +01:00
Christian Bremvåg
274ccd7053
Fix a sleep-in-atomic-context bug in issue_deauth_ex() 2019-11-10 14:37:07 +01:00
kimocoder
7c9ab6fe6f Add a bunch of VID/PID's + Add 8814/8821AU support 2019-11-09 18:53:04 +00:00
kimocoder
bc95c21031 Some Makefile updates + other minor fixes 2019-10-31 01:43:41 +01:00
root
65b4d276b1 Upload v5.6.4.2 2019-10-30 23:08:53 +00:00
kimocoder
90d03c245c Fixed 2 warnings on Ubuntu 2019-09-27 23:18:20 -07:00
kimocoder
4fe60d92e5 Fix errors from all patches added earlier 2019-09-19 21:05:00 +02:00
kimocoder
72555281a8 Add support for getting mac-address from devicetree 2019-09-19 15:49:01 +00:00
kimocoder
bb94a25ef6 fix country setting and update vhc configure and rate fix (part 2) 2019-09-19 15:19:15 +00:00
kimocoder
9e6fd2455c fix country setting and update vhc configure and rate fix (part 1) 2019-09-19 14:18:39 +00:00
kimocoder
dec5aaf128 Protect against pfhdr NULL 2019-09-19 14:14:33 +00:00
kimocoder
908f8a9fc5 Cleanup of unused / unsupported chipsets 2019-08-24 08:07:50 +02:00