summaryrefslogtreecommitdiff
path: root/packages/hostap
diff options
context:
space:
mode:
Diffstat (limited to 'packages/hostap')
-rw-r--r--packages/hostap/files/hostap_cs.conf158
-rw-r--r--packages/hostap/hostap-modules_0.2.5.bb59
2 files changed, 217 insertions, 0 deletions
diff --git a/packages/hostap/files/hostap_cs.conf b/packages/hostap/files/hostap_cs.conf
index e69de29bb2..4aaede4263 100644
--- a/packages/hostap/files/hostap_cs.conf
+++ b/packages/hostap/files/hostap_cs.conf
@@ -0,0 +1,158 @@
+module "hostap_cs" opts "channel=3 iw_mode=2 essid=any ignore_cis_vcc=1"
+
+card "3Com AirConnect"
+ version "3Com", "3CRWE737A AirConnect Wireless LAN PC Card"
+ bind "hostap_cs"
+
+card "Actiontec 802CI2"
+ manfid 0x1668, 0x0101
+ bind "hostap_cs"
+
+card "AirWay 802.11 Adapter (PCMCIA)"
+ #version "AirWay", "802.11 Adapter (PCMCIA)"
+ manfid 0x0261, 0x0002
+ bind "hostap_cs"
+
+card "Asus SpaceLink WL110"
+ manfid 0x02aa,0x0002
+ bind "hostap_cs"
+
+## handhelds.org bug 964
+card "Belkin F5D6060 Ethernet"
+ #version "PCMCIA", "11M WLAN Card v2.5", "ISL37300P", "RevA"
+ manfid 0x0274, 0x1612
+ bind "hostap_cs"
+
+card "Compaq 11Mbps Wireless PC Card"
+ manfid 0x028a, 0x0002
+ bind "hostap_cs"
+
+card "Compaq WL100 11 Mbps Wireless Adapter"
+ manfid 0x0138, 0x0002
+ bind "hostap_cs"
+
+card "Compaq HNW-100 11 Mbps Wireless Adapter"
+ manfid 0x028a, 0x0002
+ bind "hostap_cs"
+
+card "D-Link DWL-650"
+ version "D", "Link DWL-650 11Mbps WLAN Card"
+ bind "hostap_cs"
+
+card "D-Link DRC-650"
+ version "D", "Link DRC-650 11Mbps WLAN Card"
+ bind "hostap_cs"
+
+card "D-Link DCF660"
+ manfid 0xd601, 0x0005
+ bind "hostap_cs"
+
+card "Farallon SkyLINE"
+ version "INTERSIL", "HFA384x/IEEE"
+ bind "hostap_cs"
+
+card "HyperLink Wireless PC Card 11Mbps"
+ version "HyperLink", "Wireless PC Card 11Mbps"
+ bind "hostap_cs"
+
+# card "Intersil PRISM2 11 Mbps Wireless Adapter"
+# manfid 0x0156, 0x0002
+# bind "hostap_cs"
+
+card "Intel PRO/Wireless 2011"
+ manfid 0x0089, 0x0001
+ bind "hostap_cs"
+
+card "LA4111 Spectrum24 Wireless LAN PC Card"
+ version "Symbol Technologies"
+ bind "hostap_cs"
+
+card "Linksys WPC11 11Mbps 802.11b WLAN Card"
+ version "Instant Wireless ", " Network PC CARD", "Version 01.02"
+ bind "hostap_cs"
+
+card "Linksys WCF11 11Mbps 802.11b WLAN Card"
+ manfid 0x0274, 0x3301
+ bind "hostap_cs"
+
+## handhelds.org bug #790
+card "Linksys Wireless CompactFlash Card WCF12"
+ manfid 0x028a, 0x0673
+ bind "hostap_cs"
+
+card "Linksys WLAN CF Card"
+ manfid 0x0274, 0x3301
+ bind "hostap_cs"
+
+card "MELCO WLI-PCM-L11"
+ version "MELCO", "WLI-PCM-L11"
+ bind "hostap_cs"
+
+card "MELCO WLI-PCM-L11G"
+ version "MELCO", "WLI-PCM-L11G"
+ bind "hostap_cs"
+
+card "MELCO WLI-PCM-L11G"
+ version "BUFFALO", "WLI-PCM-L11G"
+ bind "hostap_cs"
+
+card "NETGEAR MA701 Wireless CF Card"
+manfid 0xd601, 0x0002
+bind "hostap_cs"
+
+card "NCR WaveLAN/IEEE Adapter"
+ version "NCR", "WaveLAN/IEEE"
+ bind "hostap_cs"
+
+card "Nortel Networks eMobility 802.11 Wireless Adapter"
+ manfid 0x01eb, 0x080a
+ bind "hostap_cs"
+
+card "PLANEX GeoWave GW-CF110"
+ version "PLANEX", "GeoWave/GW-CF110"
+ bind "hostap_cs"
+
+card "PROXIM LAN PC CARD HARMONY 80211B"
+ version "PROXIM", "LAN PC CARD HARMONY 80211B"
+ bind "hostap_cs"
+
+card "Proxim RangeLAN/DS"
+ version "PROXIM","RangeLAN-DS/LAN PC CARD"
+ manfid 0x0126, 0x8000
+ bind "hostap_cs"
+
+card "Safeway 802.11b Wireless Adapter"
+ manfid 0xd601, 0x0002
+ bind "hostap_cs"
+
+card "SAMSUNG 11Mbps WLAN Card"
+ version "SAMSUNG", "11Mbps WLAN Card"
+ bind "hostap_cs"
+
+# needs firmware upload via hostap_fw_load
+card "SanDisk ConnectPlus OEM (0MB)"
+ manfid 0xd601, 0x0010
+ bind "hostap_cs"
+
+card "Senao/Origo 80211b WLAN Card"
+ manfid 0x000b,0x7100
+ bind "hostap_cs"
+
+card "Sitecom WL-007 WLAN CF Card"
+ manfid 0xd601, 0x0004
+ bind "hostap_cs"
+
+card "SMC2632 802.11 (prism2) Card"
+ version "SMC", "SMC2632W", "Version 01.02", ""
+ bind "hostap_cs"
+
+card "SpeedStream SS1021 Wireless Adapter"
+ #version "Siemens", "SpeedStream Wireless PCMCIA"
+ manfid 0x02ac, 0x0002
+ bind "hostap_cs"
+
+card "ZCOMAX AirRunner/XI-300"
+ #version "ZCOMAX", "AirRunner/XI-300"
+ manfid 0xd601, 0x0002
+ bind "hostap_cs"
+
diff --git a/packages/hostap/hostap-modules_0.2.5.bb b/packages/hostap/hostap-modules_0.2.5.bb
index e69de29bb2..4c03405042 100644
--- a/packages/hostap/hostap-modules_0.2.5.bb
+++ b/packages/hostap/hostap-modules_0.2.5.bb
@@ -0,0 +1,59 @@
+DESCRIPTION = "A driver for wireless LAN cards based on Intersil's Prism2/2.5/3 chipset"
+HOMEPAGE = "http://hostap.epitest.fi"
+SECTION = "kernel/modules"
+PRIORITY = "optional"
+MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
+LICENSE = "GPL"
+PR = "r6"
+
+SRC_URI = "http://hostap.epitest.fi/releases/hostap-driver-${PV}.tar.gz \
+ file://hostap_cs.conf \
+ file://Makefile.patch;patch=1"
+SRC_URI_append_mtx-1 = " file://mtx_compat.diff;patch=1;pnum=0 \
+ file://mtx_hostap_deferred_irq.diff;patch=1;pnum=0"
+
+S = "${WORKDIR}/hostap-driver-${PV}"
+
+inherit module
+
+EXTRA_OEMAKE = "EXTRA_CFLAGS='-DPRISM2_NON_VOLATILE_DOWNLOAD'"
+MAKE_TARGETS = "KERNEL_PATH=${KERNEL_SOURCE} MAKE='make -e'"
+NET_MODULES = "hostap.o hostap_pci.o hostap_crypt_ccmp.o hostap_crypt_tkip.o hostap_crypt_wep.o"
+
+do_install() {
+ install -d ${D}/lib/modules/${KERNEL_VERSION}/net \
+ ${D}/lib/modules/${KERNEL_VERSION}/pcmcia \
+ ${D}/${sysconfdir}/pcmcia
+ for i in ${NET_MODULES}
+ do
+ install -m 0644 driver/modules/$i ${D}/lib/modules/${KERNEL_VERSION}/net/
+ done
+ install -m 0644 driver/modules/hostap_cs.o ${D}/lib/modules/${KERNEL_VERSION}/pcmcia/
+ install -m 0644 driver/etc/hostap_cs.conf ${D}/${sysconfdir}/pcmcia/hostap_cs.conf
+ cat ${WORKDIR}/hostap_cs.conf >>${D}/${sysconfdir}/pcmcia/hostap_cs.conf
+
+ if [ "${MACHINE}" = "mtx-1" ]; then
+ install -d ${D}/etc/modutils
+ echo "hostap_pci" > ${D}/etc/modutils/hostap
+ fi
+}
+
+pkg_postinst_hostap-modules-pci() {
+#!/bin/sh
+if [ "x$D" != "x" ]; then
+ exit 1
+fi
+update-modules || true
+}
+
+pkg_postrm_hostap-modules-pci() {
+#!/bin/sh
+update-modules || true
+}
+
+PACKAGES = "hostap-modules-cs hostap-modules-pci hostap-modules"
+FILES_hostap-modules-cs = "/lib/modules/${KERNEL_VERSION}/pcmcia/ /${sysconfdir}/pcmcia/"
+FILES_hostap-modules-pci = "/etc/modutils /lib/modules/${KERNEL_VERSION}/net/hostap_pci.o"
+FILES_hostap-modules = "/lib/modules/"
+RDEPENDS_hostap-modules-cs = "hostap-modules"
+RDEPENDS_hostap-modules-pci = "hostap-modules"