Commit Graph

303 Commits

Author SHA1 Message Date
Carlos Garcés
a5ac6789a7
Merge pull request #342 from CGarces/kernel_6_9
Adapt to Kernel 6.9
2024-05-18 20:39:28 +02:00
Carlos Garcés
2fddeccf5a Adapted to Kernel 6.9
See b82730bf57
2024-05-18 16:30:08 +00:00
Carlos Garcés
27410641da
Merge pull request #340 from pbrochart/realtek-4.4.x
fix UBSAN: array-index-out-of-bounds
2024-05-07 17:59:33 +02:00
pbrochart
37600b1eaf fix UBSAN: array-index-out-of-bounds 2024-05-07 17:08:57 +02:00
Carlos Garcés
7ef8251854
Merge pull request #337 from etzngr/fix-build-for-kernel-6.8
Use device_driver directly in struct usb_driver for Kernel 6.8
2024-02-22 22:58:14 +01:00
Franz Eitzinger
166d1a4bb9 Use device_driver directly in struct usb_driver for Kernel 6.8
See 49a78b05d5
2024-02-22 22:08:04 +01:00
Carlos Garcés
3cffd844ec
Added compatibility with backported kernels. (#327) 2024-01-20 14:30:39 +01:00
Pascal Brochart
8668e7cfbd
Avoid field-overflowing memcpy() (#333) 2024-01-20 13:29:00 +01:00
Norbert Brondeau
94d6dfbe9d
Fix Build with Kernel 6.7 (#331)
* Fix Build with Kernel 6.7

* Update ioctl_cfg80211.c

...
2024-01-20 13:10:15 +01:00
Carlos Garcés
bca1d7eb80
Fix GLIBC_2.38 requirement for CI (#335) 2024-01-20 12:57:34 +01:00
Dmitry Geurkov
f2fc8af7ab
fix netif_napi_add Linux 6.1/6.3 execution issue (#321)
* fix netif_napi_add Linux 6.1/6.3 compile issue
2023-06-13 14:58:04 +02:00
Carlos Garcés
528ae31705
Merge pull request #315 from CGarces/kernel.6.3
Fix kernel 6.3
2023-03-13 18:12:21 +01:00
Carlos Garcés
94841bf289 Fix kernel 6.3
wifi: cfg80211: include puncturing bitmap in channel switch events
see b345f0637c
2023-03-13 17:07:40 +00:00
Carlos Garcés
9557ed2796
Merge pull request #311 from phpony/patch-1
Headers and kernel version match
2023-02-18 11:51:35 +01:00
Volkov Maksim
8e61537362
Headers and kernel version match
Small but useful note about headers and kernel version match
2023-02-17 17:49:50 +03:00
Carlos Garcés
aeed529c77
Merge pull request #305 from CGarces/fix_regresion
__nat25_add_pppoe_tag: fix regresion from #298
2022-12-25 20:29:34 +01:00
Carlos Garcés
d6e2af011d __nat25_add_pppoe_tag: fix regresion from #298 2022-12-25 19:13:28 +00:00
Carlos Garcés
f51fb0eaa8
Merge pull request #303 from edigaryev/fix-null-pointer-dereference
cfg80211_rtw_scan: fix NULL pointer dereference in Wi-Fi Direct logic
2022-12-25 20:08:26 +01:00
Nikolay Edigaryev
0043022f0c cfg80211_rtw_scan: fix NULL pointer dereference in Wi-Fi Direct logic 2022-12-09 12:03:36 +04:00
Konstantin Lebedev
a4a3f52912
fix: Waddress (#298)
* fix: Waddress
2022-11-30 11:38:53 +01:00
Carlos Garcés
f49a6c8ada
Merge pull request #296 from pterjan/realtek-4.4.x
Fix mistakes from 355a2df
2022-11-17 20:32:02 +01:00
Pascal Terjan
58b5ea9b36 Fix mistakes from 355a2df
This makes the driver work again for me
2022-11-16 11:56:52 +00:00
Carlos Garcés
23e06000d8
Merge pull request #293 from kylefmohr/realtek-4.4.x
Remove "$ " from code snippets for easier copy + pasting
2022-11-05 13:13:46 +01:00
Kyle Mohr
a79c959a11
Restore a couple of mistakenly deleted semicolons 2022-11-04 13:04:50 -05:00
Kyle Mohr
87f364be1c
Make commands copy+pastable 2022-11-04 13:02:15 -05:00
Carlos Garcés
982f7907c4
Merge pull request #291 from CGarces/update_beacon_fix
Fix update_beacon calls
2022-10-31 21:40:54 +01:00
Carlos Garcés
8051c5f3b3 Fix update_beacon calls
Error introduced at 3555bdb258
Also clean up validate_recv_ctrl_frame
Link: 797afdf248
Link aaa0bc19fa
2022-10-31 16:45:45 +00:00
Carlos Garcés
2181717490
Merge pull request #290 from CGarces/kernel_6.1
Fix kernel 6.1 compilation
2022-10-26 10:07:11 +02:00
Carlos Garcés
563780d2eb Fix kernel 6.1 compilation
wifi: cfg80211: Add link_id parameter to various key operations for MLO
wifi: cfg80211: Add link_id to cfg80211_ch_switch_started_notify()
net: drop the weight argument from netif_napi_add
random: convert get_random_int/long into get_random_u32/u64

Link: https://lore.kernel.org/r/20220722131143.3438042-1-quic_vjakkam@quicinc.com
Link: https://lore.kernel.org/r/20220722131143.3438042-2-quic_vjakkam@quicinc.com
Link: https://lore.kernel.org/r/20220730052643.1959111-4-quic_vjakkam@quicinc.com
Link: https://lore.kernel.org/r/20220927132753.750069-1-kuba@kernel.org

Link: e7a7b84e33
Link: de492c83ca
Link: c440408cf6
2022-10-25 19:15:54 +00:00
Carlos Garcés
8c722d1b95 New kernels needs GCC 12 2022-10-25 19:15:45 +00:00
Carlos Garcés
e39c4e7a66
Merge pull request #283 from CGarces/kernel_6
Fix build matrix for 5.15
2022-08-25 16:53:09 +02:00
Carlos Garcés
4dc937cb39 kernels 5.15 also need GCC 11.2
Fix error: unrecognized command-line option ‘-mharden-sls=all’
2022-08-21 11:28:43 +00:00
Carlos Garcés
28ec0cbf73 Merge branch 'igorpecovnik-realtek-4.4.x' into realtek-4.4.x 2022-08-21 11:13:12 +00:00
Igor Pecovnik
ec5c2446db Add support for Linux 5.19.2 and 6.0 2022-08-21 11:11:38 +00:00
Carlos Garcés
6ba1f32096
Merge pull request #272 from CGarces/fix_eth_hw_addr_set
eth_hw_addr_set: use memcpy
2022-05-22 13:12:51 +02:00
Carlos Garcés
b9cfa37026 eth_hw_addr_set: use memcpy
eth_hw_addr_set() replaces memcpy() calls so we can't use ether_addr_copy()
which assumes both arguments are 2-bytes aligned.

3f6cffb860
adeef3e321
2022-05-15 21:32:00 +00:00
Carlos Garcés
eeac05662a
Merge pull request #271 from CGarces/fix_ci
GCC 11.2 needed for kernel>=5.17. Updated Ubuntu
2022-05-14 15:26:32 +02:00
Carlos Garcés
f6ec28e32b GCC 11.2 needed for kernel>=5.17. Updated Ubuntu
Kernel packages are downloaded first to allow fail fast.
Removed workaround for libc6 (allready on 22.04 LTS).
Add additional code to skip executions for kernels >= 5.17 and GCC < 11.2.
2022-05-14 15:19:26 +02:00
Carlos Garcés
5484fbd00c
Merge pull request #267 from CGarces/kernel_518
Fix 5.18 compilation
2022-04-06 15:18:51 +02:00
Carlos Garcés
93e7ee5103 Remove unsused mm_segment_t structures 2022-04-06 14:14:57 +02:00
Carlos Garcés
047a8aefc4 Fix 5.18 compilation errors 2022-04-06 12:56:25 +02:00
Carlos Garcés
352330be93 Simplify 5.17 patch 2022-04-06 12:33:58 +02:00
Carlos Garcés
e0f967cea1
Merge pull request #265 from CGarces/kernel_517
Cleanup memcpy warnings from 5.17
2022-03-13 21:19:20 +01:00
Carlos Garcés
0f1952813c Cleanup memcpy warnings
Introduce eth_hw_addr_set from 5.15
Port 48eab831ae
Port 6ed178cb23
2022-03-13 13:26:14 +01:00
Carlos Garcés
73663d2bf6
Merge pull request #263 from heitbaum/517
rtl8192eu: Fix code for kernel 5.17 API change
2022-03-13 12:17:17 +01:00
heitbaum
5fb30bc593 rtl8192eu: Fix code for kernel 5.17 API change
Signed-off-by: Rudi Heitbaum <rudi@heitbaum.com>
2022-02-10 07:19:24 +00:00
Carlos Garcés
744bbe5297
Merge pull request #253 from CGarces/staging_cherrypick5
Adapted commits from staging area (5)
2021-10-23 14:09:02 +02:00
Carlos Garces
97bac22d5b Remove duplicate names for rtw_read[n] and rtw_write[n]
rtw_read[n]() is redefined as _rtw_read[n]() and PlatformEFIORead[n]Byte
Same for rtw_write[n]() furntions

Link: https://lore.kernel.org/r/9880c86c2aad7d95a714d8b03b28b83634f98c1e.1621361919.git-series.hello@bryanbrattlof.com
Link: https://lore.kernel.org/r/11458342572f21d9df58b3969ad1f16fdff157f4.1621361919.git-series.hello@bryanbrattlof.com
Link: https://lore.kernel.org/r/15956707341f76de683245c392063b8121a805ea.1621361919.git-series.hello@bryanbrattlof.com
Link: https://lore.kernel.org/r/35ffc9cd5af7009b317361033a6ca5263307d61a.1621361919.git-series.hello@bryanbrattlof.com
Link: https://lore.kernel.org/r/7d53fb295f67f01c72640045afb88150391bce35.1621361919.git-series.hello@bryanbrattlof.com
Link: https://lore.kernel.org/r/43917aee34e85139e613578cf6f14938211c8835.1621361919.git-series.hello@bryanbrattlof.com

Port of
51d4aa6d6bf35d85d318831df60a34bad27cdb9e
8ff74e4307b42302c89023faf8fd37dbde4c4666
16b1b3c8221a40bf899dfeebdb3d5245ecb65515
7f06caf9a40bb3c08fe86c8355ace25b7ce69ba9
1c42d72e4747fb546eba53821ae56ecf827202a7
4d6bfc6f62705ec5baee9c572d4ca03bc9e36c00
2021-10-23 11:09:24 +02:00
Carlos Garcés
99c0f78547 replace while with shorter for loop
Simplify rtw_get_rateset_len() by replacing the while loop
with a shorter for loop. Also replace tabs with spaces in
the definition line.
2021-10-23 10:33:02 +02:00
Carlos Garcés
879f617f82 Remove extern as it is defined but never used
RTW_WPA_VERSION is removed as is declared and defined but
never used in the code.
Port 2c4b2980ae16a2d8d35f126ddb9fbcba809e2612
2021-10-23 10:33:02 +02:00