1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-11-22 21:34:37 +00:00
Commit Graph

187 Commits

Author SHA1 Message Date
gluker
0445b2ba0a Fix compiler (rtw_br_ext.c:969:11) and kernel (net/wireless/sme.c:843) warnings 2023-04-02 04:56:03 +03:00
kimocoder
2aafb1ead6 Add some Android fixes 2022-08-27 03:10:39 +02:00
kimocoder
a116233ca6 Fix compile warning in rtw_sta_mgt.c 2022-06-06 03:11:24 +02:00
kimocoder
91d47c6982 Minor code cleanup 2022-06-06 03:01:42 +02:00
kimocoder
2f52f84096 Optimize kernel v5.15 support 2022-03-05 02:45:08 +01:00
heitbaum
7e61ad89cc rtl8812au: Fix code for kernel 5.17 API change
Signed-off-by: Rudi Heitbaum <rudi@heitbaum.com>
2022-02-09 13:40:47 +00:00
kimocoder
a72835df07 Fix (test) for IPX header on various distros 2021-12-12 22:34:13 +01:00
kimocoder
7bb51141de Fix kernel v5.15+ compiler warnings 2021-12-12 22:08:06 +01:00
Carlos Garcés
47a38b7c73 Fix kernel 5.15 compilation
Remove IPX support from driver, set as obsolete in Jan 2018.
IPX is not supported by the linux kernel since v5.15-rc1 see commit 6c9b40844751ea30c72f7a2f92f4d704bc6b2927
2021-10-10 12:39:42 +02:00
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