From 3d11847a737502b42e2a97761f747133a8e8e97c Mon Sep 17 00:00:00 2001 From: lintao Date: Wed, 4 Sep 2013 11:33:30 +0800 Subject: [PATCH] wifi:bt: add kernel-itf for rk combo(2in1,3in1) --- drivers/net/wireless/esp8089/Kconfig | 11 +++++++++++ drivers/net/wireless/wifi_sys/rkwifi_sys_iface.c | 6 +++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/esp8089/Kconfig b/drivers/net/wireless/esp8089/Kconfig index c5430c536e2b..49e0459a0d8c 100755 --- a/drivers/net/wireless/esp8089/Kconfig +++ b/drivers/net/wireless/esp8089/Kconfig @@ -8,4 +8,15 @@ bool "Espressif 8089 sdio Wi-Fi" ---help--- Espressif 8089 sdio Wi-Fi support + + config ESP8089_BK3515A + depends on WLAN_80211 && MMC + select WIRELESS_EXT + select WEXT_PRIV + select CFG80211 + select MAC80211 + select NL80211_TESTMODE + bool "Espressif 8089 sdio Wi-Fi combo with BK3515A bluetooth" + ---help--- + RK Wi-Fi+BT+[GPS optional] Combo module support diff --git a/drivers/net/wireless/wifi_sys/rkwifi_sys_iface.c b/drivers/net/wireless/wifi_sys/rkwifi_sys_iface.c index 66b20b4aac36..4693c041d4bf 100755 --- a/drivers/net/wireless/wifi_sys/rkwifi_sys_iface.c +++ b/drivers/net/wireless/wifi_sys/rkwifi_sys_iface.c @@ -192,7 +192,11 @@ static ssize_t wifi_chip_read(struct class *cls, char *_buf) count = sprintf(_buf, "%s", "ESP8089"); printk("Current WiFi chip is ESP8089.\n"); #endif - + +#ifdef CONFIG_ESP8089_BK3515A + count = sprintf(_buf, "%s", "ESP8089_BK3515A"); + printk("Current WiFi chip is ESP8089+BK3515A+[GPS optional].\n"); +#endif return count; } -- 2.34.1