Commit graph

821 commits

Author SHA1 Message Date
lwfinger
f4af53305c
Merge pull request #433 from giuliobenetti/fix/powerpc-leftover
rtl8188eu: convert left-over get_ra() to wifi_get_ra()
2022-11-28 20:04:04 -06:00
Giulio Benetti
b9637c592b rtl8188eu: convert left-over get_ra() to wifi_get_ra()
During commit 7245a6982d one occurence of
get_ra() has been left behind in ioctl_cfg80211.c so let's update it.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
2022-11-29 00:45:23 +01:00
Larry Finger
7245a6982d rtl8188eu: Change get_ra() to wifi_get_ra()
Author: Giulio Benetti giulio.benetti@benettiengineering.com

In PowerPc Linux only get_ra() exists[0] and conflicts with local get_ra()
that has a completely different purpose. So let's rename local get_ra()
to wifi_get_ra() to make it different from Linux's get_ra().

[0]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/powerpc/include/asm/disassemble.h?h=v6.1-rc7#n49

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2022-11-28 15:26:05 -06:00
Larry Finger
208f2ccb65 rtl8188eu: Fix build for kernel 6.1
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2022-11-28 13:29:37 -06:00
Larry Finger
f99f244be3 rtl8188eu: Fix build on kernel 6.1
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2022-11-28 12:48:18 -06:00
lwfinger
c4908ca4ca
Merge pull request #427 from giuliobenetti/fix/linux-before-6.0.0
Re-introduce code for Linux version < 6.0.0.
2022-10-17 18:30:31 -05:00
Giulio Benetti
ca95522030 Re-introduce code for Linux version < 6.0.0.
Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
2022-10-17 23:18:37 +02:00
lwfinger
77c1b083c5
Merge pull request #426 from CoelacanthusHex/fix/v5/riscv
rtl8188eu: fix SUBARCH on riscv64
2022-10-11 10:31:10 -05:00
Celeste Liu
fd6c97ef99
rtl8188eu: fix SUBARCH on riscv64
Signed-off-by: Celeste Liu <CoelacanthusHex@gmail.com>
2022-10-11 22:54:45 +08:00
Larry Finger
7c6e80da34 rtl8188eu: Remove wrapper around spin_unlock_irqrestore()
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2022-09-14 12:31:35 -05:00
Larry Finger
8f5cee5861 rtl8188eu: Change definition of KSRC in Makefile
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2022-08-29 10:04:39 -05:00
Larry Finger
e488450b36 rtl8188eu: Remove code not needed for kernel 60.0
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2022-08-27 12:08:47 -05:00
Larry Finger
e79b15cb79 rtl8188eu: Change location for saved module
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2022-08-27 12:06:53 -05:00
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