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

1139 Commits

Author SHA1 Message Date
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
Carlos Garcés
b85fc8ba5f Update Travis CI configuration
Updated with all kernels from https://www.kernel.org/
Kernel mainline and last stable version fetch from kernel.org instead of hardcode it.
Fixed minor warnings on Travis configuration.
Simplified URL extraction
Removed GCC-6 from build matrix.
Reintroduced GCC-7. Updated to 7.5
Added cchache to improve build times.
2020-04-23 14:30:23 +02:00
Christian Bremvåg
8b29c11f9b
Merge pull request #605 from stepheny/dev-v5.6.4.2
Minor fix
2020-03-31 01:54:47 +02:00
Christian Bremvåg
1269760df7
Merge pull request #599 from qbarnes/rhel8
Add RHEL 8 support and support for possible work on future RHEL releases
2020-03-31 01:50:56 +02:00
Stephen.Y
5d432cd6e2 Minor fix 2020-03-31 07:32:54 +08: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
be92ddcdb2 Merge branch 'v5.6.4.2' of https://github.com/aircrack-ng/rtl8812au into v5.6.4.2 2020-03-13 19:27:12 +01:00
kimocoder
25fc708837 Removed keep alive flags to solve sta disconnections every 30s 2020-03-13 19:26:37 +01:00
Christian Bremvåg
6baab05a15
Update .travis.yml 2020-03-13 17:11:53 +01:00
kimocoder
ee0645348d Update NVidia Jetson platform support 2020-03-13 17:10:22 +01:00
kimocoder
5484970659 Fix some compiler errors 2020-03-08 19:53:37 +01:00
kimocoder
19398a4630 Add kernel v5.6 support 2020-03-08 06:16:31 +00:00
Christian Bremvåg
1bf08b78b1
Update wifi_regd.c 2020-03-08 05:12:54 +01:00
Christian Bremvåg
482064bbd9
Merge pull request #561 from yshui/v5.6.4.2
Makefile: keep the old driver name
2020-03-08 04:30:48 +01:00
kimocoder
85f47a6c3a remove some testchip macros 2020-03-08 00:16:05 +00:00
kimocoder
da4b1aef7a remove testchip support 2020-03-08 00:10:02 +00:00
kimocoder
86d2fd5519 remove unused PWR LIMITs 2020-03-07 23:41:52 +00:00
kimocoder
bc8c3071c0 mark unused PWR LIMITs 2020-03-07 23:31:07 +00:00
kimocoder
479a4cb546 remove unused PGs 2020-03-07 23:28:00 +00:00
kimocoder
24ba6068a9 mark unused PGs hidden 2020-03-07 23:15:49 +00:00
kimocoder
39e9af79d8 remove USB_PACKET_OFFSET_SZ 2020-03-07 23:01:53 +00:00
kimocoder
ea9aade289 remove rtw_cfgvendor support 2020-03-07 22:56:09 +00:00