Commit Graph

1226 Commits

Author SHA1 Message Date
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
Yuxuan Shui
f5ae110db4 Makefile: keep the old driver name
A bug exists in this driver that deadlocks the kernel when a net interface
managed by this driver is deleted. iwd uses the driver name
(specifically, if the driver name is "rtl88*") to figure out if it needs
to enable a workaround for this problem.

Commit fa35b99b42 changed driver name to
"88XXau" for seemingly no reason, causing this driver to be unusable for
a lot of users.

This commit changes the driver name back.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2020-02-14 16:27:47 +00:00
Christian Bremvåg
945d6ed650
Update .travis.yml 2020-02-04 17:20:31 +01:00
Christian Bremvåg
1877871420
Merge pull request #554 from justinvforvendetta/v5.6.4.2
less chars
2020-02-04 12:54:39 +01:00
sunerok
d24d7a74ee
less chars
shorten lib install
2020-02-03 13:59:13 -05:00
kimocoder
7240269e29 Minor cleanup. Finish merging code, for now. 2020-02-01 10:15:59 +01:00
kimocoder
e68310ce0d Use for RTL8814A chip (AWWD-165) 2020-02-01 09:55:13 +01:00
kimocoder
4a9bfab398 Silence the #pragma CLANG fixes (Android) 2020-02-01 09:34:33 +01:00
kimocoder
a1e42b5518 phydm_ccx: Fix implicit enum conversion 2020-02-01 09:29:07 +01:00
kimocoder
62b8b0fc70 Makefile: Ignore more non-critical warnings 2020-02-01 09:28:21 +01:00
kimocoder
c1b3600035 rtl8812a_phycfg: Workaround for clang bug 42576 2020-02-01 09:27:35 +01:00
kimocoder
ffd45bc496 phydm_math_lib: Remove useless assignment 2020-02-01 09:26:25 +01:00
kimocoder
6059390bcf hal_led: Explicitly convert RTW_LED_OFF to enum type LED_CTL_MODE 2020-02-01 09:25:43 +01:00
kimocoder
6ac6fc9530 rtw_cfgvendor: GFP_ATOMIC and GFP_KERNEL are of type u32 2020-02-01 09:24:50 +01:00