-
Notifications
You must be signed in to change notification settings - Fork 14
Description
Hi,
I'm trying to setup a system with a LM842 Realtek 8822CU BT/WIFI combo adapter.
Currently testing with Ubuntu 21.04, 5.11.0-34 kernel and branch sync-upstream-with/v5.11. Is this the correct branch to use?
I'm getting the following kernel messages upon connecting the device:
[ 994.256534] usb 1-1.3: new high-speed USB device number 6 using ehci-pci
[ 994.365521] usb 1-1.3: New USB device found, idVendor=0bda, idProduct=c82c, bcdDevice= 0.00
[ 994.365529] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 994.365532] usb 1-1.3: Product: 802.11ac NIC
[ 994.365535] usb 1-1.3: Manufacturer: Realtek
[ 994.365537] usb 1-1.3: SerialNumber: 123456
[ 994.366887] rtw_8822cu 1-1.3:1.2: USB: 2
[ 994.367005] rtw_8822cu 1-1.3:1.2: Firmware version 5.0.0, H2C version 14
[ 994.367104] rtw_8822cu 1-1.3:1.2: Firmware version 7.3.0, H2C version 14
[ 994.367921] Bluetooth: hci0: RTL: examining hci_ver=0a hci_rev=000c lmp_ver=0a lmp_subver=8822
[ 994.368893] Bluetooth: hci0: RTL: rom_version status=0 version=3
[ 994.368903] Bluetooth: hci0: RTL: loading rtl_bt/rtl8822cu_fw.bin
[ 994.368981] Bluetooth: hci0: RTL: loading rtl_bt/rtl8822cu_config.bin
[ 994.369023] Bluetooth: hci0: RTL: cfg_sz 6, total sz 35514
[ 994.536919] Bluetooth: hci0: RTL: fw version 0x099a7253
[ 994.632477] rtw_8822cu 1-1.3:1.2: rfe 3 isn't supported
[ 994.637534] rtw_8822cu 1-1.3:1.2: failed to setup chip efuse info
[ 994.637538] rtw_8822cu 1-1.3:1.2: failed to setup chip information
Build/install steps:
git checkout sync-upstream-with/v5.11
make clean
make
make install
make firmware
modprobe mac80211
insmod rtw88_core.ko
insmod rtw88_usb.ko
insmod rtw88_8822b.ko
insmod rtw88_8822bu.ko
insmod rtw88_8822c.ko
insmod rtw88_8822cu.ko
It seems rfe 3 support is missing for rtw8822c(u). I thought of copying the rfe3 tables from e.g. 8822b to 8822c, but then I compared the existing txpwr_lmt_type0 for both and saw they are different. So I concluded that it would be a bad idea to use the tables from 8822b. Do you know where to get the missing rfe3 tables?
LM provides the drivers here, but I could not get anywhere with them. This driver also seems to use these tables, but in a different format, which I'm no sure how to translate properly....and array_mp_8822c_txpwr_lmt seems to be much longer than the ones used here.
#ifdef CONFIG_8822C
const char *array_mp_8822c_txpwr_lmt[] = {
"FCC", "2.4G", "20M", "CCK", "1T", "01", "72",
"ETSI", "2.4G", "20M", "CCK", "1T", "01", "60",
"MKK", "2.4G", "20M", "CCK", "1T", "01", "68",
"IC", "2.4G", "20M", "CCK", "1T", "01", "72",
"KCC", "2.4G", "20M", "CCK", "1T", "01", "76",
"ACMA", "2.4G", "20M", "CCK", "1T", "01", "60",
"CHILE", "2.4G", "20M", "CCK", "1T", "01", "72",
"UKRAINE", "2.4G", "20M", "CCK", "1T", "01", "60",
"MEXICO", "2.4G", "20M", "CCK", "1T", "01", "72",
"CN", "2.4G", "20M", "CCK", "1T", "01", "60",
"FCC", "2.4G", "20M", "CCK", "1T", "02", "72",
...
- Is fixing rfe3 support for rtw8822cu even going to make this stick work or is it likely just the first of more issues along the way?
- Can somebody tell me how to translate the tables from realtek driver to rtw driver?
- btw what does RFE stand for?
Thanks & best regards,
Peter