26 Commits

Author SHA1 Message Date
Christian Hewitt
a0ea387602 fix build for kernel 6.16.y
The from_timer macro was renamed in v6.16-rc1 commit 41cb08555c416 ("treewide,
timers: Rename from_timer() to timer_container_of()").

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
2025-06-21 08:22:29 +00:00
Dominik Wójt
7429675580 fix build for kernel 6.15 2025-04-29 20:26:05 +02:00
Carlos Garcés
e7954c912f Added compatibility with backported kernels.
Fix GLIBC_2.38 requirement for CI
GCC 12 is allready installed.
2024-01-21 11:34:48 +00:00
Giulio Benetti
c7bf7590bc Fix build failure on PowerPC64
get_ra() is defined in Linux kernel for PowerPC64 architecture and it
conflicts with local get_ra() definition so let's rename local definition
as rtl_get_ra().

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
2023-02-27 09:12:39 +01:00
Carlos Garces
b3da33576d Use kernel endian config
Remove custom vendor files.

Reviewed-by: Giulio Benetti giulio.benetti@benettiengineering.com
2022-10-30 10:07:54 +00:00
Carlos Garcés
40d703465a Cleanup memcpy warnings since 5.17 Introduce eth_hw_addr_set from 5.15 Port torvalds/linux@48eab83 Port torvalds/linux@6ed178c 2022-05-19 23:56:13 +03:00
Basel Sayeh
ab399f4196 support for getting mac-address from devicetree
This patch got removed when the source files
got updated to the newer version
2022-05-19 23:56:12 +03:00
Basel Sayeh
d000757015 4.15-5.17 fixes
Altough the changelog specifies that it is compatable
from 2.6 to 4.14, most patches for 5.2 are already
applied
2022-05-19 23:56:12 +03:00
Basel Sayeh
1443319fe6 Fixes prior to 4.15 2022-05-19 23:56:12 +03:00
Basel Sayeh
89992bce4a update version to v5.8.9_35085.20190919 2022-05-19 23:56:12 +03:00
Vyacheslav Bocharov
bf18197dda Add 5.17+ patch:
- PDE_DATA renamed to pde_data
- complete_and_exit() renamed to kthread_complete_and_exit
2022-03-28 12:38:54 +03:00
Carlos Garcés
f7d9efd207 Fix wireless regulatory API misuse (#55)
Fix wireless regulatory API misuse
Port of 81f153faac
Co-authored-by: andrés ramírez <aramirez@users.noreply.github.com>
2021-03-02 11:46:02 +00:00
Carlos
dce6414872 Fixed compilation errors on Kernel 5.8 rc-3
(cherry picked from rtl8189fs commit d7fe84da29)
Signed-off-by: Roman Stratiienko <r.stratiienko@gmail.com>
2020-10-02 16:41:53 +03:00
Icenowy Zheng
f6da92d3b2 drop annoying rtl8188e_iol_efuse_patch message when switching MAC
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
2018-10-20 12:19:42 +08:00
Icenowy Zheng
4b93d9e2cb introduce a date-based subversion for dkms update
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
2018-10-19 20:30:42 +08:00
Icenowy Zheng
14c234cd7e fix for 4.19
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
2018-10-19 20:29:46 +08:00
Icenowy Zheng
8c3acf9275 Update for kernel 4.15
This commit adds support for kernel 4.15, which changed the timer
interface.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
2017-12-20 21:10:08 +08:00
Rafał Markiewicz
9e94e6840c Fix build against kernel 4.11 2017-05-15 15:31:00 +02:00
Rafał Markiewicz
17ed4c21d9 Fix build against kernel 4.11 2017-05-05 16:40:39 +02:00
Hans de Goede
4eb4bf4675 Add support for getting mac-address from devicetree
When there is no mac address defines in the efuse / eeprom, then
try to get one from the devicetree. This allows to use a bootloader
set per device fixed mac-address based on e.g. the SoC serial number.

Note that previously the driver would assign a fixed mac-address
which was the same for all devices with no mac address in the
efuse / eeprom (BAD!).

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2016-07-08 20:44:12 +02:00
Larry Finger
a6d1997ffd rtl8723bs: Fix build with kernel 4.7
The definition of IEEE80211_NUM_BANDS and several other band-related
quantities are romoved in kernel 4.7.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2016-07-08 20:33:26 +02:00
Jean-Francois Moine
080f2aaf6b Fix debug helper functions
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2016-03-18 12:09:19 +01:00
Jean-Francois Moine
1d2357b312 Fix declaration of a bunch of inline functions
Properly mark these static inline to avoid symbol collisions when
linking.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2016-03-18 12:09:19 +01:00
Jean-Francois Moine
0967b53ca2 Replace file_path with rtw_file_path
file_path is a too generic name for a global variable.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2016-03-18 12:09:19 +01:00
Jean-Francois Moine
e6ee1ad72c Move some static buffer declarations from .h files to .c files
This avoids these buffers getting added to all .o files.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2016-03-18 12:09:19 +01:00
Jens Rehsack
52ee638811 Initially import rtl8189ES linux driver v4.3.18.1
Since the driver itself is licensed under GPLv2+, we can manage it in public git repository

Signed-off-by: Jens Rehsack <sno@netbsd.org>
2015-10-06 17:58:21 +02:00