From f8fc19cdc5f171db14901325d0bbfcafda30200b Mon Sep 17 00:00:00 2001 From: gwl Date: Wed, 27 Mar 2013 14:59:27 +0800 Subject: [PATCH] add broadcom wifi GB86302I (dual band) support. --- drivers/net/wireless/Kconfig | 4 ++++ drivers/net/wireless/wifi_sys/rkwifi_sys_iface.c | 5 +++++ 2 files changed, 9 insertions(+) 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"); -- 2.34.1