From 2ea86675db1349235e9af0a9d0372b72da4db259 Mon Sep 17 00:00:00 2001 From: Reto Schneider Date: Mon, 9 Nov 2020 00:42:54 +0100 Subject: rtlwifi: v88.2 firmware files for RTL8192CU The vendor driver rtl8188C_8192C_usb_linux_v4.0.1_6911.20130308 includes new firmware files. These were extracted from data statements in that driver to form these files. Before this update, with version 80 of the firmware, the USB interface of the RTL8192CU WLAN controller often locked itself up: usb 1-2: device descriptor read/64, error -110 usb 1-2: device not accepting address 4, error -110 usb 1-2: device not accepting address 5, error -110 usb usb1-port2: unable to enumerate USB device usb 2-2: device descriptor read/64, error -110 usb 2-2: device descriptor read/64, error -110 On ARMv5 based GARDENA smart gateways running Linux 4.19.78, this can be reliably reproduced by rebooting (warm) the gateway multiple times (max. 50 attempts needed). Unlike users having this issues on a USB Wi-Fi dongle, resetting of the chip by replugging is not an option on this gateway due to the lack of any power cut functionality. Therefore, a (cold) reboot of the whole gateway is needed. Updating the firmware of the RTL8192CU WLAN controller from version v80.0 to v88.2 (as per output of rtl8xxxu) resolves this issue. The problem did no show up anymore for 1000 restarts. Please note: - Only rtl8192cufw_TMSC.bin tested (mainly on rtl8xxxu) - rtl8192cu seems to work as well as before, but I can not rule out that this new firmware version brings unwanted changes. The Realtek drivers containing v88.2 of the firmware (v4.0.1_6911.20130308 to v4.0.9_25039.20171107) have some changes compared to the version v3.4.2_3727.20120404, for which I do not know if those should be reflected in rtl8192cu. Unrelated of the initially described USB problem, another issue still remains after updating the firmware: Using the rtl8192cu driver, scanning for available SSIDs yields no more results after a few hundred scans (iw wlan0 scan). rtl8xxxu does not suffer from this problem. Signed-off-by: Reto Schneider Acked-by: Larry Finger Tested-by: Chris Chiu Signed-off-by: Josh Boyer --- rtlwifi/rtl8192cufw_A.bin | Bin 16116 -> 16126 bytes rtlwifi/rtl8192cufw_B.bin | Bin 16096 -> 16096 bytes rtlwifi/rtl8192cufw_TMSC.bin | Bin 16116 -> 16126 bytes 3 files changed, 0 insertions(+), 0 deletions(-) (limited to 'rtlwifi') diff --git a/rtlwifi/rtl8192cufw_A.bin b/rtlwifi/rtl8192cufw_A.bin index 9569d0a..fceafc9 100644 Binary files a/rtlwifi/rtl8192cufw_A.bin and b/rtlwifi/rtl8192cufw_A.bin differ diff --git a/rtlwifi/rtl8192cufw_B.bin b/rtlwifi/rtl8192cufw_B.bin index 96089c4..06569e7 100644 Binary files a/rtlwifi/rtl8192cufw_B.bin and b/rtlwifi/rtl8192cufw_B.bin differ diff --git a/rtlwifi/rtl8192cufw_TMSC.bin b/rtlwifi/rtl8192cufw_TMSC.bin index d1b84d4..ec0a0d3 100644 Binary files a/rtlwifi/rtl8192cufw_TMSC.bin and b/rtlwifi/rtl8192cufw_TMSC.bin differ -- cgit v1.2.3