1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-11-26 07:04:12 +00:00
Commit Graph

1269 Commits

Author SHA1 Message Date
kimocoder
0f4e46f0fd Turned 8814au chipset OFF 2020-10-19 05:43:38 +02:00
Christian Bremvåg
958bb8da98
Merge pull request #753 from payano/v5.6.4.2
Makefile: escape grep in DRIVER_VERSION variable
2020-10-16 14:37:43 +02:00
Johan Svensson
f9efa3a228 Makefile: escape grep in DRIVER_VERSION variable 2020-10-16 14:16:35 +02:00
kimocoder
280137863b Makefile: simplify DKMS install/removal 2020-10-09 23:31:24 +00:00
Christian Bremvåg
4a6d10f943
Makefile: Simplify DKMS install/remove 2020-10-10 01:29:24 +02: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
Christian Bremvåg
006c821ae8
Merge pull request #713 from 5kft/v5.6.4.2-fix-kconfig
fix Kconfig compatibility for kernel v5.9
2020-08-29 19:50:52 +02:00
5kft
df79a51e38
fix Kconfig compatibility for kernel v5.9 2020-08-29 10:04:21 -07:00
Christian Bremvåg
f4d84c9655
Merge pull request #699 from 5kft/chandef-init-fix
bugfix: initialize cfg80211_chan_def structure to zero to fix nl80211…
2020-08-16 22:21:55 +02:00
kimocoder
06aa361b5b Update dkms.conf version 2020-08-16 18:52:55 +02:00
kimocoder
e90626b5c3 Fixed kernel v5.8 support 2020-08-16 18:45:23 +02:00
5kft
29d1cdde8b
bugfix: initialize cfg80211_chan_def structure to zero to fix nl80211_send_chandef kernel trap 2020-08-09 06:57:22 -07:00
Christian Bremvåg
0df6a65815
Merge pull request #689 from Hurricos/v5.6.4.2
bugfix: Wrap newer construct to allow build on kernel <4.18
2020-08-01 02:53:40 +02:00
Christian Bremvåg
5f39eabf71
Merge pull request #681 from Roman3349/fix-cross-compilation
Fix cross compilation
2020-08-01 02:53:09 +02:00
Martin Kennedy
0138e832c1 bugfix: Wrap newer construct to allow build on kernel <4.18 2020-07-31 03:02:31 +00:00
Christian Bremvåg
39f3403748
Merge pull request #684 from Donneker/v5.6.4.2
added device Edimax EW-7611UCB (Realtek RTL8821AU)
2020-07-26 22:30:10 +02:00
Stefan Hummert
7b6ba9b308 added device Edimax EW-7611UCB (Realtek RTL8821AU) 2020-07-26 22:25:37 +02:00
Roman Ondráček
b03bd4bc8d
Fix cross compilation
Signed-off-by: Roman Ondráček <ondracek.roman@centrum.cz>
2020-07-23 20:14:40 +02:00
kimoc0der
9ec3a13fc8 Fix a Makefile issue 2020-07-15 21:49:55 +02:00
kimocoder
afb5c175f7 Implement simple transmit power boost and override 2/2 2020-07-12 07:05:52 +00:00
Christian Bremvåg
c36640cba0
Implement simple transmit power boost and override 2020-07-12 08:48:44 +02:00
kimocoder
5323c746dc Update Travis CI to add GCC-10 2020-07-12 06:37:22 +00:00
kimocoder
8da5086a5a Removed 'bc' from dependencies 2020-07-12 06:24:13 +00:00
kimocoder
b79883bf58 Some minor optimizations 2020-07-12 05:34:24 +00:00
kimocoder
b6ff9e4153 Get rid of few compiler warnings 2020-07-12 03:51:29 +00:00
kimocoder
52f38dd384 -frename-registers is already in -O3 2020-07-12 03:46:32 +00:00
kimocoder
4b6c218e95 Fix multiple warnings when using clang 2020-07-12 03:44:51 +00:00
kimocoder
b3bf74abe3 Fix wrong header guards - found by clang 2020-07-12 03:35:14 +00:00
kimocoder
57c7564a86 Optimize kernel includes 2020-07-12 03:17:32 +00:00
kimocoder
e65b190ab7 Remove unused includes 2020-07-12 03:04:21 +00:00
Christian Bremvåg
cddf06aa39
Fix build when CONFIG_USB_SUSPEND is defined 2020-07-12 04:23:08 +02:00
kimocoder
bff1fe3fe3 Minor cleanup 2020-07-12 02:20:09 +00:00
Christian Bremvåg
d6607fe168
Fix implicit declaration of ‘rtw_resume_process’ 2020-07-12 04:09:34 +02:00
kimocoder
156e96fe9b Add Travis check for GCC-10 2020-07-12 01:35:23 +00:00
kimocoder
660bcb86da rtl8814a: do not overwrite sequence number of injected frames 2020-07-12 01:31:23 +00:00
kimocoder
72f409d750 Fix a possible NUMM dereference 2020-07-12 01:17:12 +00:00
kimocoder
8a9ae52aea Return zero length output to SIOCGIWESSID when not connected 2020-07-12 01:11:40 +00:00
kimocoder
c2668290e3 Allow a little extra size for rtw_hostapd_ioctl() packets 2020-07-12 01:07:28 +00:00
kimocoder
8d4ac74d47 Let the linker optimize things as it thinks is best 2020-07-12 01:00:31 +00:00
kimocoder
a6e3593c59 Fix outdated timer_init in BTCOEX routines 2020-07-12 00:50:47 +00:00
kimocoder
b742160fba Modify makefile to handle empty INSTALL_MOD_PATH 2020-07-12 00:40:48 +00:00
kimocoder
cd02bae0a0 Fix connection on resume when CONFIG_ANDROID enabled 2020-07-12 00:38:06 +00:00
kimocoder
4339edf38f Add checks for p->length and remove some goto statements 2020-07-12 00:33:50 +00:00
Christian Bremvåg
058ef814b8
Merge pull request #673 from CGarces/kernel_5.9
Fix compilation error with 5-8-rc1
2020-07-10 11:55:50 +02:00
Carlos
0a3f017fa4 Fix compilation error with 5-8-rc1
Remove EOL kernel
2020-07-10 11:23:31 +02:00
Christian Bremvåg
58f6be25f7
Merge pull request #657 from CGarces/patch-1
Fix travis build
2020-06-26 14:40:45 +02:00
Christian Bremvåg
cb2fb9a36a
Merge pull request #661 from vanhoefm/v5.6.4.2
rtl8812a: do not overwrite sequence number of injected frames & control retransmission behaviour
2020-06-26 14:39:40 +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