wifi:bt: add kernel-itf for rk combo(2in1,3in1)
authorlintao <lintao@rock-chips.com>
Wed, 4 Sep 2013 03:33:30 +0000 (11:33 +0800)
committerlintao <lintao@rock-chips.com>
Wed, 4 Sep 2013 03:33:30 +0000 (11:33 +0800)
drivers/net/wireless/esp8089/Kconfig
drivers/net/wireless/wifi_sys/rkwifi_sys_iface.c

index c5430c536e2bd660a17b474b7cf772369688eb4f..49e0459a0d8c310a408a56048ddc25d6ed375ba8 100755 (executable)
@@ -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
 
index 66b20b4aac3683b6efaa3cedd2bb580aa99e66fb..4693c041d4bfb980de71d1a18a169b6962f1e786 100755 (executable)
@@ -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;
 }