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

147 Commits

Author SHA1 Message Date
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
Quentin Barnes
1076705322 Add RHEL 8 support and support for possible work on future RHEL
releases.
2020-03-28 10:16:11 -05:00
kimocoder
25fc708837 Removed keep alive flags to solve sta disconnections every 30s 2020-03-13 19:26:37 +01:00
kimocoder
39e9af79d8 remove USB_PACKET_OFFSET_SZ 2020-03-07 23:01:53 +00:00
kimocoder
0d2331d052 Fix wrong header guards + Added Android ARM64 platform 2020-02-01 09:21:48 +01:00
kimocoder
856e392531 Some tweaks around the code 2020-02-01 09:04:01 +01:00
kimocoder
87ee8a2f44 Minor fix to kernel v4.19 support (IEEE80211_MAX_AMPDU_BUF_HT) 2020-02-01 07:29:23 +01:00
kimocoder
4b7b6ad3de Turn of AUTOSUSPEND 2020-02-01 07:22:29 +01:00
kimocoder
19890f07a4 Restore 1mbps by default 2020-02-01 07:13:55 +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
kimocoder
6e0c8f474a Some minor fixes around the code 2019-12-16 22:41:52 +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
75a5725e0b Added LED control 2019-11-29 11:03:59 +02:00
kimocoder
28a8d26f11 Fixes for compiling against OpenWRT tree 2019-11-18 16:12:51 +01:00
kimocoder
af1ffffa98 Added a kernel include 2019-11-14 20:25:23 +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
fa35b99b42 Implemented txpower control 2019-11-13 16:36:58 +01:00
kimocoder
ad32b0d9a8 A fix to avoid freeze on unplugging adapter 2019-11-11 02:54:47 +01:00
kimocoder
bcd541ad4d Fix for missing linux/sched/signal.h & linux/version.h 2019-11-11 02:48:45 +01:00
kimocoder
ce9a4551ce fix upstream AMPDU changes 2019-11-11 02:14:15 +01:00
kimocoder
8eec8cd4a3 Some overall fixes.. includes + various 2019-11-11 02:04:51 +01:00
kimocoder
4982019511 Fix most compiler warnings left (on Kali) 2019-11-11 01:32:23 +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
4fe60d92e5 Fix errors from all patches added earlier 2019-09-19 21:05:00 +02:00
kimocoder
51dbe24468 short GI is supported on all bands 2019-09-19 15:53:31 +00: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
fariouche
bedff3150b fixed init does not detect 8812 correctly because of unaligned enum values 2019-09-02 22:30:51 +02:00
kimocoder
908f8a9fc5 Cleanup of unused / unsupported chipsets 2019-08-24 08:07:50 +02:00
kimocoder
0bb520cbfa Some allround fixes (minors) 2019-08-24 05:57:54 +02:00
kimocoder
f515fca544 Remove rtw_ioctl_rtl.h & remove include 2019-08-24 03:36:38 +02:00
kimocoder
14204645d5 Nuke CONFIG_LOAD_PHY_PARA_FROM_FILE function 2019-08-24 02:18:32 +02:00
kimocoder
2b0fe0c95b Added support for NVIDIA Jetson Nano platform 2019-08-24 01:09:40 +02:00
kimocoder
f4bd60fbcd Rename autoconf.h include duo to kernels autoconf 2019-08-24 00:45:57 +02:00
kimocoder
c215cafcaa Cleaned out some Windows & FreeBSD code 2019-08-24 00:41:14 +02:00
kimocoder
bbe93fbd6d Fix compilation issues from earlier 2019-08-23 10:08:36 +02:00
kimocoder
df1b6776c7 Fix wrong PR that causes compile error 2019-08-19 22:30:30 +02:00
kimocoder
67b10d4ebf Change autoconf.h name and include 2019-08-18 18:44:41 +02:00
kimocoder
f1dfc49bdb Added support for NVIDIA Jetson Nano platform 2019-08-17 23:24:35 +02:00
kimocoder
548498f1d0 Added support for Neo2 (OpenWRT) platform 2019-08-17 19:21:50 +02:00
kimocoder
65e47eab43 Fix ieee80211.h linux capabilities 2019-08-17 14:32:08 +02:00
kimocoder
ab77d23e50 Fix compile issues introduced yesterday + more cleanup 2019-08-17 12:52:47 +02:00
kimocoder
33cd907df1 Just some minor permission fix PR 2019-08-17 00:11:15 +02:00
kimocoder
c2fd51ad82 Added kernel v5.3+ support - enjoy 2019-08-16 23:44:50 +02:00
kimocoder
4d95fe8727 Enable DFS for 5ghz support 2019-08-16 23:27:14 +02:00