65b764276a9b480045d92a4f01edc4e3d53c4686
[openwrt/openwrt.git] / package / kernel / linux / modules / wireless.mk
1 #
2 # Copyright (C) 2006-2008 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 WIRELESS_MENU:=Wireless Drivers
9
10 define KernelPackage/net-airo
11 SUBMENU:=$(WIRELESS_MENU)
12 TITLE:=Cisco Aironet driver
13 DEPENDS:=@PCI_SUPPORT +@DRIVER_WEXT_SUPPORT
14 KCONFIG:=CONFIG_AIRO
15 FILES:=$(LINUX_DIR)/drivers/net/wireless/airo.ko
16 AUTOLOAD:=$(call AutoProbe,airo)
17 endef
18
19 define KernelPackage/net-airo/description
20 Kernel support for Cisco Aironet cards
21 endef
22
23 $(eval $(call KernelPackage,net-airo))
24
25
26 define KernelPackage/net-prism54
27 SUBMENU:=$(WIRELESS_MENU)
28 TITLE:=Intersil Prism54 support
29 DEPENDS:=@PCI_SUPPORT +@DRIVER_WEXT_SUPPORT
30 KCONFIG:=CONFIG_PRISM54
31 FILES:=$(LINUX_DIR)/drivers/net/wireless/prism54/prism54.ko
32 AUTOLOAD:=$(call AutoProbe,prism54)
33 endef
34
35 define KernelPackage/net-prism54/description
36 Kernel modules for Intersil Prism54 support
37 endef
38
39 # Prism54 FullMAC firmware (jbnore.free.fr seems to be rather slow, so we use daemonizer.de)
40 PRISM54_FW:=1.0.4.3.arm
41
42 define Download/net-prism54
43 FILE:=$(PRISM54_FW)
44 URL:=http://daemonizer.de/prism54/prism54-fw/fw-fullmac/
45 MD5SUM:=8bd4310971772a486b9784c77f8a6df9
46 endef
47
48 define KernelPackage/net-prism54/install
49 $(INSTALL_DIR) $(1)/lib/firmware
50 $(INSTALL_DATA) $(DL_DIR)/$(PRISM54_FW) $(1)/lib/firmware/isl3890
51 endef
52
53 $(eval $(call Download,net-prism54))
54 $(eval $(call KernelPackage,net-prism54))
55
56 define KernelPackage/net-rtl8188eu
57 SUBMENU:=$(WIRELESS_MENU)
58 TITLE:=RTL8188EU support (staging)
59 DEPENDS:=@!LINUX_3_10 @USB_SUPPORT +@DRIVER_WEXT_SUPPORT +r8188eu-firmware +kmod-usb-core
60 KCONFIG:=\
61 CONFIG_STAGING=y \
62 CONFIG_R8188EU \
63 CONFIG_88EU_AP_MODE=y \
64 CONFIG_88EU_P2P=n
65 FILES:=$(LINUX_DIR)/drivers/staging/rtl8188eu/r8188eu.ko
66 AUTOLOAD:=$(call AutoProbe,r8188eu)
67 endef
68
69 define KernelPackage/net-rtl8188eu/description
70 Kernel modules for RealTek RTL8188EU support
71 endef
72
73 $(eval $(call KernelPackage,net-rtl8188eu))
74
75
76 define KernelPackage/net-rtl8723au
77 SUBMENU:=$(WIRELESS_MENU)
78 TITLE:=RTL8723AU support (staging)
79 DEPENDS:=@!LINUX_3_10 @USB_SUPPORT +@DRIVER_WEXT_SUPPORT +r8188eu-firmware +kmod-usb-core
80 KCONFIG:=\
81 CONFIG_STAGING=y \
82 CONFIG_R8723AU \
83 CONFIG_8723AU_AP_MODE=y \
84 CONFIG_8723AU_BT_COEXIST=y
85 FILES:=$(LINUX_DIR)/drivers/staging/rtl8723au/r8723au.ko
86 AUTOLOAD:=$(call AutoProbe,r8723au)
87 endef
88
89 define KernelPackage/net-rtl8723au/description
90 Kernel modules for RealTek RTL8723AU support
91 endef
92
93 $(eval $(call KernelPackage,net-rtl8723au))
94
95
96 define KernelPackage/net-rtl8192su
97 SUBMENU:=$(WIRELESS_MENU)
98 TITLE:=RTL8192SU support (staging)
99 DEPENDS:=@USB_SUPPORT +@DRIVER_WEXT_SUPPORT +kmod-usb-core
100 KCONFIG:=\
101 CONFIG_STAGING=y \
102 CONFIG_R8712U
103 FILES:=$(LINUX_DIR)/drivers/staging/rtl8712/r8712u.ko
104 AUTOLOAD:=$(call AutoProbe,r8712u)
105 endef
106
107 define KernelPackage/net-rtl8192su/description
108 Kernel modules for RealTek RTL8712 and RTL81XXSU fullmac support.
109 endef
110
111 # R8712 FullMAC firmware
112 R8712_FW:=rtl8712u.bin
113
114 define Download/net-rtl8192su
115 FILE:=$(R8712_FW)
116
117 URL:=http://mirrors.arizona.edu/raspbmc/downloads/bin/lib/wifi/rtlwifi/
118 MD5SUM:=8e6396b5844a3e279ae8679555dec3f0
119 endef
120
121 define KernelPackage/net-rtl8192su/install
122 $(INSTALL_DIR) $(1)/lib/firmware/rtlwifi
123 $(INSTALL_DATA) $(DL_DIR)/$(R8712_FW) $(1)/lib/firmware/rtlwifi/
124 endef
125
126 $(eval $(call Download,net-rtl8192su))
127 $(eval $(call KernelPackage,net-rtl8192su))