Re: [OpenWrt-Devel] [PATCH] use the in-kernel hostap-driver

2008-07-30 Thread Alexandros C. Couloumbis
Nico wrote:
> Hi Alexandros,
> Your patch is not needed, using in-kernel hostap modules is exactly 
> what is being done on a 2.6 target in "package/hostap-driver".
True,

 didn't look thoroughly into the package/hostap-driver/Makefile.

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH] use the in-kernel hostap-driver

2008-07-27 Thread Nico
Hi Alexandros,

Alexandros C. Couloumbis a écrit :
> According to the hostap driver author, :
> http://hostap.epitest.fi/
>
> "Host AP driver was added into the main kernel tree in Linux v2.6.14. The
> version in the kernel tree should be used instead of this external
> hostap-driver package. The external releases are only for older kernel
> versions and all the future development will be in the main kernel tree."
>
> This patch enebles the in-kernel hostap driver. the package/hostap-driver
> has to be removed first.
>   
Your patch is not needed, using in-kernel hostap modules is exactly what 
is being done on a 2.6 target in "package/hostap-driver".

--
Nico
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH] use the in-kernel hostap-driver

2008-07-27 Thread Alexandros C. Couloumbis

This update fixes a backward compatibility issue. use kmod-hostap instead
of kmod-net-hostap so we don't break dependencies such as hostap-utils and
others.

Signed-off-by: Alexandros C. Couloumbis 

---
diff -Nrub a/package/kernel/modules/wireless.mk
b/package/kernel/modules/wireless.mk
--- a/package/kernel/modules/wireless.mk2008-07-24
13:25:22.0 +0300
+++ b/package/kernel/modules/wireless.mk2008-07-27
17:35:13.0 +0300
@@ -133,6 +133,56 @@
 $(eval $(call KernelPackage,net-airo))


+define KernelPackage/hostap
+  SUBMENU:=$(WIRELESS_MENU)
+  TITLE:=Host AP (Prism2/2.5/3 and WEP/TKIP/CCMP) driver
+  DEPENDS:[EMAIL PROTECTED]
+  KCONFIG:=CONFIG_HOSTAP
+ 
FILES:=$(LINUX_DIR)/drivers/net/wireless/hostap/hostap.$(LINUX_KMOD_SUFFIX)
+  AUTOLOAD:=$(call AutoLoad,50,hostap)
+endef
+
+define KernelPackage/hostap/description
+ Shared driver code for IEEE 802.11b wireless cards based on
+ Intersil Prism2/2.5/3 chipset. This driver supports so called
+ Host AP mode that allows the card to act as an IEEE 802.11
+ access point.
+
+ See  for more information about the
+ Host AP driver configuration and tools. This site includes
+ information and tools (hostapd and wpa_supplicant) for WPA/WPA2
+ support.
+
+ This option includes 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.
+
+ The driver can be compiled as a module and it will be called
+ "hostap.ko".
+endef
+
+$(eval $(call KernelPackage,hostap))
+
+define KernelPackage/hostap-pci
+  SUBMENU:=$(WIRELESS_MENU)
+  TITLE:=Host AP driver for Prism2.5 PCI adaptors
+  DEPENDS:[EMAIL PROTECTED], kmod-hostap
+  KCONFIG:=CONFIG_HOSTAP_PCI
+ 
FILES:=$(LINUX_DIR)/drivers/net/wireless/hostap/hostap_pci.$(LINUX_KMOD_SUFFIX)
+  AUTOLOAD:=$(call AutoLoad,50,hostap_pci)
+endef
+
+define KernelPackage/hostap-pci/description
+ Host AP driver's version for Prism2.5 PCI adaptors.
+ "Host AP support for Prism2/2.5/3 IEEE 802.11b" is required for this
+ driver and its help text includes more information about the Host AP
+ driver.
+ The driver can be compiled as a module and will be named
+ "hostap_pci.ko".
+endef
+
+$(eval $(call KernelPackage,hostap-pci))
+
 define KernelPackage/net-hermes
   SUBMENU:=$(WIRELESS_MENU)
   TITLE:=Hermes 802.11b chipset support

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel