Update of /cvsroot/leaf/src/The_UnNamed_One/apps/hostap
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv15949/apps/hostap
Added Files:
buildtool.cfg buildtool.mk hostap-driver-0.4.9.tar.gz
hostap-makefile.patch hostap-utils-0.4.7.tar.gz
hostap-utils-pre-up hostap_cs.conf
Log Message:
initial import
--- NEW FILE: hostap-driver-0.4.9.tar.gz ---
(This appears to be a binary file; contents omitted.)
--- NEW FILE: hostap-utils-pre-up ---
#!/bin/sh -e
PRISM2_SREC=/usr/sbin/prism2_srec
if [ ! -x $PRISM2_SREC ]; then
exit 0
fi
load_primary()
{
if [ ! -d /proc/net/hostap/$1 ]; then
echo "Host AP driver data for device $1 not found in procfs."
return 1
fi
if cat /proc/net/hostap/$1/debug | grep -q no_pri=1; then
echo "Downloading primary firmware $2 to interface $1"
$PRISM2_SREC -gs $1 $2
$PRISM2_SREC -gp $1 $2
fi
return 0
}
load_secondary()
{
if cat /proc/net/hostap/$1/debug | grep -q pri_only=1; then
echo "Downloading secondary (station) firmware $2 to interface
$1"
$PRISM2_SREC -rp $1 $2
fi
return 0
}
if [ -n "$IF_FW_PRIMARY" ]; then
load_primary "$IFACE" "$IF_FW_PRIMARY"
fi
if [ -n "$IF_FW_SECONDARY" ]; then
load_secondary "$IFACE" "$IF_FW_SECONDARY"
fi
--- NEW FILE: hostap-makefile.patch ---
diff -urN hostap-driver-0.2.6.orig/Makefile hostap-driver-0.2.6/Makefile
--- hostap-driver-0.2.6.orig/Makefile 2004-05-24 02:48:05.000000000 +0200
+++ hostap-driver-0.2.6/Makefile 2005-03-26 11:23:33.000000000 +0100
@@ -187,13 +187,17 @@
@echo "Installing $(MODULE_PLX) to $(MODPATH_PLX)"
mkdir -p $(MODPATH_PLX)
cp -f $(MSRC)/$(MODULE_PLX) $(MODPATH_PLX)
+ifndef DESTDIR
/sbin/depmod -ae
+endif
install_pci: install_check install_crypt install_hostap
@echo "Installing $(MODULE_PCI) to $(MODPATH_PCI)"
mkdir -p $(MODPATH_PCI)
cp -f $(MSRC)/$(MODULE_PCI) $(MODPATH_PCI)
+ifndef DESTDIR
/sbin/depmod -ae
+endif
uninstall:
find $(MODPATH) -name "hostap*" | xargs rm -f
--- NEW FILE: hostap_cs.conf ---
device "hostap_cs"
class "network" module "hostap", "hostap_cs"
card "Intersil PRISM2 Reference Design 11Mb/s WLAN Card"
version "INTERSIL", "HFA384x/IEEE"
bind "hostap_cs"
card "Compaq WL100 11Mb/s WLAN Card"
manfid 0x0138, 0x0002
bind "hostap_cs"
card "Compaq WL200"
version "Compaq", "WL200_11Mbps_Wireless_PCI_Card"
bind "hostap_cs"
card "EMTAC A2424i 11Mbps WLAN Card"
manfid 0xc250, 0x0002
# cis "cis/Emtac.dat"
bind "hostap_cs"
card "Linksys WPC11 11Mbps WLAN Card"
version "Instant Wireless ", " Network PC CARD", "Version 01.02"
bind "hostap_cs"
card "Linksys WPC11 Ver 2.5 11Mbps WLAN Card"
manfid 0x0274, 0x1612
bind "hostap_cs"
card "Linksys WPC11 Ver 3 11Mbps WLAN Card"
manfid 0x0274, 0x1613
bind "hostap_cs"
card "Linksys WCF12 Wireless CompactFlash Card"
version "Linksys", "Wireless CompactFlash Card"
bind "hostap_cs"
card "D-Link DWL-650 11Mbps WLAN Card"
version "D", "Link DWL-650 11Mbps WLAN Card", "Version 01.02"
bind "hostap_cs"
card "D-Link DRC-650 11Mbps WLAN Card"
# version "D", "Link DRC-650 11Mbps WLAN Card", "Version 01.02"
manfid 0x028a, 0x0002
bind "hostap_cs"
card "ZoomAir 4100 11Mb/s WLAN Card"
version "ZoomAir 11Mbps High", "Rate wireless Networking"
bind "hostap_cs"
card "Addtron AWP-100 11Mbps WLAN Card"
version "Addtron", "AWP-100 Wireless PCMCIA", "Version 01.02"
bind "hostap_cs"
card "Samsung SWL2000-N 11Mb/s WLAN Card"
manfid 0x0250, 0x0002
bind "hostap_cs"
card "SMC 2632W 11Mbps WLAN Card"
version "SMC", "SMC2632W", "Version 01.02"
bind "hostap_cs"
card "BroMax Freeport 11Mbps WLAN Card"
version "Intersil", "PRISM 2_5 PCMCIA ADAPTER", "ISL37300P", "Eval-RevA"
bind "hostap_cs"
card "Z-Com XI300 11Mb/s WLAN Card"
manfid 0xd601, 0x0002
bind "hostap_cs"
card "Zcomax XI-325H 200mW"
# version " ", "IEEE 802.11 Wireless LAN/PC Card"
manfid 0xd601, 0x0005
bind "hostap_cs"
card "3Com AirConnect PCI 777A"
manfid 0x0101, 0x0777
bind "hostap_cs"
card "U.S. Robotics IEEE 802.11b PC-CARD"
version "U.S. Robotics", "IEEE 802.11b PC-CARD", "Version 01.02"
# manfid 0x0156, 0x0002
bind "hostap_cs"
card "Longshine LCR-8531 11Mbps WLAN PCMCIA CARD"
version "OEM", "PRISM2 IEEE 802.11 PC-Card", "Version 01.02"
# manfid 0x0156, 0x0002
bind "hostap_cs"
card "Philips 802.11b WLAN PCMCIA"
manfid 0x000b, 0x7300
bind "hostap_cs"
card "Proxim RangeLAN"
# version "PROXIM", "RangeLAN-DS/LAN PC CARD"
manfid 0x0126, 0x8000
bind "hostap_cs"
card "Buffalo WLI-CF-S11G"
version "BUFFALO", "WLI-CF-S11G"
# manfid 0x026f, 0x030b
bind "hostap_cs"
card "Level-One WPC-0100"
version "Digital Data Communications", "WPC-0100", "Version 00.00"
manfid 0x0156, 0x0002
bind "hostap_cs"
card "Belkin 802.11b WLAN PCMCIA"
version "Belkin", "11Mbps Wireless Notebook Network Adapter", "Version 01.02"
manfid 0x0156, 0x0002
bind "hostap_cs"
card "Senao SL-2011CD/SL-2011CDPLUS"
version "INTERSIL", "HFA384x/IEEE", "Version 01.02"
manfid 0x0156, 0x0002
bind "hostap_cs"
card "Fulbond Airbond XI-300B"
version " ", "IEEE 802.11 Wireless LAN/PC Card"
manfid 0xd601, 0x0002
bind "hostap_cs"
card "Netgear MA401"
version "NETGEAR MA401 Wireless PC", "Card", "Version 01.00"
# manfid 0x0156, 0x0002
bind "hostap_cs"
card "D-Link DWL-650 Rev. P1"
version "D-Link", "DWL-650 Wireless PC Card RevP", "ISL37101P-10", "A3"
# manfid 0x000b, 0x7110
bind "hostap_cs"
card "SonicWALL Long Range Wireless Card"
version "SonicWALL", "Long Range Wireless Card", "ISL37100P", "1.0"
manfid 0x000b, 0x7100
bind "hostap_cs"
card "Senao NL-2011CD PLUS Ext2 Mercury"
version "WLAN", "11Mbps_PC-Card_3.0", "ISL37100P", "Eval-RevA"
manfid 0x000b, 0x7100
bind "hostap_cs"
card "Airvast WL100"
version "AIRVAST", "IEEE 802.11b Wireless PCMCIA Card", "HFA3863"
manfid 0x50c2, 0x0001
bind "hostap_cs"
card "Microsoft Wireless Notebook Adapter MN-520 1.0.3"
version "Microsoft", "Wireless Notebook Adapter MN-520", "", "1.0.3"
manfid 0x02d2, 0x0001
bind "hostap_cs"
card "NETGEAR MA401RA"
version "NETGEAR MA401RA Wireless PC", "Card", "ISL37300P", "Eval-RevA"
manfid 0x000b, 0x7300
bind "hostap_cs"
card "Allied Telesyn AT-WCL452"
version "Allied Telesyn", "AT-WCL452 Wireless PCMCIA Radio", "Ver. 1.00"
manfid 0xc00f, 0x0000
bind "hostap_cs"
card "corega WL PCCL-11"
version "corega", "WL PCCL-11", "ISL37300P", "RevA"
manfid 0xc00f, 0x0000
bind "hostap_cs"
card "SanDisk ConnectPlus"
version "SanDisk", "ConnectPlus"
manfid 0xd601, 0x0101
bind "hostap_cs" to 0
bind "ide-cs" to 1
card "ASUS WL-100 8011b WLAN PC Card"
version "ASUS", "802_11b_PC_CARD_25", "Version 01.00"
manfid 0x02aa, 0x0002
bind "hostap_cs"
card "ZyXel Zyair B-101 802.11b WLAN card"
version " ", "IEEE 802.11 Wireless LAN/PC Card"
manfid 0xd601, 0x0010
bind "hostap_cs"
card "WLAN PRISM PCMCIA CARD 37300P RevB6"
version "WLAN", "PRISM PCMCIA CARD", "37300P", "Revision B6"
manfid 0x50c2, 0x7300
bind "hostap_cs"
card "Sagem"
version "PRISM", "Wireless LAN PCMCIA Card", "0450", "RevA"
manfid 0x1668, 0x0101
bind "hostap_cs"
# Optional configuration parameters for hostap_cs.o
# module "hostap_cs" opts "channel=3 iw_mode=3 essid=test ignore_cis_vcc=0"
--- NEW FILE: buildtool.mk ---
#############################################################
#
# Host AP driver for Intersil Prism2/2.5/3
#
#############################################################
include $(MASTERMAKEFILE)
HOSTAPDRIVER_DIR:=hostap-driver-0.4.9
HOSTAPUTILS_DIR:=hostap-utils-0.4.7
HOSTAPU_TARGET_DIR:=$(BT_BUILD_DIR)/hostapu
$(HOSTAPUTILS_DIR)/.source:
zcat $(HOSTAPUTILS_SOURCE) | tar -xvf -
touch $(HOSTAPUTILS_DIR)/.source
$(HOSTAPDRIVER_DIR)/.source:
zcat $(HOSTAPDRIVER_SOURCE) | tar -xvf -
cat $(HOSTAPDRIVER_PATCH1) | patch -d $(HOSTAPDRIVER_DIR) -p1
touch $(HOSTAPDRIVER_DIR)/.source
$(HOSTAPDRIVER_DIR)/.build: $(HOSTAPDRIVER_DIR)/.source
(cd $(HOSTAPDRIVER_DIR) ; make EXTRA_CFLAGS="$(BT_COPT_FLAGS)"
CC=$(TARGET_CC) KERNEL_PATH=$(BT_LINUX_DIR) );
(cd $(HOSTAPDRIVER_DIR) ; make EXTRA_CFLAGS="$(BT_COPT_FLAGS)"
CC=$(TARGET_CC) KERNEL_PATH=$(BT_LINUX_DIR) DESTDIR=$(BT_STAGING_DIR) install );
$(BT_DEPMOD) -ae -b $(BT_STAGING_DIR) -r -F
$(BT_STAGING_DIR)/lib/modules/$(BT_KERNEL_RELEASE)/build/System.map
$(BT_KERNEL_RELEASE)
touch $(HOSTAPDRIVER_DIR)/.build
$(HOSTAPUTILS_DIR)/.build: $(HOSTAPUTILS_DIR)/.source
-mkdir -p $(HOSTAPU_TARGET_DIR)/usr/sbin
-mkdir -p $(HOSTAPU_TARGET_DIR)/etc/pcmcia
-mkdir -p $(HOSTAPU_TARGET_DIR)/etc/network/if-pre-up.d
make CC=$(TARGET_CC) CFLAGS="$(BT_COPT_FLAGS)" -C $(HOSTAPUTILS_DIR)
-$(BT_STRIP) $(BT_STRIP_BINOPTS) $(HOSTAPUTILS_DIR)/prism2_srec
-$(BT_STRIP) $(BT_STRIP_BINOPTS) $(HOSTAPUTILS_DIR)/hostap_crypt_conf
-$(BT_STRIP) $(BT_STRIP_BINOPTS) $(HOSTAPUTILS_DIR)/hostap_diag
-$(BT_STRIP) $(BT_STRIP_BINOPTS) $(HOSTAPUTILS_DIR)/hostap_io_debug
-$(BT_STRIP) $(BT_STRIP_BINOPTS) $(HOSTAPUTILS_DIR)/hostap_rid
cp $(HOSTAPUTILS_DIR)/prism2_srec $(HOSTAPU_TARGET_DIR)/usr/sbin/
cp $(HOSTAPUTILS_DIR)/hostap_crypt_conf $(HOSTAPU_TARGET_DIR)/usr/sbin/
cp $(HOSTAPUTILS_DIR)/hostap_diag $(HOSTAPU_TARGET_DIR)/usr/sbin/
cp $(HOSTAPUTILS_DIR)/hostap_io_debug $(HOSTAPU_TARGET_DIR)/usr/sbin/
cp $(HOSTAPUTILS_DIR)/hostap_rid $(HOSTAPU_TARGET_DIR)/usr/sbin/
cp $(HOSTAPUTILS_DIR)/prism2_param $(HOSTAPU_TARGET_DIR)/usr/sbin/
cp hostap_cs.conf $(HOSTAPU_TARGET_DIR)/etc/pcmcia
cp hostap-utils-pre-up
$(HOSTAPU_TARGET_DIR)/etc/network/if-pre-up.d/hostap-utils
cp -a $(HOSTAPU_TARGET_DIR)/* $(BT_STAGING_DIR)
touch $(HOSTAPUTILS_DIR)/.build
source: $(HOSTAPDRIVER_DIR)/.source $(HOSTAPUTILS_DIR)/.source
build: $(HOSTAPDRIVER_DIR)/.build $(HOSTAPUTILS_DIR)/.build
clean:
make KERNEL_PATH=$(BT_LINUX_DIR) -C $(HOSTAPDRIVER_DIR) clean
(cd $(HOSTAPDRIVER_DIR) ; make KERNEL_PATH=$(BT_LINUX_DIR)
DESTDIR=$(BT_STAGING_DIR) uninstall );
make -C $(HOSTAPUTILS_DIR) clean
rm $(HOSTAPDRIVER_DIR)/.build
rm $(HOSTAPUTILS_DIR)/.build
rm -rf $(HOSTAPU_TARGET_DIR)
srcclean:
rm -rf $(HOSTAPDRIVER_DIR)
rm -rf $(HOSTAPUTILS_DIR)
--- NEW FILE: buildtool.cfg ---
<File buildtool.mk>
Server = cvs-sourceforge
Directory = hostap
revision = HEAD
</File>
<File hostap-driver-0.4.9.tar.gz>
Server = cvs-sourceforge
Directory = hostap
revision = HEAD
EnvName = HOSTAPDRIVER_SOURCE
</File>
<File hostap-utils-0.4.7.tar.gz>
Server = cvs-sourceforge
Directory = hostap
revision = HEAD
EnvName = HOSTAPUTILS_SOURCE
</File>
<File hostap-makefile.patch>
Server = cvs-sourceforge
Directory = hostap
revision = HEAD
EnvName = HOSTAPDRIVER_PATCH1
</File>
<File hostap_cs.conf>
Server = cvs-sourceforge
Directory = hostap
revision = HEAD
</File>
<File hostap-utils-pre-up>
Server = cvs-sourceforge
Directory = hostap
revision = HEAD
</File>
<Package>
<hostapu>
Version = 0.4.7
Revision = 6
Help <<EOF
Host AP utility programs for hostap-driver
Homepage: http://hostap.epitest.fi
LEAF Package by __PACKAGER__, __BUILDDATE__
Hostap-utils can support loading of binary firmware for cards
that
require it. You may specify primary and secondary firmware
binaries
for your network interfaces. For example, wlan0 in
/etc/network/interfaces may appear as so:
auto wlan0
iface wlan0 inet dhcp
hostname foo
fw_primary /etc/firmware/hostap/pm010102.hex
fw_secondary /etc/firmware/hostap/rf010800.hex
At least the DWL-520 E1 (that's a DLink 802.11b pci nic)
requires this
firmware. Details of the setup for the DWL-520 E1 can be found
at
http://home.columbus.rr.com/andrewbarr/dwl520e1.html
Firmware images can be downloaded from
http://www.red-bean.com/~proski/firmware/
EOF
<Permissions>
Files = 644
Directories = 755
</Permissions>
<Owner>
Files = root:root
Directories = root:root
</Owner>
<Contents>
<File>
Filename = usr/sbin/prism2_srec
Source = usr/sbin/prism2_srec
Type = binary
Permissions = 755
</File>
<File>
Filename = usr/sbin/prism2_param
Source = usr/sbin/prism2_param
Type = binary
Permissions = 755
</File>
<File>
Filename = usr/sbin/hostap_crypt_conf
Source = usr/sbin/hostap_crypt_conf
Type = binary
Permissions = 755
</File>
<File>
Filename = usr/sbin/hostap_diag
Source = usr/sbin/hostap_diag
Type = binary
Permissions = 755
</File>
<File>
Filename = usr/sbin/hostap_io_debug
Source = usr/sbin/hostap_io_debug
Type = binary
Permissions = 755
</File>
<File>
Filename = usr/sbin/hostap_rid
Source = usr/sbin/hostap_rid
Type = binary
Permissions = 755
</File>
<File>
Filename = etc/pcmcia/hostap_cs.conf
Source = etc/pcmcia/hostap_cs.conf
Description = hostap PCMCIA conf file
Type = conf
Type = local
Type = binary
Permissions = 644
</File>
<File>
Filename =
etc/network/if-pre-up.d/hostap-utils
Source =
etc/network/if-pre-up.d/hostap-utils
Type = binary
Permissions = 755
</File>
<File>
Filename = etc/firmware/hostap
Type = directory
Type = local
</File>
</Contents>
</hostapu>
</Package>
--- NEW FILE: hostap-utils-0.4.7.tar.gz ---
(This appears to be a binary file; contents omitted.)
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
leaf-cvs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-cvs-commits