add broadcom wifi GB86302I (dual band) support.
authorgwl <gwl@rock-chips.com>
Wed, 27 Mar 2013 06:59:27 +0000 (14:59 +0800)
committergwl <gwl@rock-chips.com>
Wed, 27 Mar 2013 06:59:48 +0000 (14:59 +0800)
drivers/net/wireless/Kconfig
drivers/net/wireless/wifi_sys/rkwifi_sys_iface.c

index 8300172767f93911c363d87be27f190ccd89bb2a..0fb3cf01f7e1cb3ad16a16d02c7c051f4373e758 100755 (executable)
@@ -132,6 +132,10 @@ choice
                bool "AP6493"
                depends on RKWIFI && WLAN_80211
 
+       config GB86302I
+               bool "GB86302I"
+               depends on RKWIFI && WLAN_80211
+
 endchoice
 
 choice 
index 7cbf9baf922f8a0e620cfc95b13ce84a2b30a6f0..33642a8076712ee6564643bf724dde0ab2532a29 100755 (executable)
@@ -70,6 +70,11 @@ static ssize_t wifi_chip_read(struct class *cls, char *_buf)
     printk("Current WiFi chip is AP6493.\n");
 #endif
 
+#ifdef CONFIG_GB86302I
+    count = sprintf(_buf, "%s", "RK903");
+    printk("Current WiFi chip is GB86302I.\n");
+#endif
+
 #ifdef CONFIG_MTK_COMBO
        count = sprintf(_buf, "%s", "MT6620");
        printk("Current WiFi chip is MT6620.\n");