From: gwl Date: Wed, 27 Mar 2013 06:59:27 +0000 (+0800) Subject: add broadcom wifi GB86302I (dual band) support. X-Git-Tag: firefly_0821_release~7339 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f8fc19cdc5f171db14901325d0bbfcafda30200b;p=firefly-linux-kernel-4.4.55.git add broadcom wifi GB86302I (dual band) support. --- diff --git a/drivers/net/wireless/Kconfig b/drivers/net/wireless/Kconfig index 8300172767f9..0fb3cf01f7e1 100755 --- a/drivers/net/wireless/Kconfig +++ b/drivers/net/wireless/Kconfig @@ -132,6 +132,10 @@ choice bool "AP6493" depends on RKWIFI && WLAN_80211 + config GB86302I + bool "GB86302I" + depends on RKWIFI && WLAN_80211 + endchoice choice diff --git a/drivers/net/wireless/wifi_sys/rkwifi_sys_iface.c b/drivers/net/wireless/wifi_sys/rkwifi_sys_iface.c index 7cbf9baf922f..33642a807671 100755 --- a/drivers/net/wireless/wifi_sys/rkwifi_sys_iface.c +++ b/drivers/net/wireless/wifi_sys/rkwifi_sys_iface.c @@ -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");