From: wdc Date: Fri, 10 May 2013 09:56:18 +0000 (+0800) Subject: wifi: add rtl8723as X-Git-Tag: firefly_0821_release~7111 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c9efb91c5efc255222b514c4a6a5d73a9beebc03;p=firefly-linux-kernel-4.4.55.git wifi: add rtl8723as --- diff --git a/drivers/net/wireless/Kconfig b/drivers/net/wireless/Kconfig index 704934e26c87..697b18a97370 100755 --- a/drivers/net/wireless/Kconfig +++ b/drivers/net/wireless/Kconfig @@ -109,6 +109,7 @@ source "drivers/net/wireless/rkusbwifi/rtl8188eu/Kconfig" source "drivers/net/wireless/rkusbwifi/rtl8723au/Kconfig" source "drivers/net/wireless/rkusbwifi/rt5370/Kconfig" source "drivers/net/wireless/ar6003/Kconfig" +source "drivers/net/wireless/rtl8723as/Kconfig" source "drivers/net/wireless/rkwifi/Kconfig" endchoice diff --git a/drivers/net/wireless/Makefile b/drivers/net/wireless/Makefile index 9c826e954592..64d1d3ed4239 100755 --- a/drivers/net/wireless/Makefile +++ b/drivers/net/wireless/Makefile @@ -14,4 +14,5 @@ obj-$(CONFIG_RKWIFI) += rkwifi/ obj-$(CONFIG_RDA5990) += rda5990/ obj-$(CONFIG_MT5931) += mt5931/ obj-$(CONFIG_MT5931_MT6622) += mt5931/ +obj-$(CONFIG_RTL8723AS) += rtl8723as/ #obj-m += wlan/ diff --git a/drivers/net/wireless/rtl8723as/Kconfig b/drivers/net/wireless/rtl8723as/Kconfig new file mode 100755 index 000000000000..43f9697fa814 --- /dev/null +++ b/drivers/net/wireless/rtl8723as/Kconfig @@ -0,0 +1,8 @@ + config RTL8723AS + tristate "Realtek 8723AS SDIO WiFi Support" + depends on WLAN_80211 && MMC + select WIRELESS_EXT + select WEXT_PRIV + select IEEE80211 + ---help--- + Help message of RTL8723AS diff --git a/drivers/net/wireless/wifi_sys/rkwifi_sys_iface.c b/drivers/net/wireless/wifi_sys/rkwifi_sys_iface.c index 28678124061d..84180e0762b9 100755 --- a/drivers/net/wireless/wifi_sys/rkwifi_sys_iface.c +++ b/drivers/net/wireless/wifi_sys/rkwifi_sys_iface.c @@ -107,6 +107,11 @@ static ssize_t wifi_chip_read(struct class *cls, char *_buf) printk("Current WiFi chip is MT5931.\n"); #endif +#ifdef CONFIG_RTL8723AS + count = sprintf(_buf, "%s", "RTL8723AS"); + printk("Current WiFi chip is RTL8723AS.\n"); +#endif + return count; }