1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-11-10 08:07:05 +00:00
Commit Graph

364 Commits

Author SHA1 Message Date
KonstantIMP
1dfc05ad53
Add linux 5.12.x support
Kernel with version >= 5.12.x doesnt support GRO_DROP so the driver must be updated
2021-05-08 22:18:14 +03:00
KonstantIMP
9b4c60a89c Add linux 5.12.x support
Kernel with version >= 5.12.x doesnt support GRO_DROP so the driver must be updated
2021-05-08 22:14:57 +03:00
Christian Bremvåg
3a64331a1c
Merge pull request #847 from CGarces/patch-4
Remove rtl8822bu device
2021-05-04 14:27:41 +02:00
Carlos
e7e83f2593 Fix GRO_DROP deprecation kernel 5.12 2021-04-03 14:47:02 +00:00
Carlos Garcés
43eb4c1bb6 Remove rtl8822bu device 2021-04-03 14:16:30 +00:00
Carlos Garces
6fad44212d Remove duplicate USB IDs and sort the elements. 2021-03-06 18:21:10 +01:00
astsam
5e61763585 Add low frequency 5GHz band 2021-01-29 23:27:17 +03:00
astsam
5e66b8754f Add missing 5GHz channels 2021-01-29 22:48:42 +03:00
astsam
2e5088380c Add ability to get the current channel by iw utility, based on the patch provided by Ángel <kazimiro69@gmail.com> 2021-01-29 18:18:36 +03:00
Carlos Garcés
18453b4031
Fix cfg80211_ch_switch_started_notify on kernel 5.11-rc3
See 669b84134a
2021-01-11 11:21:29 +01:00
Carlos
ee9619ba0c Fix kernel 5.10-rc1 2020-11-09 18:20:33 +00: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
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
Martin Kennedy
0138e832c1 bugfix: Wrap newer construct to allow build on kernel <4.18 2020-07-31 03:02:31 +00:00
Stefan Hummert
7b6ba9b308 added device Edimax EW-7611UCB (Realtek RTL8821AU) 2020-07-26 22:25:37 +02:00
kimocoder
4b6c218e95 Fix multiple warnings when using clang 2020-07-12 03:44:51 +00:00
kimocoder
e65b190ab7 Remove unused includes 2020-07-12 03:04:21 +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
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
Carlos
0a3f017fa4 Fix compilation error with 5-8-rc1
Remove EOL kernel
2020-07-10 11:23:31 +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
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
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
8b29c11f9b
Merge pull request #605 from stepheny/dev-v5.6.4.2
Minor fix
2020-03-31 01:54:47 +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
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
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
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
6ac6fc9530 rtw_cfgvendor: GFP_ATOMIC and GFP_KERNEL are of type u32 2020-02-01 09:24:50 +01:00
kimocoder
b3a4fa0b1b rtw_android: get_country_code needs additional flags parameter 2020-02-01 09:24:11 +01:00
kimocoder
856e392531 Some tweaks around the code 2020-02-01 09:04:01 +01:00
kimocoder
ec5a9c73e2 Some allround tweaks + removed a debug warning 2020-02-01 07:46:42 +01:00
kimocoder
038f1ea370 Minor cleanup/fix for kernel v4.20 support (get_monotonic_boottime) 2020-02-01 07:34:27 +01:00
kimocoder
19890f07a4 Restore 1mbps by default 2020-02-01 07:13:55 +01:00
Gavin Li
f5a29914e7
Avoid dereference of uninitialized pointer in rtw_ndev_notifier_call()
This should fix some of the crashes.
2020-01-24 16:32:51 -08:00
kimocoder
d7fe9809f4 Better handling of 'fallthrough's 2020-01-20 08:03:10 +01:00
kimocoder
34258e769f Fix: pcap_activate status -8 and pcap_activate status -1 2020-01-11 20:30:27 +01:00
Pawel Rozlach
600e73f36a Enable channels 36-48 for AP usage 2020-01-07 14:53:28 +01:00
65278 (Felix Wischke)
e1a4fd06f3 os_dep/linux/ioctl_linux.c: fix WIRELESS_EXT ifdefs 2019-12-20 12:28:48 +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
Emerson Pinter
a7b3892eed Fix support for TP-Link Archer T2U v3 2019-12-02 13:16:15 -03:00