1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-11-26 15:14:02 +00:00
Commit Graph

178 Commits

Author SHA1 Message Date
astsam
37d2ab4137 Fix error creating an access point below channel 36 2021-02-05 23:27:03 +03:00
astsam
5e61763585 Add low frequency 5GHz band 2021-01-29 23:27:17 +03:00
astsam
5e66b8754f Add missing 5GHz channels 2021-01-29 22:48:42 +03:00
astsam
46179742bd Allow inject management and control frames 2021-01-29 22:32:26 +03:00
Carlos Garcés
689bc8c1d1
Fix memory leak 2021-01-11 10:42:21 +01:00
Carlos
ee9619ba0c Fix kernel 5.10-rc1 2020-11-09 18:20:33 +00:00
kimocoder
07c704c0a7 radiotap tx support for injection 2020-09-20 01:33:08 +02:00
kimocoder
d4f1921d37 bugfix: report 48M not 46.5M 2020-09-20 01:19:31 +02:00
kimocoder
e90626b5c3 Fixed kernel v5.8 support 2020-08-16 18:45:23 +02:00
kimocoder
4b6c218e95 Fix multiple warnings when using clang 2020-07-12 03:44:51 +00:00
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