Changeset 2784

Show
Ignore:
Timestamp:
06/13/07 23:16:47 (2 years ago)
Author:
n0-1
Message:

fix hostap kernel module building for 2.6

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freewrt/mk/modules.mk

    r2778 r2784  
    6868,20)) 
    6969 
     70ifeq ($(KERNEL),2.6) 
     71$(eval $(call KMOD_template,IEEE80211_CRYPT,ieee80211-crypt,\ 
     72        $(MODULES_DIR)/kernel/net/ieee80211/ieee80211_crypt \ 
     73,05)) 
     74 
     75$(eval $(call KMOD_template,HOSTAP,hostap,\ 
     76        $(MODULES_DIR)/kernel/drivers/net/wireless/hostap/hostap \ 
     77,10)) 
     78 
     79$(eval $(call KMOD_template,HOSTAP_PLX,hostap-plx,\ 
     80        $(MODULES_DIR)/kernel/drivers/net/wireless/hostap/hostap_plx \ 
     81,10)) 
     82 
     83$(eval $(call KMOD_template,HOSTAP_PCI,hostap-pci,\ 
     84        $(MODULES_DIR)/kernel/drivers/net/wireless/hostap/hostap_pci \ 
     85,10)) 
     86endif 
    7087 
    7188# 
  • trunk/freewrt/package/hostap/Config.in

    r360 r2784  
    33        tristate 
    44        default n  
     5        depends FWRT_LINUX_2_4 
    56        help 
    67          A driver for 802.11b wireless cards based on Intersil Prism2/2.5/3 
  • trunk/freewrt/target/linux/config/Config.in.netdevice

    r2522 r2784  
    6060source package/madwifi/Config.in 
    6161source package/hostap/Config.in 
     62 
     63config FWRT_KPACKAGE_KMOD_IEEE80211_CRYPT 
     64        tristate 
     65        default n 
     66        depends FWRT_LINUX_2_6 
     67 
     68config FWRT_KPACKAGE_KMOD_HOSTAP 
     69        prompt "kmod-hostap....................... IEEE 802.11 for Host AP (Prism2/2.5/3 and WEP/TKIP/CCMP)" 
     70        tristate 
     71        default n 
     72        depends FWRT_LINUX_2_6 
     73        select FWRT_KPACKAGE_KMOD_IEEE80211_CRYPT 
     74        help 
     75          A driver for 802.11b wireless cards based on Intersil Prism2/2.5/3 
     76          chipset. This driver supports so called Host AP mode that allows 
     77          the card to act as an IEEE 802.11 access point. 
     78           
     79          This option includes the base Host AP driver code that is shared by 
     80          different hardware models. You will also need to enable support for 
     81          PLX/PCI/CS version of the driver to actually use the driver. 
     82 
     83config FWRT_KPACKAGE_KMOD_HOSTAP_PLX 
     84        prompt   "kmod-hostap-plx................. Host AP driver for Prism2/2.5/3 in PLX9052 based PCI adaptors" 
     85        tristate 
     86        default n 
     87        depends FWRT_KPACKAGE_KMOD_HOSTAP 
     88        help 
     89          Host AP support for Prism2/2.5/3 IEEE 802.11b" is required for this 
     90          driver and its help text includes more information about the Host AP 
     91          driver. 
     92           
     93          http://hostap.epitest.fi/ 
     94 
     95config FWRT_KPACKAGE_KMOD_HOSTAP_PCI 
     96        prompt   "kmod-hostap-pci................. Host AP driver for Prism2.5 PCI adaptors" 
     97        tristate 
     98        default n 
     99        depends FWRT_KPACKAGE_KMOD_HOSTAP 
     100        help 
     101          Host AP support for Prism2/2.5/3 IEEE 802.11b" is required for this 
     102          driver and its help text includes more information about the Host AP 
     103          driver. 
     104           
     105          http://hostap.epitest.fi/ 
    62106 
    63107config FWRT_KPACKAGE_KMOD_NET_AIRO