WIFI: support mt7601u usb wifi
authorlintao <lintao@rock-chips.com>
Mon, 13 May 2013 02:52:02 +0000 (10:52 +0800)
committerlintao <lintao@rock-chips.com>
Mon, 13 May 2013 02:55:14 +0000 (10:55 +0800)
drivers/net/wireless/Kconfig
drivers/net/wireless/Makefile
drivers/net/wireless/rkusbwifi/Makefile
drivers/net/wireless/rkusbwifi/mt7601/Kconfig [new file with mode: 0755]
drivers/net/wireless/wifi_sys/rkwifi_sys_iface.c

index 697b18a973700d9143433c4eb4cb214cee7f70a2..fb3fe1a81fb030b91ce8132aaddbd4fa4fcf0308 100755 (executable)
@@ -108,6 +108,7 @@ source "drivers/net/wireless/rkusbwifi/rtl8192cu/Kconfig"
 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/rkusbwifi/mt7601/Kconfig"
 source "drivers/net/wireless/ar6003/Kconfig"
 source "drivers/net/wireless/rtl8723as/Kconfig"
 source "drivers/net/wireless/rkwifi/Kconfig"
index 64d1d3ed42390fe6aa4155bbf314d5938727a0ac..3ad41063d2de5848b19632a1cbea2d274e942861 100755 (executable)
@@ -15,4 +15,5 @@ obj-$(CONFIG_RDA5990) += rda5990/
 obj-$(CONFIG_MT5931)  += mt5931/
 obj-$(CONFIG_MT5931_MT6622)  += mt5931/
 obj-$(CONFIG_RTL8723AS) += rtl8723as/
+obj-$(CONFIG_MT7601)   += rkusbwifi/
 #obj-m += wlan/
index c00980b17bf677f119cb01271f832bdda8a0b1cd..d598e47b66742da2d860544a10e43dae27eb2f50 100755 (executable)
@@ -9,7 +9,7 @@ obj-$(CONFIG_RTL8188EU) += rkcfg.o
 obj-$(CONFIG_RTL8192CU) += rkcfg.o
 obj-$(CONFIG_RTL8723AU) += rkcfg.o
 obj-$(CONFIG_RT5370) += rkcfg.o
-
+obj-$(CONFIG_MT7601) += rkcfg.o
 .PHONY: clean
 
 clean:
diff --git a/drivers/net/wireless/rkusbwifi/mt7601/Kconfig b/drivers/net/wireless/rkusbwifi/mt7601/Kconfig
new file mode 100755 (executable)
index 0000000..23a906b
--- /dev/null
@@ -0,0 +1,8 @@
+config MT7601
+       tristate "Mediatek MT7601 USB WiFi Support"
+       select WIRELESS_EXT
+       select WEXT_PRIV
+       select IEEE80211
+       ---help---
+         Help message of MT7601
+
index 84180e0762b996d553e9c131945d196e14b59309..b36efa2d8c77116f3f8539ae51ca047a747e462b 100755 (executable)
@@ -107,6 +107,12 @@ static ssize_t wifi_chip_read(struct class *cls, char *_buf)
     printk("Current WiFi chip is MT5931.\n");
 #endif
 
+#ifdef CONFIG_MT7601
+    count = sprintf(_buf, "%s", "MT7601");
+    printk("Current WiFi chip is MT7601.\n");
+#endif
+
+
 #ifdef CONFIG_RTL8723AS
     count = sprintf(_buf, "%s", "RTL8723AS");
     printk("Current WiFi chip is RTL8723AS.\n");