一、rk32.188 android5 rtl8723ds888Android7.1的SDK集成了RTL8723DS的模块集成了RTL8723DS的模块,并且没有android5.1并集成8723ds的模块,介绍下rtl8723ds的模块rk3 到 rk38888 上的移植步骤,2.1RTL8723DS模块将RTL88723DS模块上的移植执行。
1.RTL88723DS模块将rtl88723DS.zip与
Android723DS.zip /net/wireless/rockchip_wlan/目录
2.打上补丁下载
diff --git a/device/common/bluetooth/libbt_rtk8723bs/src/hardware.c b/device/common/bluetooth/libbt_rtk8723bs/src/hardware.c
index 972ab74bf2..45bd7083d5 100755
--- a/device/common/bluetooth/libbt_rtk8723bs/src/hardware.c
+++ b/device/common/bluetooth/libbt_rtk8723bs/src/hardware.c
@@ -126,6 +126,7 @@ struct rtk_bt_vendor_config{
#define ROM_LMP_8723cs_cg 0x8705//0x8703+2
#define ROM_LMP_8723cs_vf 0x8706//0x8703+3
#define ROM_LMP_8822b 0x8822
+#define ROM_LMP_8723ds 0x8723
#define CHIP_8723CS_CG 3
#define CHIP_8723CS_VF 4
@@ -261,6 +262,7 @@ uint16_t project_id[]=
ROM_LMP_8703b,
ROM_LMP_8723c,
ROM_LMP_8822b,
+ ROM_LMP_8723ds,
ROM_LMP_NONE
};
@@ -282,6 +284,7 @@ static patch_info patch_table[] = {
{ ROM_LMP_8723cs_xx, "rtl8723cs_xx_fw", "rtl8723cs_xx_config"}, //rtl8723cs_xx
{ ROM_LMP_8723cs_cg, "rtl8723cs_cg_fw", "rtl8723cs_cg_config"}, //rtl8723cs_cg
{ ROM_LMP_8723cs_vf, "rtl8723cs_vf_fw", "rtl8723cs_vf_config"}, //rtl8723cs_vf
+ { ROM_LMP_8723ds, "rtl8723ds_fw", "rtl8723ds_config"},
/* add entries here*/
{ ROM_LMP_NONE, "rtl_none_fw", "rtl_none_config"}
@@ -626,7 +629,7 @@ uint32_t rtk_get_bt_config(unsigned char** config_buf,
size_t filelen;
int fd;
FILE* file = NULL;
-
+ ALOGD("LOUHN: bt_chip_type=%s",bt_chip_type);
if (strcmp(bt_chip_type, "RTL8723BS_VQ0") == 0)
sprintf(bt_config_file_name, BT_CONFIG_DIRECTORY, "rtl8723bs_VQ0_config");
else
diff --git a/external/bluetooth/bluedroid/hci/src/bt_hci_bdroid.c b/external/bluetooth/bluedroid/hci/src/bt_hci_bdroid.c
index 8feaee265b..a04c195a1a 100755
--- a/external/bluetooth/bluedroid/hci/src/bt_hci_bdroid.c
+++ b/external/bluetooth/bluedroid/hci/src/bt_hci_bdroid.c
@@ -344,7 +344,7 @@ static int init(const bt_hc_callbacks_t* p_cb, unsigned char *local_bdaddr)
#else//if defined HCI_USE_RTK_H5
extern int check_wifi_chip_type_string(char *type);
check_wifi_chip_type_string(type);
- if (!strncmp(type, "RTL8723BS", 9)) {
+ if (!strncmp(type, "RTL8723BS", 9) || !strncmp(type, "RTL8723DS", 9)) {
extern tHCI_IF hci_h5_func_table;
p_hci_if = &hci_h5_func_table;
ALOGD("%s, use hci h5", __func__);
diff --git a/external/bluetooth/bluedroid/hci/src/vendor.c b/external/bluetooth/bluedroid/hci/src/vendor.c
index 4d09574243..ff2ae9f005 100755
--- a/external/bluetooth/bluedroid/hci/src/vendor.c
+++ b/external/bluetooth/bluedroid/hci/src/vendor.c
@@ -65,7 +65,7 @@ bool vendor_open(const uint8_t *local_bdaddr) {
extern int check_wifi_chip_type_string(char *type);
check_wifi_chip_type_string(type);
- if (!strncmp(type, "RTL8723BS", 9)) {
+ if (!strncmp(type, "RTL8723BS", 9) || !strncmp(type, "RTL8723DS", 9)) {
strcpy(vendor_so, "libbt-vendor-rtl8723bs.so");
} else if (!strcmp(type, "RTL8723BU")) {
strcpy(vendor_so, "libbt-vendor-rtl8723bu.so");
diff --git a/external/bluetooth_rtk/bluedroid/hci/src/bt_hci_bdroid.c b/external/bluetooth_rtk/bluedroid/hci/src/bt_hci_bdroid.c
index a7ac86e005..71a7ee0ce9 100755
--- a/external/bluetooth_rtk/bluedroid/hci/src/bt_hci_bdroid.c
+++ b/external/bluetooth_rtk/bluedroid/hci/src/bt_hci_bdroid.c
@@ -344,8 +344,10 @@ static int init(const bt_hc_callbacks_t* p_cb, unsigned char *local_bdaddr)
#else//if defined HCI_USE_RTK_H5
extern int check_wifi_chip_type_string(char *type);
check_wifi_chip_type_string(type);
+ ALOGD("LOUHN:in hci type=%s",type);
if (!strncmp(type, "RTL8723BS", 9) ||
- !strncmp(type, "RTL8723CS", 9)) {
+ !strncmp(type, "RTL8723CS", 9) ||
+ !strncmp(type, "RTL8723DS", 9)) {
extern tHCI_IF hci_h5_func_table;
p_hci_if = &hci_h5_func_table;
ALOGD("%s, use hci h5", __func__);
diff --git a/external/bluetooth_rtk/bluedroid/hci/src/vendor.c b/external/bluetooth_rtk/bluedroid/hci/src/vendor.c
index e440fcc3e8..546056d1c8 100755
--- a/external/bluetooth_rtk/bluedroid/hci/src/vendor.c
+++ b/external/bluetooth_rtk/bluedroid/hci/src/vendor.c
@@ -65,8 +65,10 @@ bool vendor_open(const uint8_t *local_bdaddr) {
extern int check_wifi_chip_type_string(char *type);
check_wifi_chip_type_string(type);
+ ALOGD("LOUHN:type=%s",type);
if (!strncmp(type, "RTL8723BS", 9) ||
- !strncmp(type, "RTL8723CS", 9)) {
+ !strncmp(type, "RTL8723CS", 9) ||
+ !strncmp(type, "RTL8723DS", 9)) {
strcpy(vendor_so, "libbt-vendor-rtl8723bs.so");
} else if (!strncmp(&type[7], "BU", 2) || // like RTL8723AU/BU RTL8811AU
!strncmp(&type[7], "AU", 2)) {
diff --git a/kernel/arch/arm/boot/dts/rk3288-box.dts b/kernel/arch/arm/boot/dts/rk3288-box.dts
index 63537738d9..9347af57a8 100644
--- a/kernel/arch/arm/boot/dts/rk3288-box.dts
+++ b/kernel/arch/arm/boot/dts/rk3288-box.dts
@@ -57,7 +57,7 @@
* esp8089 ==> esp8089;
* other ==> for other wifi;
*/
- wifi_chip_type = "ap6256";
+ wifi_chip_type = "rtl8723ds";
sdio_vref = <3300>; //1800mv or 3300mv
//keep_wifi_power_on;
diff --git a/kernel/arch/arm/configs/hzmct_defconfig b/kernel/arch/arm/configs/hzmct_defconfig
index 433b1941f2..ea5a92615d 100644
--- a/kernel/arch/arm/configs/hzmct_defconfig
+++ b/kernel/arch/arm/configs/hzmct_defconfig
@@ -1424,7 +1424,7 @@ CONFIG_WLAN=y
CONFIG_WIFI_LOAD_DRIVER_WHEN_KERNEL_BOOTUP=y
CONFIG_RTL_WIRELESS_SOLUTION=y
# CONFIG_RTL_WIFI_NONE is not set
-CONFIG_RTL8188EU=y
+# CONFIG_RTL8188EU is not set
# CONFIG_RTL8189ES is not set
# CONFIG_RTL8192CU is not set
# CONFIG_RTL8192DU is not set
@@ -1433,6 +1433,7 @@ CONFIG_RTL8188EU=y
# CONFIG_RTL8723BS is not set
# CONFIG_RTL8723BS_VQ0 is not set
# CONFIG_RTL8812AU is not set
+CONFIG_RTL8723DS=y
CONFIG_ESP8089=y
CONFIG_RKWIFI=y
# CONFIG_BCM4330 is not set
diff --git a/kernel/drivers/net/wireless/Kconfig b/kernel/drivers/net/wireless/Kconfig
index 544aa86f0d..813cc33591 100755
--- a/kernel/drivers/net/wireless/Kconfig
+++ b/kernel/drivers/net/wireless/Kconfig
@@ -53,6 +53,7 @@ source "drivers/net/wireless/rockchip_wlan/rtl8723bu/Kconfig"
source "drivers/net/wireless/rockchip_wlan/rtl8723bs/Kconfig"
source "drivers/net/wireless/rockchip_wlan/rtl8723bs-vq0/Kconfig"
source "drivers/net/wireless/rockchip_wlan/rtl8812au/Kconfig"
+source "drivers/net/wireless/rockchip_wlan/rtl8723DS/Kconfig"
endchoice
endif
diff --git a/kernel/drivers/net/wireless/Makefile b/kernel/drivers/net/wireless/Makefile
index fb61bb0007..fdc79beba3 100755
--- a/kernel/drivers/net/wireless/Makefile
+++ b/kernel/drivers/net/wireless/Makefile
@@ -11,5 +11,6 @@ obj-$(CONFIG_RTL8723BU) += rockchip_wlan/rtl8723bu/
obj-$(CONFIG_RTL8812AU) += rockchip_wlan/rtl8812au/
obj-$(CONFIG_RKWIFI) += rockchip_wlan/rkwifi/
obj-$(CONFIG_RTL8723BS) += rockchip_wlan/rtl8723bs/
+obj-$(CONFIG_RTL8723DS) += rockchip_wlan/rtl8723DS/
obj-$(CONFIG_RTL8723BS_VQ0) += rockchip_wlan/rtl8723bs-vq0/
obj-$(CONFIG_ESP8089) += rockchip_wlan/esp8089/
diff --git a/kernel/drivers/net/wireless/rockchip_wlan/wifi_sys/rkwifi_sys_iface.c b/kernel/drivers/net/wireless/rockchip_wlan/wifi_sys/rkwifi_sys_iface.c
index f90f6c842e..9f62c2d745 100755
--- a/kernel/drivers/net/wireless/rockchip_wlan/wifi_sys/rkwifi_sys_iface.c
+++ b/kernel/drivers/net/wireless/rockchip_wlan/wifi_sys/rkwifi_sys_iface.c
@@ -123,6 +123,11 @@ static ssize_t wifi_chip_read(struct class *cls, struct class_attribute *attr, c
printk("Current WiFi chip is ESP8089.n");
}
+ if(type == WIFI_RTL8723DS) {
+ count = sprintf(_buf, "%s", "RTL8723DS");
+ printk("Current WiFi chip is RTL8723DS.n");
+ }
+
return count;
}
diff --git a/kernel/include/linux/rfkill-wlan.h b/kernel/include/linux/rfkill-wlan.h
index 8b34fafa5d..cbaa62f704 100755
--- a/kernel/include/linux/rfkill-wlan.h
+++ b/kernel/include/linux/rfkill-wlan.h
@@ -66,6 +66,7 @@ enum {
WIFI_RTL8723AU,
WIFI_RTL8189ES,
WIFI_RTL8812AU,
+ WIFI_RTL8723DS,
WIFI_RTL_SERIES,
WIFI_ESP8089,
TYPE_MAX,
diff --git a/kernel/net/rfkill/rfkill-wlan.c b/kernel/net/rfkill/rfkill-wlan.c
index d42163570a..8fd5a22ea5 100755
--- a/kernel/net/rfkill/rfkill-wlan.c
+++ b/kernel/net/rfkill/rfkill-wlan.c
@@ -143,7 +143,9 @@ int get_wifi_chip_type(void)
} else if (strcmp(wifi_chip_type_string, "rtl8189es") == 0) {
type = WIFI_RTL8189ES;
} else if (strcmp(wifi_chip_type_string, "rtl8812au") == 0) {
- type = WIFI_RTL8812AU;
+ type = WIFI_RTL8812AU;
+ } else if (strcmp(wifi_chip_type_string, "rtl8723ds") == 0) {
+ type = WIFI_RTL8723DS;
} else if (strcmp(wifi_chip_type_string, "esp8089") == 0) {
type = WIFI_ESP8089;
} else {
diff --git a/vendor/rockchip/common/bluetooth/realtek/firmware/uart/rtlbtfw_cfg.mk b/vendor/rockchip/common/bluetooth/realtek/firmware/uart/rtlbtfw_cfg.mk
index fb9f1c5334..f81f1027ae 100755
--- a/vendor/rockchip/common/bluetooth/realtek/firmware/uart/rtlbtfw_cfg.mk
+++ b/vendor/rockchip/common/bluetooth/realtek/firmware/uart/rtlbtfw_cfg.mk
@@ -5,6 +5,8 @@ PRODUCT_COPY_FILES +=
$(LOCAL_PATH)/rtl8723b_config:system/etc/firmware/rtl8723bs_config
$(LOCAL_PATH)/rtl8723b_VQ0_fw:system/etc/firmware/rtl8723bs_VQ0_fw
$(LOCAL_PATH)/rtl8723b_VQ0_config:system/etc/firmware/rtl8723bs_VQ0_config
+ $(LOCAL_PATH)/rtl8723ds_fw:system/etc/firmware/rtl8723ds_fw
+ $(LOCAL_PATH)/rtl8723ds_config:system/etc/firmware/rtl8723ds_config
$(LOCAL_PATH)/rtl8761a_fw:system/etc/firmware/rtl8761as_fw
$(LOCAL_PATH)/rtl8761a_config:system/etc/firmware/rtl8761as_config
$(LOCAL_PATH)/rtl8821a_fw:system/etc/firmware/rtl8821as_fw
一、rk32.188 android5 rtl8723ds888Android7.1的SDK集成了RTL8723DS的模块集成了RTL8723DS的模块,并且没有android5.1并集成8723ds的模块,介绍下rtl8723ds的模块rk3 到 rk38888 上的移植步骤,2.1RTL8723DS模块将RTL88723DS模块上的移植执行。
1.RTL88723DS模块将rtl88723DS.zip与Android723DS.zip /net/wireless/rockchip_wlan/目录
2.打上补丁下载
diff --git a/device/common/bluetooth/libbt_rtk8723bs/src/hardware.c b/device/common/bluetooth/libbt_rtk8723bs/src/hardware.c
index 972ab74bf2..45bd7083d5 100755
--- a/device/common/bluetooth/libbt_rtk8723bs/src/hardware.c
+++ b/device/common/bluetooth/libbt_rtk8723bs/src/hardware.c
@@ -126,6 +126,7 @@ struct rtk_bt_vendor_config{
#define ROM_LMP_8723cs_cg 0x8705//0x8703+2
#define ROM_LMP_8723cs_vf 0x8706//0x8703+3
#define ROM_LMP_8822b 0x8822
+#define ROM_LMP_8723ds 0x8723
#define CHIP_8723CS_CG 3
#define CHIP_8723CS_VF 4
@@ -261,6 +262,7 @@ uint16_t project_id[]=
ROM_LMP_8703b,
ROM_LMP_8723c,
ROM_LMP_8822b,
+ ROM_LMP_8723ds,
ROM_LMP_NONE
};
@@ -282,6 +284,7 @@ static patch_info patch_table[] = {
{ ROM_LMP_8723cs_xx, "rtl8723cs_xx_fw", "rtl8723cs_xx_config"}, //rtl8723cs_xx
{ ROM_LMP_8723cs_cg, "rtl8723cs_cg_fw", "rtl8723cs_cg_config"}, //rtl8723cs_cg
{ ROM_LMP_8723cs_vf, "rtl8723cs_vf_fw", "rtl8723cs_vf_config"}, //rtl8723cs_vf
+ { ROM_LMP_8723ds, "rtl8723ds_fw", "rtl8723ds_config"},
/* add entries here*/
{ ROM_LMP_NONE, "rtl_none_fw", "rtl_none_config"}
@@ -626,7 +629,7 @@ uint32_t rtk_get_bt_config(unsigned char** config_buf,
size_t filelen;
int fd;
FILE* file = NULL;
-
+ ALOGD("LOUHN: bt_chip_type=%s",bt_chip_type);
if (strcmp(bt_chip_type, "RTL8723BS_VQ0") == 0)
sprintf(bt_config_file_name, BT_CONFIG_DIRECTORY, "rtl8723bs_VQ0_config");
else
diff --git a/external/bluetooth/bluedroid/hci/src/bt_hci_bdroid.c b/external/bluetooth/bluedroid/hci/src/bt_hci_bdroid.c
index 8feaee265b..a04c195a1a 100755
--- a/external/bluetooth/bluedroid/hci/src/bt_hci_bdroid.c
+++ b/external/bluetooth/bluedroid/hci/src/bt_hci_bdroid.c
@@ -344,7 +344,7 @@ static int init(const bt_hc_callbacks_t* p_cb, unsigned char *local_bdaddr)
#else//if defined HCI_USE_RTK_H5
extern int check_wifi_chip_type_string(char *type);
check_wifi_chip_type_string(type);
- if (!strncmp(type, "RTL8723BS", 9)) {
+ if (!strncmp(type, "RTL8723BS", 9) || !strncmp(type, "RTL8723DS", 9)) {
extern tHCI_IF hci_h5_func_table;
p_hci_if = &hci_h5_func_table;
ALOGD("%s, use hci h5", __func__);
diff --git a/external/bluetooth/bluedroid/hci/src/vendor.c b/external/bluetooth/bluedroid/hci/src/vendor.c
index 4d09574243..ff2ae9f005 100755
--- a/external/bluetooth/bluedroid/hci/src/vendor.c
+++ b/external/bluetooth/bluedroid/hci/src/vendor.c
@@ -65,7 +65,7 @@ bool vendor_open(const uint8_t *local_bdaddr) {
extern int check_wifi_chip_type_string(char *type);
check_wifi_chip_type_string(type);
- if (!strncmp(type, "RTL8723BS", 9)) {
+ if (!strncmp(type, "RTL8723BS", 9) || !strncmp(type, "RTL8723DS", 9)) {
strcpy(vendor_so, "libbt-vendor-rtl8723bs.so");
} else if (!strcmp(type, "RTL8723BU")) {
strcpy(vendor_so, "libbt-vendor-rtl8723bu.so");
diff --git a/external/bluetooth_rtk/bluedroid/hci/src/bt_hci_bdroid.c b/external/bluetooth_rtk/bluedroid/hci/src/bt_hci_bdroid.c
index a7ac86e005..71a7ee0ce9 100755
--- a/external/bluetooth_rtk/bluedroid/hci/src/bt_hci_bdroid.c
+++ b/external/bluetooth_rtk/bluedroid/hci/src/bt_hci_bdroid.c
@@ -344,8 +344,10 @@ static int init(const bt_hc_callbacks_t* p_cb, unsigned char *local_bdaddr)
#else//if defined HCI_USE_RTK_H5
extern int check_wifi_chip_type_string(char *type);
check_wifi_chip_type_string(type);
+ ALOGD("LOUHN:in hci type=%s",type);
if (!strncmp(type, "RTL8723BS", 9) ||
- !strncmp(type, "RTL8723CS", 9)) {
+ !strncmp(type, "RTL8723CS", 9) ||
+ !strncmp(type, "RTL8723DS", 9)) {
extern tHCI_IF hci_h5_func_table;
p_hci_if = &hci_h5_func_table;
ALOGD("%s, use hci h5", __func__);
diff --git a/external/bluetooth_rtk/bluedroid/hci/src/vendor.c b/external/bluetooth_rtk/bluedroid/hci/src/vendor.c
index e440fcc3e8..546056d1c8 100755
--- a/external/bluetooth_rtk/bluedroid/hci/src/vendor.c
+++ b/external/bluetooth_rtk/bluedroid/hci/src/vendor.c
@@ -65,8 +65,10 @@ bool vendor_open(const uint8_t *local_bdaddr) {
extern int check_wifi_chip_type_string(char *type);
check_wifi_chip_type_string(type);
+ ALOGD("LOUHN:type=%s",type);
if (!strncmp(type, "RTL8723BS", 9) ||
- !strncmp(type, "RTL8723CS", 9)) {
+ !strncmp(type, "RTL8723CS", 9) ||
+ !strncmp(type, "RTL8723DS", 9)) {
strcpy(vendor_so, "libbt-vendor-rtl8723bs.so");
} else if (!strncmp(&type[7], "BU", 2) || // like RTL8723AU/BU RTL8811AU
!strncmp(&type[7], "AU", 2)) {
diff --git a/kernel/arch/arm/boot/dts/rk3288-box.dts b/kernel/arch/arm/boot/dts/rk3288-box.dts
index 63537738d9..9347af57a8 100644
--- a/kernel/arch/arm/boot/dts/rk3288-box.dts
+++ b/kernel/arch/arm/boot/dts/rk3288-box.dts
@@ -57,7 +57,7 @@
* esp8089 ==> esp8089;
* other ==> for other wifi;
*/
- wifi_chip_type = "ap6256";
+ wifi_chip_type = "rtl8723ds";
sdio_vref = <3300>; //1800mv or 3300mv
//keep_wifi_power_on;
diff --git a/kernel/arch/arm/configs/hzmct_defconfig b/kernel/arch/arm/configs/hzmct_defconfig
index 433b1941f2..ea5a92615d 100644
--- a/kernel/arch/arm/configs/hzmct_defconfig
+++ b/kernel/arch/arm/configs/hzmct_defconfig
@@ -1424,7 +1424,7 @@ CONFIG_WLAN=y
CONFIG_WIFI_LOAD_DRIVER_WHEN_KERNEL_BOOTUP=y
CONFIG_RTL_WIRELESS_SOLUTION=y
# CONFIG_RTL_WIFI_NONE is not set
-CONFIG_RTL8188EU=y
+# CONFIG_RTL8188EU is not set
# CONFIG_RTL8189ES is not set
# CONFIG_RTL8192CU is not set
# CONFIG_RTL8192DU is not set
@@ -1433,6 +1433,7 @@ CONFIG_RTL8188EU=y
# CONFIG_RTL8723BS is not set
# CONFIG_RTL8723BS_VQ0 is not set
# CONFIG_RTL8812AU is not set
+CONFIG_RTL8723DS=y
CONFIG_ESP8089=y
CONFIG_RKWIFI=y
# CONFIG_BCM4330 is not set
diff --git a/kernel/drivers/net/wireless/Kconfig b/kernel/drivers/net/wireless/Kconfig
index 544aa86f0d..813cc33591 100755
--- a/kernel/drivers/net/wireless/Kconfig
+++ b/kernel/drivers/net/wireless/Kconfig
@@ -53,6 +53,7 @@ source "drivers/net/wireless/rockchip_wlan/rtl8723bu/Kconfig"
source "drivers/net/wireless/rockchip_wlan/rtl8723bs/Kconfig"
source "drivers/net/wireless/rockchip_wlan/rtl8723bs-vq0/Kconfig"
source "drivers/net/wireless/rockchip_wlan/rtl8812au/Kconfig"
+source "drivers/net/wireless/rockchip_wlan/rtl8723DS/Kconfig"
endchoice
endif
diff --git a/kernel/drivers/net/wireless/Makefile b/kernel/drivers/net/wireless/Makefile
index fb61bb0007..fdc79beba3 100755
--- a/kernel/drivers/net/wireless/Makefile
+++ b/kernel/drivers/net/wireless/Makefile
@@ -11,5 +11,6 @@ obj-$(CONFIG_RTL8723BU) += rockchip_wlan/rtl8723bu/
obj-$(CONFIG_RTL8812AU) += rockchip_wlan/rtl8812au/
obj-$(CONFIG_RKWIFI) += rockchip_wlan/rkwifi/
obj-$(CONFIG_RTL8723BS) += rockchip_wlan/rtl8723bs/
+obj-$(CONFIG_RTL8723DS) += rockchip_wlan/rtl8723DS/
obj-$(CONFIG_RTL8723BS_VQ0) += rockchip_wlan/rtl8723bs-vq0/
obj-$(CONFIG_ESP8089) += rockchip_wlan/esp8089/
diff --git a/kernel/drivers/net/wireless/rockchip_wlan/wifi_sys/rkwifi_sys_iface.c b/kernel/drivers/net/wireless/rockchip_wlan/wifi_sys/rkwifi_sys_iface.c
index f90f6c842e..9f62c2d745 100755
--- a/kernel/drivers/net/wireless/rockchip_wlan/wifi_sys/rkwifi_sys_iface.c
+++ b/kernel/drivers/net/wireless/rockchip_wlan/wifi_sys/rkwifi_sys_iface.c
@@ -123,6 +123,11 @@ static ssize_t wifi_chip_read(struct class *cls, struct class_attribute *attr, c
printk("Current WiFi chip is ESP8089.n");
}
+ if(type == WIFI_RTL8723DS) {
+ count = sprintf(_buf, "%s", "RTL8723DS");
+ printk("Current WiFi chip is RTL8723DS.n");
+ }
+
return count;
}
diff --git a/kernel/include/linux/rfkill-wlan.h b/kernel/include/linux/rfkill-wlan.h
index 8b34fafa5d..cbaa62f704 100755
--- a/kernel/include/linux/rfkill-wlan.h
+++ b/kernel/include/linux/rfkill-wlan.h
@@ -66,6 +66,7 @@ enum {
WIFI_RTL8723AU,
WIFI_RTL8189ES,
WIFI_RTL8812AU,
+ WIFI_RTL8723DS,
WIFI_RTL_SERIES,
WIFI_ESP8089,
TYPE_MAX,
diff --git a/kernel/net/rfkill/rfkill-wlan.c b/kernel/net/rfkill/rfkill-wlan.c
index d42163570a..8fd5a22ea5 100755
--- a/kernel/net/rfkill/rfkill-wlan.c
+++ b/kernel/net/rfkill/rfkill-wlan.c
@@ -143,7 +143,9 @@ int get_wifi_chip_type(void)
} else if (strcmp(wifi_chip_type_string, "rtl8189es") == 0) {
type = WIFI_RTL8189ES;
} else if (strcmp(wifi_chip_type_string, "rtl8812au") == 0) {
- type = WIFI_RTL8812AU;
+ type = WIFI_RTL8812AU;
+ } else if (strcmp(wifi_chip_type_string, "rtl8723ds") == 0) {
+ type = WIFI_RTL8723DS;
} else if (strcmp(wifi_chip_type_string, "esp8089") == 0) {
type = WIFI_ESP8089;
} else {
diff --git a/vendor/rockchip/common/bluetooth/realtek/firmware/uart/rtlbtfw_cfg.mk b/vendor/rockchip/common/bluetooth/realtek/firmware/uart/rtlbtfw_cfg.mk
index fb9f1c5334..f81f1027ae 100755
--- a/vendor/rockchip/common/bluetooth/realtek/firmware/uart/rtlbtfw_cfg.mk
+++ b/vendor/rockchip/common/bluetooth/realtek/firmware/uart/rtlbtfw_cfg.mk
@@ -5,6 +5,8 @@ PRODUCT_COPY_FILES +=
$(LOCAL_PATH)/rtl8723b_config:system/etc/firmware/rtl8723bs_config
$(LOCAL_PATH)/rtl8723b_VQ0_fw:system/etc/firmware/rtl8723bs_VQ0_fw
$(LOCAL_PATH)/rtl8723b_VQ0_config:system/etc/firmware/rtl8723bs_VQ0_config
+ $(LOCAL_PATH)/rtl8723ds_fw:system/etc/firmware/rtl8723ds_fw
+ $(LOCAL_PATH)/rtl8723ds_config:system/etc/firmware/rtl8723ds_config
$(LOCAL_PATH)/rtl8761a_fw:system/etc/firmware/rtl8761as_fw
$(LOCAL_PATH)/rtl8761a_config:system/etc/firmware/rtl8761as_config
$(LOCAL_PATH)/rtl8821a_fw:system/etc/firmware/rtl8821as_fw
举报