2006-06-27 00:35:46 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2006 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
2006-06-17 09:28:39 +00:00
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
2006-06-21 02:32:39 +00:00
|
|
|
include $(INCLUDE_DIR)/kernel.mk
|
2006-06-17 09:28:39 +00:00
|
|
|
|
|
|
|
PKG_NAME:=hostap-driver
|
|
|
|
PKG_VERSION:=0.4.9
|
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
2006-09-24 20:49:31 +00:00
|
|
|
PKG_SOURCE_URL:=http://hostap.epitest.fi/releases/
|
|
|
|
PKG_MD5SUM:=c7534dc040ab90218257a78488ecd378
|
2006-06-17 09:28:39 +00:00
|
|
|
|
2006-06-21 02:32:39 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2007-09-26 02:49:50 +00:00
|
|
|
|
2006-11-17 03:10:45 +00:00
|
|
|
define KernelPackage/hostap/Default
|
2010-06-26 20:43:41 +00:00
|
|
|
VERSION:=$(LINUX_VERSION)-$(BOARD)-$(PKG_RELEASE)
|
2006-11-17 03:10:45 +00:00
|
|
|
SUBMENU:=Wireless Drivers
|
2006-08-04 20:11:55 +00:00
|
|
|
URL:=http://hostap.epitest.fi/
|
2006-06-17 09:28:39 +00:00
|
|
|
endef
|
|
|
|
|
2007-09-07 08:34:51 +00:00
|
|
|
define KernelPackage/hostap/Default/description
|
|
|
|
Host AP is a driver for 802.11b wireless cards based on Intersil
|
|
|
|
Prism2/2.5/3 chipset. It supports so called Host AP mode that allows the
|
|
|
|
card to act as an IEEE 802.11 access point.
|
|
|
|
endef
|
2006-11-17 03:10:45 +00:00
|
|
|
|
2007-09-26 02:49:50 +00:00
|
|
|
|
2006-11-17 03:10:45 +00:00
|
|
|
define KernelPackage/hostap
|
2007-09-07 08:34:51 +00:00
|
|
|
$(call KernelPackage/hostap/Default)
|
2006-09-24 20:49:31 +00:00
|
|
|
TITLE:=Host AP support for Prism2/2.5/3
|
2010-06-26 20:43:41 +00:00
|
|
|
DEPENDS:=@PCI_SUPPORT||PCMCIA_SUPPORT +kmod-lib80211 +wireless-tools
|
2009-05-24 17:13:14 +00:00
|
|
|
KCONFIG:=CONFIG_HOSTAP CONFIG_HOSTAP_FIRMWARE=y CONFIG_HOSTAP_FIRMWARE_NVRAM=y
|
2010-07-12 14:06:13 +00:00
|
|
|
FILES:=$(LINUX_DIR)/drivers/net/wireless/hostap/hostap.ko
|
2006-11-18 21:21:31 +00:00
|
|
|
AUTOLOAD:=$(call AutoLoad,60,hostap)
|
2006-11-17 03:10:45 +00:00
|
|
|
endef
|
|
|
|
|
2007-09-07 08:34:51 +00:00
|
|
|
define KernelPackage/hostap/description
|
|
|
|
$(call KernelPackage/hostap/Default/description)
|
|
|
|
This package contains the base Host AP driver code that is shared by
|
|
|
|
different hardware models. You will also need to enable support for
|
|
|
|
PLX/PCI/CS version of the driver to actually use the driver.
|
|
|
|
endef
|
2006-09-24 20:49:31 +00:00
|
|
|
|
2007-09-26 02:49:50 +00:00
|
|
|
|
|
|
|
define KernelPackage/hostap-cs
|
|
|
|
$(call KernelPackage/hostap/Default)
|
|
|
|
TITLE:=Host AP driver for PCMCIA adaptors
|
2010-03-22 11:39:47 +00:00
|
|
|
DEPENDS:=@PCMCIA_SUPPORT +kmod-hostap +kmod-pcmcia-core
|
2007-09-26 02:49:50 +00:00
|
|
|
KCONFIG:=CONFIG_HOSTAP_CS
|
2010-07-12 14:06:13 +00:00
|
|
|
FILES:=$(LINUX_DIR)/drivers/net/wireless/hostap/hostap_cs.ko
|
2007-09-26 02:49:50 +00:00
|
|
|
AUTOLOAD:=$(call AutoLoad,60,hostap_cs)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/hostap-cs/description
|
|
|
|
$(call KernelPackage/hostap/Default/description)
|
|
|
|
This package contains the Host AP driver for Prism2/2.5/3 PC cards.
|
|
|
|
endef
|
|
|
|
|
|
|
|
|
2006-11-17 03:10:45 +00:00
|
|
|
define KernelPackage/hostap-pci
|
2007-09-07 08:34:51 +00:00
|
|
|
$(call KernelPackage/hostap/Default)
|
2006-09-24 20:49:31 +00:00
|
|
|
TITLE:=Host AP driver for PCI adaptors
|
2010-03-22 11:43:46 +00:00
|
|
|
DEPENDS:=@PCI_SUPPORT +kmod-hostap
|
2007-07-18 11:53:07 +00:00
|
|
|
KCONFIG:=CONFIG_HOSTAP_PCI
|
2010-07-12 14:06:13 +00:00
|
|
|
FILES:=$(LINUX_DIR)/drivers/net/wireless/hostap/hostap_pci.ko
|
2006-11-18 21:21:31 +00:00
|
|
|
AUTOLOAD:=$(call AutoLoad,60,hostap_pci)
|
2006-06-17 09:28:39 +00:00
|
|
|
endef
|
2007-09-26 02:49:50 +00:00
|
|
|
|
2007-09-07 08:34:51 +00:00
|
|
|
define KernelPackage/hostap-pci/description
|
|
|
|
$(call KernelPackage/hostap/Default/description)
|
|
|
|
This package contains the Host AP driver for Prism2.5 PCI adaptors.
|
|
|
|
endef
|
2006-06-17 09:28:39 +00:00
|
|
|
|
2007-09-26 02:49:50 +00:00
|
|
|
|
2006-11-17 03:10:45 +00:00
|
|
|
define KernelPackage/hostap-plx
|
2007-09-07 08:34:51 +00:00
|
|
|
$(call KernelPackage/hostap/Default)
|
2007-09-26 02:49:50 +00:00
|
|
|
TITLE:=Host AP driver for PLX9052 based PCI adaptors
|
2010-03-22 11:39:47 +00:00
|
|
|
DEPENDS:=@PCI_SUPPORT +kmod-hostap
|
2007-07-18 11:53:07 +00:00
|
|
|
KCONFIG:=CONFIG_HOSTAP_PLX
|
2010-07-12 14:06:13 +00:00
|
|
|
FILES:=$(LINUX_DIR)/drivers/net/wireless/hostap/hostap_plx.ko
|
2006-11-18 21:21:31 +00:00
|
|
|
AUTOLOAD:=$(call AutoLoad,60,hostap_plx)
|
2006-06-17 09:28:39 +00:00
|
|
|
endef
|
2007-09-26 02:49:50 +00:00
|
|
|
|
2007-09-07 08:34:51 +00:00
|
|
|
define KernelPackage/hostap-plx/description
|
|
|
|
$(call KernelPackage/hostap/Default/description)
|
|
|
|
This package contains the Host AP driver for Prism2/2.5/3 in PLX9052
|
|
|
|
based PCI adaptors.
|
|
|
|
endef
|
|
|
|
|
2006-06-17 09:28:39 +00:00
|
|
|
|
2010-06-26 20:43:41 +00:00
|
|
|
define Build/Prepare
|
2006-11-17 03:10:45 +00:00
|
|
|
mkdir -p $(PKG_BUILD_DIR)
|
2010-06-26 20:43:41 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Configure
|
|
|
|
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
|
|
|
|
|
|
|
endef
|
2006-08-04 20:11:55 +00:00
|
|
|
|
2009-05-07 13:47:04 +00:00
|
|
|
define KernelPackage/hostap/install
|
2007-11-28 03:44:18 +00:00
|
|
|
$(INSTALL_DIR) $(1)/lib/wifi
|
|
|
|
$(INSTALL_DATA) ./files/lib/wifi/hostap.sh $(1)/lib/wifi
|
|
|
|
endef
|
2006-06-17 09:28:39 +00:00
|
|
|
|
2006-11-17 03:10:45 +00:00
|
|
|
$(eval $(call KernelPackage,hostap))
|
2007-09-26 02:49:50 +00:00
|
|
|
$(eval $(call KernelPackage,hostap-cs))
|
2006-11-17 03:10:45 +00:00
|
|
|
$(eval $(call KernelPackage,hostap-pci))
|
|
|
|
$(eval $(call KernelPackage,hostap-plx))
|