Mirror of lwfinger's Linux driver for RTL8188EU (with Linux 6.8 and 6.10 support!)
Find a file
Larry Finger 24b960c5c0 rtl8188eu: Change some locking around rtw_get_sec_ie()
Routine rtw_get_sec_ie() appears to suffer from a bug triggered under
unusual circumstances. This bug is exposed by first sending a deauthentication
frame and at the same time sending a much larger frame. After doing some debugging
the cause of the lockup of the CPU was that while rtw_get_sec_ie() attempts to
read the beacon frame sent by the router/AP, the size of the beacon is changed
since it is a reference and not a copy. By having a "rogue" beacon frame being
very large which isn't normal and not considered in the design, the computer
was stuck in an endless CPU lockup.

Routine translate_scan(), which calls rtw_get_sec_ie() is protected by a
spinlock. Add that spinlock around other calls of the routine.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2022-07-21 08:52:58 -05:00
core rtl8188eu: Change some locking around rtw_get_sec_ie() 2022-07-21 08:52:58 -05:00
debian feat: add driver package to build DEB package support in Debian DKMS format 2021-05-15 16:42:04 +08:00
hal rtl8188eu: Fix build for API changes in kernel 5.17 2022-02-03 10:21:57 -06:00
hostapd-2.9 rtl8188eu: Add hostapd 2.9 with rtl871x driver added 2022-04-17 13:31:50 -05:00
include rtl8188eu: Fix build under kernel 5.17 2022-01-24 17:02:53 -06:00
os_dep rtl8188eu: Fix build for API changes in kernel 5.17 2022-02-03 10:21:57 -06:00
.gitignore feat: add driver package to build DEB package support in Debian DKMS format 2021-05-15 16:42:04 +08:00
control_ap rtl8188eu: Update control_ap 2022-04-17 13:55:27 -05:00
dkms.conf feat: add driver package to build DEB package support in Debian DKMS format 2021-05-15 16:42:04 +08:00
Makefile rtl8188eu: Fix Makefile to create directory for module 2022-01-10 13:01:21 -06:00
README.md rtl8188eu: Update README.md 2021-08-10 13:18:33 -05:00
rtl8188eufw.bin rtl8188eu: Add firmware 2013-10-19 14:02:06 -05:00
rtl_hostapd.conf rtl8188eu: Fix trailing spaces 2021-07-23 15:22:16 -05:00

IMPORTANT - PLEASE READ:

Beginning on November 4, 2019, I will NO LONGER support people that have downloaded the source as a zip file. Using git has much more flexibility. In addition, there is much less likelihood that a user will contact me with a problem that is ALREADY fixed.

If your system says that /lib/modules/...../build does not exist, you have not installed the kernel headers, you have done it incorrectly, or you are not running the kernel for which the headers have been installed. The necessary steps are dependent on which distro you are using. Creating a new issue and asking at GitHub will not be productive.

Your kernel configuration MUST have CONFIG_WIRELESS_EXT set.

Unsolicited E-mail sent to my private address will be ignored!!

If a build fails that previously worked, perform a 'git pull' and retry before reporting a problem. As noted, if you had downloaded the source in zip form, then you would need to get an entirely new source file. That is why using git, which downloads only the changed lines, is required.

rtl8188eu

Repository for the stand-alone RTL8188EU driver.

Compiling & Building

Dependencies

To compile the driver, you need to have make and a compiler installed. In addition, you must have the kernel headers installed. If you do not understand what this means, consult your distro.

Compiling

make all

Installing

sudo make install

Submitting Issues

Frequently asked Questions

The network manager says: "Device is not ready"!

Make sure you copied the firmware (rtl8188eufw.bin) to /lib/firmware/rtlwifi/

NetworkManager does not list SSID

NetworkManager changes the Wi-Fi MAC address during scanning to improve privacy but this adapter does not support it. To address this issue, please create /etc/NetworkManager/conf.d/80-wifi.conf with content:

[device]
wifi.scan-rand-mac-address=no

and run systemctl restart NetworkManager