I am trying to add an RTL8192cu WiFi module to an Android 7.1 build but I get the following when the device is detected. ifconfig shows nothing. Under Linux, it appears as an RTL8192cu but Android seems to recognise it as RTL8188CU but does attempt to load the correct driver but fails with the output below.
[ 1706.849999] usb 2-1.3: new high-speed USB device number 5 using exynos-ehci
[ 1706.946666] usb 2-1.3: New USB device found, idVendor=0bda, idProduct=8176
[ 1706.946666] usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber
=3
[ 1706.956666] usb 2-1.3: Manufacturer: Realtek
[ 1706.959999] usb 2-1.3: SerialNumber: 00e04c000001
[ 1707.143333] usb 2-1.3: Vendor: Realtek
[ 1707.143333] usb 2-1.3: Product:
[ 1707.143333] usb 2-1.3: RTL8188CU rev A (TSMC) 1T1R, TX queues 2, WiFi=1, BT=0
, GPS=0, HI PA=0
[ 1707.153333] usb 2-1.3: RTL8188CU MAC: e8:4e:06:1f:f9:cc
[ 1707.156666] usb 2-1.3: rtl8xxxu: Loading firmware rtlwifi/rtl8192cufw_TMSC.bi
n
[ 1707.166666] usb 2-1.3: Direct firmware load for rtlwifi/rtl8192cufw_TMSC.bin
failed with error -2
[ 1707.173333] usb 2-1.3: Falling back to user helper
[ 1707.183333] usb 2-1.3: request_firmware(rtlwifi/rtl8192cufw_TMSC.bin) failed
[ 1707.186666] usb 2-1.3: Fatal - failed to load firmware
[ 1707.189999] rtl8xxxu: probe of 2-1.3:1.0 failed with error -11
The driver is located in /vendor/realtek/rtlwifi as the
Any ideas what is wrong?