source: trunk/package/kernel/modules/wireless.mk @ 25518

Last change on this file since 25518 was 25518, checked in by nbd, 5 years ago

make all wext wifi drivers select DRIVER_WEXT_SUPPORT, so that hostapd/wpa_supplicant can make it optional

  • Property svn:eol-style set to native
File size: 3.8 KB
Line 
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
8WIRELESS_MENU:=Wireless Drivers
9
10define KernelPackage/lib80211
11  SUBMENU:=$(WIRELESS_MENU)
12  TITLE:=802.11 Networking stack
13  KCONFIG:= \
14        CONFIG_LIB80211 \
15        CONFIG_LIB80211_CRYPT_WEP \
16        CONFIG_LIB80211_CRYPT_TKIP \
17        CONFIG_LIB80211_CRYPT_CCMP
18  FILES:= \
19        $(LINUX_DIR)/net/wireless/lib80211.ko \
20        $(LINUX_DIR)/net/wireless/lib80211_crypt_wep.ko \
21        $(LINUX_DIR)/net/wireless/lib80211_crypt_ccmp.ko \
22        $(LINUX_DIR)/net/wireless/lib80211_crypt_tkip.ko
23  AUTOLOAD:=$(call AutoLoad,10, \
24        lib80211 \
25        lib80211_crypt_wep \
26        lib80211_crypt_ccmp \
27        lib80211_crypt_tkip \
28  )
29endef
30
31define KernelPackage/lib80211/description
32 Kernel modules for 802.11 Networking stack
33 Includes:
34 - lib80211
35 - lib80211_crypt_wep
36 - lib80211_crypt_tkip
37 - lib80211_crytp_ccmp
38endef
39
40$(eval $(call KernelPackage,lib80211))
41
42define KernelPackage/net-airo
43  SUBMENU:=$(WIRELESS_MENU)
44  TITLE:=Cisco Aironet driver
45  DEPENDS:=@PCI_SUPPORT +@DRIVER_WEXT_SUPPORT
46  KCONFIG:=CONFIG_AIRO
47  FILES:=$(LINUX_DIR)/drivers/net/wireless/airo.ko
48  AUTOLOAD:=$(call AutoLoad,50,airo)
49endef
50
51define KernelPackage/net-airo/description
52 Kernel support for Cisco Aironet cards
53endef
54
55$(eval $(call KernelPackage,net-airo))
56
57
58define KernelPackage/net-zd1201
59  SUBMENU:=$(WIRELESS_MENU)
60  TITLE:=Zydas ZD1201 support
61  DEPENDS:=@USB_SUPPORT
62  KCONFIG:=CONFIG_USB_ZD1201 +@DRIVER_WEXT_SUPPORT
63  FILES:=$(LINUX_DIR)/drivers/net/wireless/zd1201.$(LINUX_KMOD_SUFFIX)
64  AUTOLOAD:=$(call AutoLoad,60,zd1201)
65endef
66
67define KernelPackage/net-zd1201/description
68 Kernel modules for Zydas ZD1201 support
69 Devices using this chip:
70   * Sweex LC100020
71   * Zyxel ZyAir B-220
72   * Peabird USB
73   * Gigafast WF741-UIC
74   * E-Tech Wireless USB Adapter
75   * DSE 802.11b USB wireless LAN adapter
76   * CC and C WLAN USB Adapter (WL 1202)
77   * Edimax EW-7117U
78   * X-Micro WLAN 11b USB Adapter
79   * Belkin F5D6051
80   * Topcom SKYR@CER WIRELESS USB STICK 11
81   * Surecom EP-9001
82   * JAHT WN-1011U
83   * BeWAN Wi-Fi USB 11
84   * NorthQ NQ9000
85   * MSI UB11B
86   * Origo WLL-1610
87   * Longshine LCS-8131R
88   * Gigabyte GN-WLBZ201
89endef
90
91ZD1201FW_NAME:=zd1201
92ZD1201FW_VERSION:=0.14
93ZD1201FW_DIR:=$(ZD1201FW_NAME)-$(ZD1201FW_VERSION)-fw
94ZD1201FW_FILE:=$(ZD1201FW_DIR).tar.gz
95
96define Download/net-zd1201
97  FILE:=$(ZD1201FW_FILE)
98  #http://downloads.sourceforge.net/project/linux-lc100020/%28NEW%29%20zd1201%20driver/zd1201.%20Version%200.14/zd1201-0.14-fw.tar.gz
99  URL:=@SF/linux-lc100020/\(NEW\)\ $(ZD1201FW_NAME)\ driver/$(ZD1201FW_NAME).\ Version\ $(ZD1201FW_VERSION)/
100  MD5SUM:=07a4febc365121f975e2c5e59791d55d
101endef
102
103define KernelPackage/net-zd1201/install
104        $(INSTALL_DIR) $(1)/lib/firmware
105        $(TAR) -C $(1)/lib/firmware -zxf $(DL_DIR)/$(ZD1201FW_FILE) --strip-components=1 $(ZD1201FW_DIR)/$(ZD1201FW_NAME).fw $(ZD1201FW_DIR)/$(ZD1201FW_NAME)-ap.fw
106endef
107
108$(eval $(call Download,net-zd1201))
109$(eval $(call KernelPackage,net-zd1201))
110
111
112define KernelPackage/net-prism54
113  SUBMENU:=$(WIRELESS_MENU)
114  TITLE:=Intersil Prism54 support
115  DEPENDS:=@PCI_SUPPORT +@DRIVER_WEXT_SUPPORT
116  KCONFIG:=CONFIG_PRISM54
117  FILES:=$(LINUX_DIR)/drivers/net/wireless/prism54/prism54.ko
118  AUTOLOAD:=$(call AutoLoad,60,prism54)
119endef
120
121define KernelPackage/net-prism54/description
122 Kernel modules for Intersil Prism54 support
123endef
124
125# Prism54 FullMAC firmware (jbnore.free.fr seems to be rather slow, so we use daemonizer.de)
126PRISM54_FW:=1.0.4.3.arm
127
128define Download/net-prism54
129  FILE:=$(PRISM54_FW)
130  URL:=http://daemonizer.de/prism54/prism54-fw/fw-fullmac/
131  MD5SUM:=8bd4310971772a486b9784c77f8a6df9
132endef
133
134define KernelPackage/net-prism54/install
135        $(INSTALL_DIR) $(1)/lib/firmware
136        $(INSTALL_DATA) $(DL_DIR)/$(PRISM54_FW) $(1)/lib/firmware/isl3890
137endef
138
139$(eval $(call Download,net-prism54))
140$(eval $(call KernelPackage,net-prism54))
141
Note: See TracBrowser for help on using the repository browser.