rtkbt: add RTL8822BE/RTL8822CE FW
authorRock Shen <rock_shen@asus.com>
Wed, 22 Apr 2020 00:34:03 +0000 (08:34 +0800)
committerRock Shen <rock_shen@asus.com>
Wed, 22 Apr 2020 00:34:38 +0000 (08:34 +0800)
Change-Id: I0083c2730869ea5229e705c63aad032d361c06d1
Signed-off-by: Rock Shen <rock_shen@asus.com>
rtkbt/Firmware/BT/BT_Firmware.mk
rtkbt/Firmware/BT/rtl8822bu_config [new file with mode: 0755]
rtkbt/Firmware/BT/rtl8822bu_fw [new file with mode: 0755]
rtkbt/Firmware/BT/rtl8822cu_config [new file with mode: 0755]
rtkbt/Firmware/BT/rtl8822cu_fw [new file with mode: 0755]
rtkbt/code/libbt-vendor/src/hardware_usb.c

index 85f0df7573e06001a43ab8f54981ffa888be6693..8e76e7c335eed29a14f8c3514e4a5bd4c79cc274 100755 (executable)
@@ -59,5 +59,9 @@ PRODUCT_COPY_FILES += \
        $(CUR_PATH)/Firmware/BT/rtl8761bt_fw:$(TARGET_COPY_OUT_VENDOR)/firmware/rtl8761bt_fw \
        $(CUR_PATH)/Firmware/BT/rtl8725a_config:$(TARGET_COPY_OUT_VENDOR)/firmware/rtl8725a_config \
        $(CUR_PATH)/Firmware/BT/rtl8725a_fw:$(TARGET_COPY_OUT_VENDOR)/firmware/rtl8725a_fw \
+       $(CUR_PATH)/Firmware/BT/rtl8822cu_config:$(TARGET_COPY_OUT_VENDOR)/firmware/rtl8822cu_config \
+       $(CUR_PATH)/Firmware/BT/rtl8822cu_fw:$(TARGET_COPY_OUT_VENDOR)/firmware/rtl8822cu_fw \
+       $(CUR_PATH)/Firmware/BT/rtl8822bu_config:$(TARGET_COPY_OUT_VENDOR)/firmware/rtl8822bu_config \
+       $(CUR_PATH)/Firmware/BT/rtl8822bu_fw:$(TARGET_COPY_OUT_VENDOR)/firmware/rtl8822bu_fw \
 
 
diff --git a/rtkbt/Firmware/BT/rtl8822bu_config b/rtkbt/Firmware/BT/rtl8822bu_config
new file mode 100755 (executable)
index 0000000..b00270e
Binary files /dev/null and b/rtkbt/Firmware/BT/rtl8822bu_config differ
diff --git a/rtkbt/Firmware/BT/rtl8822bu_fw b/rtkbt/Firmware/BT/rtl8822bu_fw
new file mode 100755 (executable)
index 0000000..ca5e636
Binary files /dev/null and b/rtkbt/Firmware/BT/rtl8822bu_fw differ
diff --git a/rtkbt/Firmware/BT/rtl8822cu_config b/rtkbt/Firmware/BT/rtl8822cu_config
new file mode 100755 (executable)
index 0000000..91d3f44
Binary files /dev/null and b/rtkbt/Firmware/BT/rtl8822cu_config differ
diff --git a/rtkbt/Firmware/BT/rtl8822cu_fw b/rtkbt/Firmware/BT/rtl8822cu_fw
new file mode 100755 (executable)
index 0000000..01e739e
Binary files /dev/null and b/rtkbt/Firmware/BT/rtl8822cu_fw differ
index 839cb7523c380ff5a3ea67b669313344434a4c6f..4a671fc3b52fc372f5b6ce5cffdcbf99f2bd86cf 100755 (executable)
@@ -154,13 +154,13 @@ static usb_patch_info usb_fw_patch_table[] = {
 /* todo: RTL8703CU */
 
 // for RTL8822BE: AzureWave AW-CB295NF and Lite-On WCBN808L-AD
-{ 0x0B05, 0x185C, 0x8822, 0, 0, "mp_rtl8822b_fw", "rtl8822b_fw", "rtl8822b_config", NULL, 0 ,CONFIG_MAC_OFFSET_GEN_3PLUS, MAX_PATCH_SIZE_24K}, /* RTL8822BE */
+{ 0x0B05, 0x185C, 0x8822, 0, 0, "mp_rtl8822b_fw", "rtl8822bu_fw", "rtl8822bu_config", NULL, 0 ,CONFIG_MAC_OFFSET_GEN_3PLUS, MAX_PATCH_SIZE_24K}, /* RTL8822BE */
 // for RTL8822CE: Lite-On WCBN810L-AD module
-{ 0x04CA, 0x4005, 0x8822, 0, 0, "mp_rtl8822c_fw", "rtl8822c_fw", "rtl8822c_config", NULL, 0 ,CONFIG_MAC_OFFSET_GEN_4PLUS, MAX_PATCH_SIZE_40K}, /* RTL8822CE */
+{ 0x04CA, 0x4005, 0x8822, 0, 0, "mp_rtl8822c_fw", "rtl8822cu_fw", "rtl8822cu_config", NULL, 0 ,CONFIG_MAC_OFFSET_GEN_4PLUS, MAX_PATCH_SIZE_40K}, /* RTL8822CE */
 // for RTL8822CE: AzureWave AW-CB375NF module
-{ 0x13D3, 0x3548, 0x8822, 0, 0, "mp_rtl8822c_fw", "rtl8822c_fw", "rtl8822c_config", NULL, 0 ,CONFIG_MAC_OFFSET_GEN_4PLUS, MAX_PATCH_SIZE_40K}, /* RTL8822CE */
+{ 0x13D3, 0x3548, 0x8822, 0, 0, "mp_rtl8822c_fw", "rtl8822cu_fw", "rtl8822cu_config", NULL, 0 ,CONFIG_MAC_OFFSET_GEN_4PLUS, MAX_PATCH_SIZE_40K}, /* RTL8822CE */
 // for RTL8822CE: AzureWave AW-CB375NF module
-{ 0x13D3, 0x3549, 0x8822, 0, 0, "mp_rtl8822c_fw", "rtl8822c_fw", "rtl8822c_config", NULL, 0 ,CONFIG_MAC_OFFSET_GEN_4PLUS, MAX_PATCH_SIZE_40K}, /* RTL8822CE */
+{ 0x13D3, 0x3549, 0x8822, 0, 0, "mp_rtl8822c_fw", "rtl8822cu_fw", "rtl8822cu_config", NULL, 0 ,CONFIG_MAC_OFFSET_GEN_4PLUS, MAX_PATCH_SIZE_40K}, /* RTL8822CE */
 
 /* NOTE: must append patch entries above the null entry */
 { 0, 0, 0, 0, 0, NULL, NULL, NULL, NULL, 0, 0, 0 }