Commit graph

808 commits

Author SHA1 Message Date
Larry Finger
7a7c5e0c0b rtl8188eu: Revert one of the changes for 5.19.2
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2022-08-18 16:00:27 -05:00
Larry Finger
96c88129ba rtl8188eu: Fix builds for kernel 5.19.2
The changes that were in kernel 6.0 hav been backported to 5.19.2.
Backporting these kind of changes is pointless. In 6.0, the way is
prepared to allow multiple links per connection. In 5.19, the only
one used is link 0! What is the point?

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2022-08-18 10:45:53 -05:00
Larry Finger
0a5e81555c rtl8188eu: Fix builds for kernel 6.0
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2022-08-12 12:11:45 -05:00
Larry Finger
318a5f1d15 rtl8188eu: Fill out set/get txpower
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2022-07-16 13:21:15 -05:00
Larry Finger
a36cfdfdb6 rtl8188eu: Fix some gcc12 compiler warnings
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2022-07-15 13:51:36 -05:00
Larry Finger
903b6fcb82 rtl8188eu: Add hostapd-2.9 modified for the rtl871x driver
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2022-04-17 13:00:45 -05:00
Larry Finger
13531f3844 rtl8188eu: Fix build for kernel 5.18
Also update control_ap

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2022-04-17 12:49:39 -05:00
Larry Finger
bf23ec4903 rtl8188eu: Fix another API change for kernel 5.17
Struct net_device has been constantified, thus it is no longer OK to
drirectly write the dev_addr, but use dev_addr_set() instead. Starting
with kernel 5.17, improper usage generates a warning.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2022-01-28 20:49:20 -06:00
Larry Finger
5b67bc47ea rtl8188eu: Fix bug related to removal of GRO_DROP
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2022-01-26 13:11:39 -06:00
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