| 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/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 | ) |
| 29 | endef |
| 30 | |
| 31 | define 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 |
| 38 | endef |
| 39 | |
| 40 | $(eval $(call KernelPackage,lib80211)) |
| 41 | |
| 42 | define 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) |
| 49 | endef |
| 50 | |
| 51 | define KernelPackage/net-airo/description |
| 52 | Kernel support for Cisco Aironet cards |
| 53 | endef |
| 54 | |
| 55 | $(eval $(call KernelPackage,net-airo)) |
| 56 | |
| 57 | |
| 58 | define KernelPackage/net-zd1201 |
| 59 | SUBMENU:=$(WIRELESS_MENU) |
| 60 | TITLE:=Zydas ZD1201 support |
| 61 | DEPENDS:=@USB_SUPPORT +@DRIVER_WEXT_SUPPORT |
| 62 | KCONFIG:=CONFIG_USB_ZD1201 |
| 63 | FILES:=$(LINUX_DIR)/drivers/net/wireless/zd1201.ko |
| 64 | AUTOLOAD:=$(call AutoLoad,60,zd1201) |
| 65 | endef |
| 66 | |
| 67 | define 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 |
| 89 | endef |
| 90 | |
| 91 | ZD1201FW_NAME:=zd1201 |
| 92 | ZD1201FW_VERSION:=0.14 |
| 93 | ZD1201FW_DIR:=$(ZD1201FW_NAME)-$(ZD1201FW_VERSION)-fw |
| 94 | ZD1201FW_FILE:=$(ZD1201FW_DIR).tar.gz |
| 95 | |
| 96 | define 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 |
| 101 | endef |
| 102 | |
| 103 | define 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 |
| 106 | endef |
| 107 | |
| 108 | $(eval $(call Download,net-zd1201)) |
| 109 | $(eval $(call KernelPackage,net-zd1201)) |
| 110 | |
| 111 | |
| 112 | define 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) |
| 119 | endef |
| 120 | |
| 121 | define KernelPackage/net-prism54/description |
| 122 | Kernel modules for Intersil Prism54 support |
| 123 | endef |
| 124 | |
| 125 | # Prism54 FullMAC firmware (jbnore.free.fr seems to be rather slow, so we use daemonizer.de) |
| 126 | PRISM54_FW:=1.0.4.3.arm |
| 127 | |
| 128 | define Download/net-prism54 |
| 129 | FILE:=$(PRISM54_FW) |
| 130 | URL:=http://daemonizer.de/prism54/prism54-fw/fw-fullmac/ |
| 131 | MD5SUM:=8bd4310971772a486b9784c77f8a6df9 |
| 132 | endef |
| 133 | |
| 134 | define KernelPackage/net-prism54/install |
| 135 | $(INSTALL_DIR) $(1)/lib/firmware |
| 136 | $(INSTALL_DATA) $(DL_DIR)/$(PRISM54_FW) $(1)/lib/firmware/isl3890 |
| 137 | endef |
| 138 | |
| 139 | $(eval $(call Download,net-prism54)) |
| 140 | $(eval $(call KernelPackage,net-prism54)) |
| 141 | |
| 142 | |