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

1110 Commits

Author SHA1 Message Date
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
Carlos Garcés
4df235b3d6
Fix travis build 2020-06-15 22:52:45 +02:00
Christian Bremvåg
df2b8dfd8c
Update README.md 2020-05-29 02:57:40 +02:00
Christian Bremvåg
fc0194c1d9
Merge pull request #644 from 1Jeff1/HW17ACU
Add support for Hawking HW17ACU
2020-05-20 09:23:31 +02:00
Christian Bremvåg
bc60f424e5
Merge pull request #649 from llccd/v5.6.4.2
Fix kernel hang with active keepalive disabled
2020-05-20 09:23:14 +02:00
llccd
ac96d9daba
Fix kernel hang with active keepalive disabled 2020-05-20 15:19:33 +08:00
Jeff Collins
89722019ea
Add support for Hawking HW17ACU
Add support for Hawking HW17ACU (RTL8814AU)

Signed-off-by: Jeff Collins <jeffcollins9292@gmail.com>
2020-05-16 04:06:57 -04:00
Christian Bremvåg
dff6a65091
Merge pull request #642 from TheDJVG/v5.6.4.2
Bugfix: Phy cannot be moved into another namespace
2020-05-09 11:13:56 +02:00
Daan van Gorkum
761f1d94a5
Bugfix: Phy cannot be moved into another namespace
When CONFIG_NET_NS is enabled one would assume the device can be
moved into another namespace. Currently it will fail with:

command failed: Operation not supported (-95)

There's a check if the kernel is between 2.6.38 and 3.0.0
before it adds the netns flag to wiphy->flags.

With this commit it will always add the netns flag when
CONFIG_NET_NS is enabled.

Signed-off-by: Daan van Gorkum <djvg@djvg.net>
Fixes: https://github.com/aircrack-ng/rtl8812au/issues/518
2020-05-09 16:07:59 +08:00
Christian Bremvåg
64ba0b538c
Merge pull request #622 from CGarces/patch-1
Update Travis CI configuration
2020-04-26 01:58:26 +02:00