Commit Graph

398 Commits

Author SHA1 Message Date
kimocoder
96b013c38a Possible fix for iwd crash 2023-05-01 22:05:27 +02:00
Asuki Kono
7d8f12970d
Add 056E:4010 for elecom device 2023-04-13 16:23:45 +09:00
gluker
42a0c86d1a Adopt patch for 5.x kernel warning dump 2023-04-02 06:41:44 +03:00
gluker
0445b2ba0a Fix compiler (rtw_br_ext.c:969:11) and kernel (net/wireless/sme.c:843) warnings 2023-04-02 04:56:03 +03:00
Christian Bremvåg
e9699df823
Merge pull request #1053 from astsam2/v5.6.4.2
Fix control channel frequency in the cfg80211_rtw_get_channel() for 40 MHz channels
2023-03-13 23:29:06 +01:00
kimocoder
47edc1bddf Add kernel v6.3 support 2023-03-13 23:28:34 +01:00
Sergei Makarenkov
a278842835 Fix control channel frequency in the
cfg80211_rtw_get_channel() for 40 MHz channels
2023-03-13 15:28:39 +03:00
Christian Bremvåg
d98018d038
Merge pull request #1034 from eusafe/dev
added RHEL_RELEASE_VERSION 8
2023-02-03 22:23:42 +01:00
GeorgeBannister
e1e4ebd3ef fix cfi trip from rtw_xmit_entry 2023-01-26 14:37:56 +00:00
GeorgeBannister
92c313c3b1 fix cfi trip from usb_recv_tasklet 2023-01-25 11:02:40 +00:00
Evgeny
a070fd98f6 added RHEL_RELEASE_VERSION 8 2022-12-22 16:59:33 +03:00
5kft
1d83c0d457 Add kernel 6.1 support
Co-authored: Rudi Heitbaum <rudi@heitbaum.com>
Signed-off-by: 5kft <5kft@users.noreply.github.com>
Signed-off-by: Rudi Heitbaum <rudi@heitbaum.com>
2022-10-18 09:37:16 +00:00
kimocoder
e7a4a390cc Fix build error for AOSP kernel v5.10 2022-08-27 03:19:03 +02:00
kimocoder
d809a0b3d7 Add switch for VIF (vintf) support 2022-08-27 03:16:26 +02:00
kimocoder
2aafb1ead6 Add some Android fixes 2022-08-27 03:10:39 +02:00
Rudi Heitbaum
c65315c178 Add kernel 5.19.2 support 2022-08-19 10:59:57 +00:00
Rudi Heitbaum
3854a61113 Add kernel 6.0 support 2022-08-15 13:35:43 +00:00
kimocoder
9590d7e626 Remove more Windows code 2022-06-06 03:31:23 +02:00
Christian Bremvåg
2fcc00bbb3
Merge pull request #961 from Reflexe/v5.17.5
Fix compilation issues with 5.17 (archlinux)
2022-06-06 03:21:14 +02:00
kimocoder
41532e3b16 Add kernel 5.18 support 2022-06-06 02:50:32 +02:00
Shmuel H
a7e64bafd4 linux: proc: use pde_data instead of PDE_DATA in >=5.17 2022-05-07 19:38:51 +03:00
Shmuel H
5bb4bffa97 linux: set netdev macaddr using dev_addr_set
dev_addr is const now, therefore, we have to use dev_addr_set
in order to modify it.
2022-05-07 14:30:47 +03:00
kimocoder
37e27f9165 Small code cleanup 2022-03-05 02:57:48 +01:00
heitbaum
7e61ad89cc rtl8812au: Fix code for kernel 5.17 API change
Signed-off-by: Rudi Heitbaum <rudi@heitbaum.com>
2022-02-09 13:40:47 +00:00
kimocoder
3a6402e9e7 Fix for kernel v3.20 2021-12-12 22:40:54 +01:00
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