Commit graph

799 commits

Author SHA1 Message Date
Larry Finger
9d070c63c5 rtl8188eu: Remove CONFIG_IOCTL_CFG80211 from autoconf.h
This configuration option is now set in Makefile.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
_
2022-01-26 13:10:04 -06:00
Larry Finger
1944ad78ce rtl8188eu: Fix build with kernel 5.17
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2022-01-26 13:07:47 -06:00
Larry Finger
78df4f193d rtl8188eu: Add CONFIG_IOCTL_CFG80211 to Makefile
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2022-01-25 00:47:17 -06:00
Larry Finger
7ba3df1bcb rtl8188eu: Fix lockup on start
Kernel commit 51d62f2f2c50 ("cfg80211: Save the regulatory domain with a lock")
caused a lock dependency to the cfg80211 version of this driver. It is fixed by
moving the regulatory domain initialization call so that it is outside the lock
in the probe routine.

See https://github.com/lwfinger/rtl8188eu/issues/386 for further discussion.
Signed-off-by: Georg Mueller
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2022-01-15 11:42:34 -06:00
Larry Finger
a2c8a1deda rtl8188eu: Remove dead code associated with CONFIG_PLATFORM_INTEL_BYT
This variable is never defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2022-01-14 21:17:17 -06:00
Larry Finger
53ed527078 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:06:20 -06:00
Larry Finger
a1dbe3155c rtl8188eu: Fix build for kernel 5.15
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2021-10-18 16:13:42 -05:00
Larry Finger
99a65acdfc rtl8188eu: Simplify Makefile
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2021-07-22 19:45:13 -05:00
Larry Finger
5e6ddcda98 rtl8188eu: Flatten include/
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2021-07-22 19:37:03 -05:00
Larry Finger
43a72191f6 rtl8188eu: Flatten os_dep
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2021-07-22 19:19:25 -05:00
Larry Finger
e086df9ed1 rtl8188eu: Ftatten btc
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2021-07-22 19:04:09 -05:00
Larry Finger
4de1397841 rtl8188eu: Flatten hap/
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2021-07-22 18:57:16 -05:00
Larry Finger
81aeb84017 rtl8188eu: Flatten core
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2021-07-22 18:34:17 -05:00
Larry Finger
2e52830997 rtl8188eu: Flatten hal directory
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2021-07-22 12:55:23 -05:00
Larry Finger
07152ef10d rtl8188eu: Use CONFIG_PREEMPT_RT to select raw spin lock form for real-time kernels
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2021-03-23 19:32:46 -05:00
Larry Finger
6c792da5b8 rtl8188eu: Change locking in update_sta_info
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2021-03-23 10:33:18 -05:00
Larry Finger
d124526cf3 rtl8188eu: Another fix for RTL8188FU
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2021-03-20 13:17:43 -05:00
Larry Finger
fe4156ba5a rtl8188eu: Add RTL8188F support
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2021-03-20 13:05:41 -05:00
Larry Finger
8cb717bd63 rtl8188eu: Update some fixes
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2021-03-19 10:11:34 -05:00
Larry Finger
6d74135f34 rtl8188eu: Further cleanup of Makefile
Symbol CONFIG_RTL8188EU is only used in one place. Replace that usage with "m" and
delete the definition.

Symbol CONFIG_USB_HCI is not used. Delete it.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2021-03-04 13:00:47 -06:00
lwfinger
c1c7ce88cb
Merge pull request #364 from ukleinek/makefile-cleanup
Makefile cleanup
2021-03-04 12:55:16 -06:00
Uwe Kleine-König
6533925f01 rtl8188eu: Use make builtin variable CURDIR
This variable holds the current working directory and so is suitable to
be used instead of $(shell pwd).
2021-03-04 14:35:46 +01:00
Uwe Kleine-König
3686cfc4bd rtl8188eu: cleanup variables CONFIG_RTL8188EU and CONFIG_RTL8188E
The variable CONFIG_RTL8188E is unused so drop it, together with the
also unused cpp variable with the same name.

Then use CONFIG_RTL8188EU as a normal make variable in the kernel part
of the Makefile instead of exporting it in the default part of the
Makefile.
2021-03-04 14:35:28 +01:00
Larry Finger
e8b915a586 rtl8188eu: Fix build for ARM64
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2021-03-02 11:23:59 -06:00
Larry Finger
8097dac011 rtl8188eu: Fix buid with kernel 5.12
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2021-02-24 13:34:05 -06:00
Larry Finger
60cb0b5a3c rtl8188eu: Edimax EW-7811Un V2
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2020-12-01 12:17:35 -06:00
Larry Finger
11bfbc2e3d rtl8188eu: Fix build for kernel 5.10
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2020-11-03 10:53:42 -06:00
Larry Finger
83dfb7ec00 rtl8188eu: Fix addition of 0bda:f179
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2020-08-11 14:51:35 -05:00
Larry Finger
a88ea124e0 rtl8188eu: Add 0bda:f179 device
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2020-08-11 14:46:26 -05:00
Larry Finger
aaca953824 rtl8188eu: Fix builds for kernel 5.8
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2020-06-10 14:31:48 -05:00
lwfinger
08c73adb19
Merge pull request #328 from codicodi/v5.2.2.4
Fix GCC 10 warnings
2020-05-16 13:18:47 -05:00
Robert Cegliński
07f444516c Fix GCC 10 warnings 2020-05-16 16:05:10 +02:00
Larry Finger
33dbf80732 rtl8188eu" Allow build from alternative sources
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2020-05-10 12:03:48 -05:00
lwfinger
af9277ea3b rtl8188eu: Fix build complaints over DATE
Signed-off-by: Larry Finger@lwfinger.net
2020-04-28 14:08:07 -05:00
kovi
37e8518b71 add: usb id for asus nano 10 2020-03-21 12:46:58 -05:00
fiadosau
8078d7b180 rtl8188eu: Add new device and fix build for kernel 5.6
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2020-03-03 21:54:28 -06:00
Larry Finger
f86165a975 rtl8188eu: Add checks for p->length and remove some goto statements
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2020-02-10 09:21:53 -06:00
Larry Finger
b572d3030a rtl8188eu: Remove all mention of dkms. See Issue #306 at GitHub.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2020-01-28 09:40:57 -06:00
Bastien Nocera
5c7589507a rtl8188eu: Add rtw_led_enable module parameter
Make it possible to disable the LED, as it can be pretty annoying
depending on where it's located.
2020-01-06 15:32:54 -06:00
Larry Finger
412fc61887 rtl8188eu: Fix problem with policy
This change is needed for kernel v5.3 and later.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2019-12-06 11:55:54 -06:00
Larry Finger
ab19e22a6d 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:52:04 -06:00
Larry Finger
c51cbfd7cd Merge branch 'v5.2.2.4' of http://github.com/lwfinger/rtl8188eu into v5.2.2.4 2019-11-04 11:24:45 -06:00
Larry Finger
e42a3d17a8 rtl8188eu: Fix build error
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2019-11-04 11:24:13 -06:00
lwfinger
ae60ce27b7
Merge pull request #297 from fgimenezm/v5.2.2.4
fixes for DKMS KVER setting and a small typo
2019-10-16 21:29:40 -05:00
Federico Gimenez Molinelli
abb3c349f4
fix missing ',' 2019-10-16 22:51:00 -03:00
Federico Gimenez Molinelli
076f9e4eae
fix DKMS: add KVER value to make command
Makefile is getting the KVER value from "uname -r" but that is not correct when building for kernels other than the running kernel.
When running from DKMS we have to set KVER to ${kernelver}.
2019-10-16 22:49:37 -03:00
Larry Finger
a03bf8ede5 rtl8188eu: TP-Link TL-WN727N v5.21 to device table
This information provided by kakash1hatake.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2019-10-16 11:22:12 -05:00
Larry Finger
a0e9c1dfc6 rtl8188eu: Fix build with kernel 5.4
Beginning with 5.4.0-rc3, a macro is defined for "fallthrough". For
that reason, the attribute statement must use __fallthrough__ instead.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2019-10-16 11:18:37 -05:00
lwfinger
5342fb8368
Merge pull request #292 from artynet/v5.2.2.4-kconfig
rtl8188eu: adding Kconfig for kernel build integration
2019-09-23 11:14:05 -05:00
Arturo Rinaldi
9f98ad1abc rtl8188eu: adding Kconfig for kernel build integration 2019-09-23 10:13:53 +02:00