Larry Finger
cb854ca647
rtl8188eu: Fix builds through kernel 6.1
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2022-11-28 14:44:00 -06:00
Larry Finger
ca2465c497
rtl8188eu: Fix Makefile to create directory for module
...
If a kernel is being used that generates no drivers in the
/lib/modules/$(KVER)/kernel/drivers/net/wireless directory, the installation
will fail. The fix is to generate that directory if it is not present.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2022-01-10 13:05:45 -06:00
Larry Finger
b9cb76ce66
rtl8188eu: Fix build on kernel 5.16
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2021-12-21 15:10:08 -06:00
lwfinger
5e453c775a
Merge pull request #389 from fzuuzf/v4.1.8_9499
...
Fixes for 4.19 kernel and Makefile tweak
2021-12-11 12:31:48 -06:00
Karsten Wiese
233a5d2ca6
rtl8188eu: Tweak Makefile for easier cross compilation
...
Make KVER assignment optional. If an environment variable KVER exists
it is used 'as is'.
2021-12-11 17:25:32 +01:00
Karsten Wiese
667ab7a45f
rtl8188eu: Compile fix for kernel versions from 4.18 to 4.20
...
The #access_ok macro has two arguments starting from kernel 5.0.
2021-12-11 17:17:51 +01:00
Karsten Wiese
0f6d12e144
rtl8188eu: Fix "fix some UBSAN and kmalloc warnings"
...
This fixes
commit 4a73c76f02
Author: Larry Finger <Larry.Finger@lwfinger.net>
Date: Mon May 10 10:25:47 2021 -0500
rtl8188eu: fix some UBSAN and kmalloc warnings
For LINUX_VERSION_CODE < KERNEL_VERSION(5, 8, 0).
The function argument 'upd' only exists, if
LINUX_VERSION_CODE >= KERNEL_VERSION(5, 8, 0),
hence move the 'if' block reading 'upd' inside the
'#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 8, 0))' macro guard.
2021-12-11 17:03:43 +01:00
Larry Finger
c708301cca
rtl8188eu: Update README.md
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2021-08-10 13:17:13 -05:00
Larry Finger
4a73c76f02
rtl8188eu: fix some UBSAN and kmalloc warnings
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2021-05-10 10:25:47 -05:00
Larry Finger
99a60df1f5
rtl8188eu: Fix builds for old and new kernels
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2021-04-09 16:34:42 -05:00
Larry Finger
8118ea20d7
rtl8188eu: Fix build errors with later kernels
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2020-10-26 11:35:16 -05:00
Larry Finger
8a85ada630
rtl8188eu: Update README.md and Makefile
...
I will no longer support the download of zip versions for the source.
whenever there is any change in the source, the user must redo the
entire download and unpacking. This sequence is a lot more complicated
that a simple 'git pull', thus the user skips that step and I have to
deal with complaints about a problem I have already fixed. Now, the
make operation will fail with an error.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2019-11-04 15:47:42 -06:00
Larry Finger
49e792766b
rtl8188eu: Fix build for kernel 5.0 and newer
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2019-10-16 11:47:29 -05:00
Larry Finger
77148c3879
rtl8188eu: Add TP-Link TL-WN727N v5.21
...
This info provided by kakash1hatake.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2019-10-16 11:06:10 -05:00
Larry Finger
d27018debd
rtl8188eu: Fix breakage of build for kernels older than 4.18
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2019-10-08 13:41:32 -05:00
lwfinger
ff948555a4
Merge pull request #289 from yevfast/dev-yevfast-v4.1.8_9499-memory-fix
...
cfg80211: Fixed unallocated stats
2019-09-10 14:16:10 -05:00
lwfinger
a7c9cf86b0
Merge pull request #290 from yevfast/dev-yevfast-v4.1.8_9499-yocto
...
Added yocto bitbake recipe for V4.1.8 9499
2019-09-10 14:14:32 -05:00
Yevhen Fastiuk
5f2c143ca2
cfg80211: Fixed unallocated stats
2019-09-10 18:49:47 +03:00
Yevhen Fastiuk
26cb6f682b
Yocto: Added bitbake recipe
2019-09-10 12:01:41 +03:00
Yevhen Fastiuk
d1e206d2c5
Yocto: Fixed targets for yocto build
2019-09-10 11:53:31 +03:00
MilhouseVH
77471b4361
rtw_select_queue signature change in 4.19-rc1
...
Ref: 4f49dec907
2018-08-30 13:26:12 -05:00
MilhouseVH
5a6d034565
IEEE80211_MAX_AMPDU_BUF is bumped in 4.19-rc1 - avoid redefine warning
...
Ref: b8042b3da9
2018-08-30 13:24:13 -05:00
Larry Finger
242c9f54cc
rtl8188eu: Fix some checkpatch warnings
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-08-30 13:19:58 -05:00
Larry Finger
0b659bd591
rtl8188eu: Fix problem where device is not up on module load
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-05-05 14:11:22 -05:00
Larry Finger
bc8ca96401
rtl8188eu: Fix out-of-bounds reference
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-04-11 10:30:23 -05:00
Larry Finger
594a5a050d
rtl8188eu: Fix builds for branch v4.1.8_9499 for newer kernels
...
These changes allow builds up through kernel 4.16.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-04-11 10:19:48 -05:00
Larry Finger
10737c73b1
Merge branch 'v4.1.8_9499' of http://github.com/lwfinger/rtl8188eu into v4.1.8_9499
2018-03-14 10:45:52 -05:00
Larry Finger
add1bba8bc
rtl8188eu: Fix some build problems
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-03-14 10:45:07 -05:00
lwfinger
c459fddba4
Merge pull request #230 from alfa-jpn/fix/device_id
...
Update some device ids of v4.1.8
2017-10-25 10:46:25 -05:00
alfa-jpn
f419d3c50c
Adopt device ids from master.
2017-10-25 13:13:06 +09:00
Larry Finger
2d546792fc
rtl8188eu: Fix build for kernel 4.7 and later
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2017-01-20 11:52:26 -06:00
Larry Finger
551ec1598c
rtl8188eu: The platform can never be ODM_MP
...
Remove that symbol.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2016-04-09 14:30:01 -05:00
Larry Finger
f8ec1962dd
rtl8188eu: Remove "enum ODM_RF_RADIO_PATH" and ODM_RF_PATH_x
...
These are already expressed as "enum rf_radio_path" and RF_PATH_x. Having
two definitions is ridiculous.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2016-02-14 20:14:42 -06:00
Larry Finger
2936b46458
rtl8188eu: Remove ODM_RF_PATH_MAX
...
This is always equal to RF_PATH_MAX.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2016-02-14 19:43:38 -06:00
Larry Finger
e1e88e1ceb
rtl8188eu: Remove MAX_RF_PATH
...
This symbol has the same value as RF_PATH_MAX.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2016-02-14 19:39:28 -06:00
Larry Finger
b8bfb4c958
rtl8188eu: Remove symbol MAX_RF_PATH_NUMS
...
This one is always equal to RF_PATH_MAX.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2016-02-14 19:34:21 -06:00
Larry Finger
37a56bca8b
rtl8188eu: Move arrays off stack in translate_scan()
...
A user has reported a stack overflow panic in this routine. This patch
removes at least 782 bytes from the stack.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2016-01-21 20:08:06 -06:00
Larry Finger
69faa02ea5
rtl8723bs: Remove second interface name
...
Only the RTL8192D chips have multiple interfaces per chip, thus
this logic has no value here.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-09-26 13:54:47 -05:00
Larry Finger
2601c36dd9
rtl8723bs: Remove rtw_chip_version as module parameter
...
This parameter might be useful when the original driver was developed,
but it is useless in production code.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-09-26 13:22:28 -05:00
Larry Finger
69fded9155
rtl8188eu: Cancel more timers on exit
...
A quick look shows the new ones have not been stopped.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-09-14 20:41:35 -05:00
Larry Finger
8ac0b5364d
rtl8188eu: Replace LONG variants with the standard uxx form
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-09-08 00:04:30 -05:00
Larry Finger
429924c7ed
rtl8188eu: Protect against pfhdr NULL
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-08-18 18:00:21 -05:00
Larry Finger
fc326e6a07
rtl8188eu: Remove CONFIG_WAKELOCK, CONFIG_HAS_EARLYSUSPEND, and CONFIG_ANDROID_POWER
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-08-17 10:23:46 -05:00
Larry Finger
549cb92f47
rtl8188eu: Remove CONFIG_INTEL_PROXIM
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-08-17 10:11:05 -05:00
Larry Finger
c010b6d78f
rtl8188eu: Add header
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-08-17 09:58:09 -05:00
Larry Finger
3a3339b715
rtl8188eu: Replace degub macro DBG_871X with DBG_88E
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-08-15 16:38:30 -05:00
Larry Finger
1e6accffc4
rtl8188eu: Remove wrapper routine rtw_get_current_time()
...
This wrapper can be replaced with jiffies.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-08-15 16:35:29 -05:00
Larry Finger
e6a0d110e4
rtl8188eu: Fix some instances where open bracket should be moved to previous line
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-08-15 16:21:55 -05:00
Larry Finger
11ab93f073
rtl8188eu: Remove double blank lines in core/*.h
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-08-15 13:44:41 -05:00
Larry Finger
51e6fae39e
rtl8188eu: Chnage "=NULL" to "= NULL"
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-08-15 13:31:56 -05:00