]> granicus.if.org Git - linux-firmware/commitdiff
rtlwifi: v88.2 firmware files for RTL8192CU 20201118
authorReto Schneider <code@reto-schneider.ch>
Sun, 8 Nov 2020 23:42:54 +0000 (00:42 +0100)
committerJosh Boyer <jwboyer@kernel.org>
Fri, 13 Nov 2020 15:29:32 +0000 (10:29 -0500)
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 <code@reto-schneider.ch>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Tested-by: Chris Chiu <chiu@endlessos.org>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
WHENCE
rtlwifi/rtl8192cufw_A.bin
rtlwifi/rtl8192cufw_B.bin
rtlwifi/rtl8192cufw_TMSC.bin

diff --git a/WHENCE b/WHENCE
index 1ac6cfc497103b75a2c56ed78365aab28d84f8d2..40ae11a14be12cd79820181609a8b920bac54562 100644 (file)
--- a/WHENCE
+++ b/WHENCE
@@ -2883,6 +2883,12 @@ File: rtlwifi/rtl8192cufw.bin
 File: rtlwifi/rtl8192cufw_A.bin
 File: rtlwifi/rtl8192cufw_B.bin
 File: rtlwifi/rtl8192cufw_TMSC.bin
+Info: From Vendor's rtl8188C_8192C_usb_linux_v4.0.1_6911.20130308 driver
+      All files extracted from driver/hal/rtl8192c/usb/Hal8192CUHWImg.c
+      Relevant variables (CONFIG_BT_COEXISTENCE not set):
+        - rtlwifi/rtl8192cufw_A.bin: Rtl8192CUFwUMCACutImgArray
+        - rtlwifi/rtl8192cufw_B.bin: Rtl8192CUFwUMCBCutImgArray
+        - rtlwifi/rtl8192cufw_TMSC.bin: Rtl8192CUFwTSMCImgArray
 
 Licence: Redistributable. See LICENCE.rtlwifi_firmware.txt for details.
 
index 9569d0a236ae57304fa814e04dcbe9254fe0fa69..fceafc922cc2118d8ead2a6f7faf241df0ea0d00 100644 (file)
Binary files a/rtlwifi/rtl8192cufw_A.bin and b/rtlwifi/rtl8192cufw_A.bin differ
index 96089c4c9e6e5a95d06ed6e5a93bf9a4478e156d..06569e7f60cd573936546b28f2530f4ccfe68161 100644 (file)
Binary files a/rtlwifi/rtl8192cufw_B.bin and b/rtlwifi/rtl8192cufw_B.bin differ
index d1b84d4886d1864e7ada9ff175a1850d32061158..ec0a0d3e544af69e452f5d1054157b493ac847e3 100644 (file)
Binary files a/rtlwifi/rtl8192cufw_TMSC.bin and b/rtlwifi/rtl8192cufw_TMSC.bin differ