From: lintao Date: Wed, 4 Sep 2013 03:33:30 +0000 (+0800) Subject: wifi:bt: add kernel-itf for rk combo(2in1,3in1) X-Git-Tag: firefly_0821_release~6666 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3d11847a737502b42e2a97761f747133a8e8e97c;p=firefly-linux-kernel-4.4.55.git wifi:bt: add kernel-itf for rk combo(2in1,3in1) --- 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; }