summaryrefslogtreecommitdiffstats
path: root/openembedded/packages/hostap
diff options
context:
space:
mode:
Diffstat (limited to 'openembedded/packages/hostap')
-rw-r--r--openembedded/packages/hostap/files/hostap-fw-load.patch20
-rw-r--r--openembedded/packages/hostap/files/hostap_cs.conf169
-rw-r--r--openembedded/packages/hostap/hostap-daemon-0.4.4/defconfig66
-rw-r--r--openembedded/packages/hostap/hostap-daemon-0.4.4/init39
-rw-r--r--openembedded/packages/hostap/hostap-daemon-0.4.4/madwifi-bsd-fix.diff12
-rw-r--r--openembedded/packages/hostap/hostap-daemon-0.4.4/makefile-cross.diff26
-rw-r--r--openembedded/packages/hostap/hostap-daemon-0.4.4/mtx-1/defconfig66
-rw-r--r--openembedded/packages/hostap/hostap-modules-0.4.4/ipaq_compat.patch11
-rw-r--r--openembedded/packages/hostap/hostap-modules-0.4.4/mtx_compat.diff20
-rw-r--r--openembedded/packages/hostap/hostap-modules-0.4.4/mtx_hostap_deferred_irq.diff81
-rw-r--r--openembedded/packages/hostap/hostap-modules_0.4.4.bb42
-rw-r--r--openembedded/packages/hostap/hostap-utils_0.3.7.bb24
-rw-r--r--openembedded/packages/hostap/hostap-utils_0.4.0.bb24
13 files changed, 600 insertions, 0 deletions
diff --git a/openembedded/packages/hostap/files/hostap-fw-load.patch b/openembedded/packages/hostap/files/hostap-fw-load.patch
new file mode 100644
index 0000000000..88adee2bc9
--- /dev/null
+++ b/openembedded/packages/hostap/files/hostap-fw-load.patch
@@ -0,0 +1,20 @@
1
2#
3# Patch managed by http://www.holgerschurig.de/patcher.html
4#
5
6--- hostap-utils-0.2.4/hostap_fw_load~hostap-fw-load
7+++ hostap-utils-0.2.4/hostap_fw_load
8@@ -6,9 +6,9 @@
9 # Firmware images for the card
10 # TODO: could try to select correct firmware type automatically
11
12-PRI=/etc/pcmcia/PM010102.HEX
13-STA=/etc/pcmcia/RF010802.HEX
14-PRISM2_SREC=/usr/local/bin/prism2_srec
15+PRI=/etc/pcmcia/pm010102.hex
16+STA=/etc/pcmcia/rf010804.hex
17+PRISM2_SREC=/usr/sbin/prism2_srec
18
19 set -e
20
diff --git a/openembedded/packages/hostap/files/hostap_cs.conf b/openembedded/packages/hostap/files/hostap_cs.conf
new file mode 100644
index 0000000000..0b1bcf1a58
--- /dev/null
+++ b/openembedded/packages/hostap/files/hostap_cs.conf
@@ -0,0 +1,169 @@
1module "hostap_cs" opts "channel=3 iw_mode=2 essid=any ignore_cis_vcc=1"
2
3card "3Com AirConnect"
4 version "3Com", "3CRWE737A AirConnect Wireless LAN PC Card"
5 bind "hostap_cs"
6
7card "Actiontec 802CI2"
8 manfid 0x1668, 0x0101
9 bind "hostap_cs"
10
11card "AirWay 802.11 Adapter (PCMCIA)"
12 #version "AirWay", "802.11 Adapter (PCMCIA)"
13 manfid 0x0261, 0x0002
14 bind "hostap_cs"
15
16card "Asus SpaceLink WL110"
17 manfid 0x02aa,0x0002
18 bind "hostap_cs"
19
20## handhelds.org bug 964
21card "Belkin F5D6060 Ethernet"
22 #version "PCMCIA", "11M WLAN Card v2.5", "ISL37300P", "RevA"
23 manfid 0x0274, 0x1612
24 bind "hostap_cs"
25
26card "Compaq 11Mbps Wireless PC Card"
27 manfid 0x028a, 0x0002
28 bind "hostap_cs"
29
30card "Compaq WL100 11 Mbps Wireless Adapter"
31 manfid 0x0138, 0x0002
32 bind "hostap_cs"
33
34card "Compaq HNW-100 11 Mbps Wireless Adapter"
35 manfid 0x028a, 0x0002
36 bind "hostap_cs"
37
38card "D-Link DWL-650"
39 version "D", "Link DWL-650 11Mbps WLAN Card"
40 bind "hostap_cs"
41
42card "D-Link DRC-650"
43 version "D", "Link DRC-650 11Mbps WLAN Card"
44 bind "hostap_cs"
45
46card "D-Link DCF660"
47 manfid 0xd601, 0x0005
48 bind "hostap_cs"
49
50card "Farallon SkyLINE"
51 version "INTERSIL", "HFA384x/IEEE"
52 bind "hostap_cs"
53
54card "HyperLink Wireless PC Card 11Mbps"
55 version "HyperLink", "Wireless PC Card 11Mbps"
56 bind "hostap_cs"
57
58# card "Intersil PRISM2 11 Mbps Wireless Adapter"
59# manfid 0x0156, 0x0002
60# bind "hostap_cs"
61
62card "Intel PRO/Wireless 2011"
63 manfid 0x0089, 0x0001
64 bind "hostap_cs"
65
66card "LA4111 Spectrum24 Wireless LAN PC Card"
67 version "Symbol Technologies"
68 bind "hostap_cs"
69
70card "Linksys WPC11 11Mbps 802.11b WLAN Card"
71 version "Instant Wireless ", " Network PC CARD", "Version 01.02"
72 bind "hostap_cs"
73
74card "Linksys WCF11 11Mbps 802.11b WLAN Card"
75 manfid 0x0274, 0x3301
76 bind "hostap_cs"
77
78## handhelds.org bug #790
79card "Linksys Wireless CompactFlash Card WCF12"
80 manfid 0x028a, 0x0673
81 bind "hostap_cs"
82
83card "Linksys WLAN CF Card"
84 manfid 0x0274, 0x3301
85 bind "hostap_cs"
86
87card "MELCO WLI-PCM-L11"
88 version "MELCO", "WLI-PCM-L11"
89 bind "hostap_cs"
90
91card "MELCO WLI-PCM-L11G"
92 version "MELCO", "WLI-PCM-L11G"
93 bind "hostap_cs"
94
95card "MELCO WLI-PCM-L11G"
96 version "BUFFALO", "WLI-PCM-L11G"
97 bind "hostap_cs"
98
99card "Buffalo WLI2-CF-S11"
100 version "BUFFALO", "WLI2-CF-S11"
101 bind "hostap_cs"
102
103card "NETGEAR MA701 Wireless CF Card"
104manfid 0xd601, 0x0002
105bind "hostap_cs"
106
107card "NCR WaveLAN/IEEE Adapter"
108 version "NCR", "WaveLAN/IEEE"
109 bind "hostap_cs"
110
111card "Nortel Networks eMobility 802.11 Wireless Adapter"
112 manfid 0x01eb, 0x080a
113 bind "hostap_cs"
114
115card "PLANEX GeoWave GW-CF110"
116 version "PLANEX", "GeoWave/GW-CF110"
117 bind "hostap_cs"
118
119card "PROXIM LAN PC CARD HARMONY 80211B"
120 version "PROXIM", "LAN PC CARD HARMONY 80211B"
121 bind "hostap_cs"
122
123card "Proxim RangeLAN/DS"
124 version "PROXIM","RangeLAN-DS/LAN PC CARD"
125 manfid 0x0126, 0x8000
126 bind "hostap_cs"
127
128card "Safeway 802.11b Wireless Adapter"
129 manfid 0xd601, 0x0002
130 bind "hostap_cs"
131
132card "SAMSUNG 11Mbps WLAN Card"
133 version "SAMSUNG", "11Mbps WLAN Card"
134 bind "hostap_cs"
135
136# needs firmware upload via hostap_fw_load
137card "SanDisk ConnectPlus OEM (0MB)"
138 manfid 0xd601, 0x0010
139 bind "hostap_cs"
140
141# needs special activation (>=hostap 0.3.2 only) plus firmware upload
142card "SanDisk ConnectPlus w/ Memory"
143 version "SanDisk", "ConnectPlus"
144 manfid 0xd601, 0x0101
145 bind "hostap_cs" to 0
146# bind "ide-cs" to 1
147
148card "Senao/Origo 80211b WLAN Card"
149 manfid 0x000b,0x7100
150 bind "hostap_cs"
151
152card "Sitecom WL-007 WLAN CF Card"
153 manfid 0xd601, 0x0004
154 bind "hostap_cs"
155
156card "SMC2632 802.11 (prism2) Card"
157 version "SMC", "SMC2632W", "Version 01.02", ""
158 bind "hostap_cs"
159
160card "SpeedStream SS1021 Wireless Adapter"
161 #version "Siemens", "SpeedStream Wireless PCMCIA"
162 manfid 0x02ac, 0x0002
163 bind "hostap_cs"
164
165card "ZCOMAX AirRunner/XI-300"
166 #version "ZCOMAX", "AirRunner/XI-300"
167 manfid 0xd601, 0x0002
168 bind "hostap_cs"
169
diff --git a/openembedded/packages/hostap/hostap-daemon-0.4.4/defconfig b/openembedded/packages/hostap/hostap-daemon-0.4.4/defconfig
new file mode 100644
index 0000000000..d0e22f2586
--- /dev/null
+++ b/openembedded/packages/hostap/hostap-daemon-0.4.4/defconfig
@@ -0,0 +1,66 @@
1# Example hostapd build time configuration
2#
3# This file lists the configuration options that are used when building the
4# hostapd binary. All lines starting with # are ignored. Configuration option
5# lines must be commented out complete, if they are not to be included, i.e.,
6# just setting VARIABLE=n is not disabling that variable.
7#
8# This file is included in Makefile, so variables like CFLAGS and LIBS can also
9# be modified from here. In most cass, these lines should use += in order not
10# to override previous values of the variables.
11
12# Driver interface for Host AP driver
13CONFIG_DRIVER_HOSTAP=y
14
15# Driver interface for wired authenticator
16CONFIG_DRIVER_WIRED=y
17
18# Driver interface for madwifi driver
19#CONFIG_DRIVER_MADWIFI=y
20#CFLAGS += -I../head # change to reflect local setup; directory for madwifi src
21
22# Driver interface for Prism54 driver
23CONFIG_DRIVER_PRISM54=y
24
25# Driver interface for FreeBSD net80211 layer (e.g., Atheros driver)
26#CONFIG_DRIVER_BSD=y
27#CFLAGS += -I/usr/local/include
28#LIBS += -L/usr/local/lib
29
30# IEEE 802.11F/IAPP
31CONFIG_IAPP=y
32
33# WPA2/IEEE 802.11i RSN pre-authentication
34CONFIG_RSN_PREAUTH=y
35
36# Integrated EAP authenticator
37CONFIG_EAP=y
38
39# EAP-MD5 for the integrated EAP authenticator
40CONFIG_EAP_MD5=y
41
42# EAP-TLS for the integrated EAP authenticator
43CONFIG_EAP_TLS=y
44
45# EAP-MSCHAPv2 for the integrated EAP authenticator
46CONFIG_EAP_MSCHAPV2=y
47
48# EAP-PEAP for the integrated EAP authenticator
49CONFIG_EAP_PEAP=y
50
51# EAP-GTC for the integrated EAP authenticator
52CONFIG_EAP_GTC=y
53
54# EAP-TTLS for the integrated EAP authenticator
55CONFIG_EAP_TTLS=y
56
57# EAP-SIM for the integrated EAP authenticator
58#CONFIG_EAP_SIM=y
59
60# PKCS#12 (PFX) support (used to read private key and certificate file from
61# a file that usually has extension .p12 or .pfx)
62CONFIG_PKCS12=y
63
64# RADIUS authentication server. This provides access to the integrated EAP
65# authenticator from external hosts using RADIUS.
66CONFIG_RADIUS_SERVER=y
diff --git a/openembedded/packages/hostap/hostap-daemon-0.4.4/init b/openembedded/packages/hostap/hostap-daemon-0.4.4/init
new file mode 100644
index 0000000000..b0736c0baa
--- /dev/null
+++ b/openembedded/packages/hostap/hostap-daemon-0.4.4/init
@@ -0,0 +1,39 @@
1#!/bin/sh
2DAEMON=/usr/sbin/hostapd
3NAME=httpd
4DESC="HOSTAP Daemon"
5ARGS="/etc/hostapd.conf"
6
7test -f $DAEMON || exit 0
8
9set -e
10
11case "$1" in
12 start)
13 echo -n "starting $DESC: $NAME... "
14 start-stop-daemon -S -b -n $NAME -a $DAEMON -- $ARGS
15 echo "done."
16 ;;
17 stop)
18 echo -n "stopping $DESC: $NAME... "
19 start-stop-daemon -K -n $NAME
20 echo "done."
21 ;;
22 restart)
23 echo "restarting $DESC: $NAME... "
24 $0 stop
25 $0 start
26 echo "done."
27 ;;
28 reload)
29 echo -n "reloading $DESC: $NAME... "
30 killall -HUP $(basename ${DAEMON})
31 echo "done."
32 ;;
33 *)
34 echo "Usage: $0 {start|stop|restart|reload}"
35 exit 1
36 ;;
37esac
38
39exit 0
diff --git a/openembedded/packages/hostap/hostap-daemon-0.4.4/madwifi-bsd-fix.diff b/openembedded/packages/hostap/hostap-daemon-0.4.4/madwifi-bsd-fix.diff
new file mode 100644
index 0000000000..d9dab26a15
--- /dev/null
+++ b/openembedded/packages/hostap/hostap-daemon-0.4.4/madwifi-bsd-fix.diff
@@ -0,0 +1,12 @@
1--- driver_madwifi.c.orig 2005-03-18 15:12:53.392793216 +0100
2+++ driver_madwifi.c 2005-03-18 15:13:09.246383104 +0100
3@@ -21,7 +21,8 @@
4 #include <sys/types.h>
5 #include <sys/socket.h>
6
7-#include <include/compat.h>
8+#include <net80211/compat.h>
9+#include <net80211/_ieee80211.h>
10 #include <net80211/ieee80211.h>
11 #include <net80211/ieee80211_crypto.h>
12 #include <net80211/ieee80211_ioctl.h>
diff --git a/openembedded/packages/hostap/hostap-daemon-0.4.4/makefile-cross.diff b/openembedded/packages/hostap/hostap-daemon-0.4.4/makefile-cross.diff
new file mode 100644
index 0000000000..25d2ca34bb
--- /dev/null
+++ b/openembedded/packages/hostap/hostap-daemon-0.4.4/makefile-cross.diff
@@ -0,0 +1,26 @@
1--- Makefile.orig 2005-03-18 14:34:27.274376504 +0100
2+++ Makefile 2005-03-18 14:35:56.609795456 +0100
3@@ -1,7 +1,9 @@
4-CC=gcc
5+CC?=gcc
6 DIR_WPA_SUPPLICANT=.
7 DIR_HOSTAP=.
8
9+TARGET_PREFIX ?= /usr/local/bin/
10+
11 ifndef CFLAGS
12 CFLAGS = -MMD -O2 -Wall -g
13 endif
14@@ -170,10 +172,10 @@
15 fi
16
17 install: all
18- for i in $(ALL); do cp $$i /usr/local/bin/$$i; done
19+ for i in $(ALL); do cp $$i $(TARGET_PREFIX)/$$i; done
20
21 hostapd: $(OBJS)
22- $(CC) -o hostapd $(OBJS) $(LIBS)
23+ $(CC) $(LDFLAGS) -o hostapd $(OBJS) $(LIBS)
24
25 driver_conf.c: Makefile .config
26 rm -f driver_conf.c
diff --git a/openembedded/packages/hostap/hostap-daemon-0.4.4/mtx-1/defconfig b/openembedded/packages/hostap/hostap-daemon-0.4.4/mtx-1/defconfig
new file mode 100644
index 0000000000..8c3065c3b9
--- /dev/null
+++ b/openembedded/packages/hostap/hostap-daemon-0.4.4/mtx-1/defconfig
@@ -0,0 +1,66 @@
1# Example hostapd build time configuration
2#
3# This file lists the configuration options that are used when building the
4# hostapd binary. All lines starting with # are ignored. Configuration option
5# lines must be commented out complete, if they are not to be included, i.e.,
6# just setting VARIABLE=n is not disabling that variable.
7#
8# This file is included in Makefile, so variables like CFLAGS and LIBS can also
9# be modified from here. In most cass, these lines should use += in order not
10# to override previous values of the variables.
11
12# Driver interface for Host AP driver
13CONFIG_DRIVER_HOSTAP=y
14
15# Driver interface for wired authenticator
16CONFIG_DRIVER_WIRED=y
17
18# Driver interface for madwifi driver
19CONFIG_DRIVER_MADWIFI=y
20#CFLAGS += -I../head # change to reflect local setup; directory for madwifi src
21
22# Driver interface for Prism54 driver
23CONFIG_DRIVER_PRISM54=y
24
25# Driver interface for FreeBSD net80211 layer (e.g., Atheros driver)
26#CONFIG_DRIVER_BSD=y
27#CFLAGS += -I/usr/local/include
28#LIBS += -L/usr/local/lib
29
30# IEEE 802.11F/IAPP
31CONFIG_IAPP=y
32
33# WPA2/IEEE 802.11i RSN pre-authentication
34CONFIG_RSN_PREAUTH=y
35
36# Integrated EAP authenticator
37CONFIG_EAP=y
38
39# EAP-MD5 for the integrated EAP authenticator
40CONFIG_EAP_MD5=y
41
42# EAP-TLS for the integrated EAP authenticator
43CONFIG_EAP_TLS=y
44
45# EAP-MSCHAPv2 for the integrated EAP authenticator
46CONFIG_EAP_MSCHAPV2=y
47
48# EAP-PEAP for the integrated EAP authenticator
49CONFIG_EAP_PEAP=y
50
51# EAP-GTC for the integrated EAP authenticator
52CONFIG_EAP_GTC=y
53
54# EAP-TTLS for the integrated EAP authenticator
55CONFIG_EAP_TTLS=y
56
57# EAP-SIM for the integrated EAP authenticator
58#CONFIG_EAP_SIM=y
59
60# PKCS#12 (PFX) support (used to read private key and certificate file from
61# a file that usually has extension .p12 or .pfx)
62CONFIG_PKCS12=y
63
64# RADIUS authentication server. This provides access to the integrated EAP
65# authenticator from external hosts using RADIUS.
66CONFIG_RADIUS_SERVER=y
diff --git a/openembedded/packages/hostap/hostap-modules-0.4.4/ipaq_compat.patch b/openembedded/packages/hostap/hostap-modules-0.4.4/ipaq_compat.patch
new file mode 100644
index 0000000000..b139ef38f1
--- /dev/null
+++ b/openembedded/packages/hostap/hostap-modules-0.4.4/ipaq_compat.patch
@@ -0,0 +1,11 @@
1--- hostap-driver-0.3.7/driver/modules/hostap_compat.h.old 2005-04-17 09:12:38.304421464 +0100
2+++ hostap-driver-0.3.7/driver/modules/hostap_compat.h 2005-04-17 09:13:04.413452288 +0100
3@@ -5,7 +5,7 @@
4 #define NEW_MODULE_CODE
5 #endif
6
7-#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,44))
8+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,44)) && !defined(CONFIG_IPAQ_HANDHELD)
9
10 #define HOSTAP_QUEUE struct tq_struct
11
diff --git a/openembedded/packages/hostap/hostap-modules-0.4.4/mtx_compat.diff b/openembedded/packages/hostap/hostap-modules-0.4.4/mtx_compat.diff
new file mode 100644
index 0000000000..c2d6662d69
--- /dev/null
+++ b/openembedded/packages/hostap/hostap-modules-0.4.4/mtx_compat.diff
@@ -0,0 +1,20 @@
1--- driver/modules/hostap_compat.h.orig 2004-08-09 16:16:48.359929856 +0200
2+++ driver/modules/hostap_compat.h 2004-08-09 16:17:12.383277752 +0200
3@@ -13,7 +13,7 @@
4 MOD_INC_USE_COUNT; \
5 if (schedule_task((q)) == 0) \
6 MOD_DEC_USE_COUNT;
7-
8+/*
9 static inline void flush_scheduled_work(void)
10 {
11 flush_scheduled_tasks();
12@@ -27,7 +27,7 @@
13 tq->routine = routine;
14 tq->data = data;
15 }
16-
17+*/
18 #else /* kernel < 2.5.44 */
19
20 #define HOSTAP_QUEUE struct work_struct
diff --git a/openembedded/packages/hostap/hostap-modules-0.4.4/mtx_hostap_deferred_irq.diff b/openembedded/packages/hostap/hostap-modules-0.4.4/mtx_hostap_deferred_irq.diff
new file mode 100644
index 0000000000..e979b72d93
--- /dev/null
+++ b/openembedded/packages/hostap/hostap-modules-0.4.4/mtx_hostap_deferred_irq.diff
@@ -0,0 +1,81 @@
1--- driver/modules/hostap_pci.c.orig 2004-11-30 06:41:48.000000000 +0100
2+++ driver/modules/hostap_pci.c 2005-01-17 19:47:33.710400496 +0100
3@@ -50,6 +50,13 @@
4 };
5
6
7+#define DEFERRED_IRQ_INITIALIZATION
8+
9+#ifdef DEFERRED_IRQ_INITIALIZATION
10+struct net_device *devb[MAX_PARM_DEVICES];
11+#endif
12+
13+
14 #ifdef PRISM2_IO_DEBUG
15
16 static inline void hfa384x_outb_debug(struct net_device *dev, int a, u8 v)
17@@ -280,6 +287,10 @@
18
19 pci_set_drvdata(pdev, dev);
20
21+#ifdef DEFERRED_IRQ_INITIALIZATION
22+ printk("%s: deferred initialization of IRQs\n", dev_info);
23+ devb[cards_found-1] = dev;
24+#else
25 if (request_irq(dev->irq, prism2_interrupt, SA_SHIRQ, dev->name,
26 dev)) {
27 printk(KERN_WARNING "%s: request_irq failed\n", dev->name);
28@@ -295,7 +306,7 @@
29
30 printk(KERN_INFO "%s: Intersil Prism2.5 PCI: "
31 "mem=0x%lx, irq=%d\n", dev->name, phymem, dev->irq);
32-
33+#endif
34 return hostap_hw_ready(dev);
35
36 fail:
37@@ -399,18 +410,43 @@
38 };
39
40
41+#ifdef DEFERRED_IRQ_INITIALIZATION
42+static void deferred_init(int num_devices)
43+{
44+ int n;
45+ for (n=0; n<num_devices && n<MAX_PARM_DEVICES; n++)
46+ {
47+ if (request_irq(devb[n]->irq, prism2_interrupt, SA_SHIRQ, devb[n]->name,
48+ devb[n])) {
49+ printk(KERN_WARNING "%s: request_irq failed\n", devb[n]->name);
50+ }
51+ if (prism2_hw_config(devb[n], 1)) {
52+ printk(KERN_DEBUG "%s: hardware initialization failed\n", devb[n]->name)
53+;
54+ }
55+ printk(KERN_INFO "%s: Intersil Prism2.5 PCI: irq=%d\n", devb[n]->name, devb[n]->
56+irq);
57+ }
58+}
59+#endif
60+
61 static int __init init_prism2_pci(void)
62 {
63 printk(KERN_INFO "%s: %s\n", dev_info, version);
64
65 #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,10))
66- if (pci_register_driver(&prism2_pci_drv_id) <= 0) {
67+ int n;
68+ if ((n=pci_register_driver(&prism2_pci_drv_id)) <= 0) {
69 printk("hostap_pci: No devices found, driver not "
70 "installed.\n");
71 pci_unregister_driver(&prism2_pci_drv_id);
72 return -ENODEV;
73 }
74
75+#ifdef DEFERRED_IRQ_INITIALIZATION
76+ deferred_init(n);
77+#endif
78+
79 return 0;
80 #else
81 return pci_register_driver(&prism2_pci_drv_id);
diff --git a/openembedded/packages/hostap/hostap-modules_0.4.4.bb b/openembedded/packages/hostap/hostap-modules_0.4.4.bb
new file mode 100644
index 0000000000..fd7a3eaff9
--- /dev/null
+++ b/openembedded/packages/hostap/hostap-modules_0.4.4.bb
@@ -0,0 +1,42 @@
1DESCRIPTION = "A driver for wireless LAN cards based on Intersil's Prism2/2.5/3 chipset"
2SECTION = "kernel/modules"
3PRIORITY = "optional"
4MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
5LICENSE = "GPL"
6
7SRC_URI = "http://hostap.epitest.fi/releases/hostap-driver-${PV}.tar.gz \
8 file://hostap_cs.conf "
9
10SRC_URI_append_mtx-1 = " file://mtx_compat.diff;patch=1;pnum=0 \
11 file://mtx_hostap_deferred_irq.diff;patch=1;pnum=0"
12SRC_URI_append_h3900 = " file://ipaq_compat.patch;patch=1 "
13
14S = "${WORKDIR}/hostap-driver-${PV}"
15
16inherit module
17
18# Hack Alert :D
19ARCH_mipsel = "mips"
20MAKE_TARGETS = "KERNEL_PATH=${STAGING_KERNEL_DIR} MAKE='make -e'"
21
22NET_MODULES = "hostap hostap_pci hostap_crypt_ccmp hostap_crypt_tkip hostap_crypt_wep"
23
24do_install() {
25 install -d ${D}${base_libdir}/modules/${KERNEL_VERSION}/net \
26 ${D}${base_libdir}/modules/${KERNEL_VERSION}/pcmcia \
27 ${D}${sysconfdir}/pcmcia
28 for i in ${NET_MODULES}
29 do
30 install -m 0644 driver/modules/$i${KERNEL_OBJECT_SUFFIX} ${D}${base_libdir}/modules/${KERNEL_VERSION}/net/
31 done
32 install -m 0644 driver/modules/hostap_cs${KERNEL_OBJECT_SUFFIX} ${D}${base_libdir}/modules/${KERNEL_VERSION}/pcmcia/
33 install -m 0644 driver/etc/hostap_cs.conf ${D}${sysconfdir}/pcmcia/hostap_cs.conf
34 cat ${WORKDIR}/hostap_cs.conf >>${D}${sysconfdir}/pcmcia/hostap_cs.conf
35}
36
37PACKAGES = "hostap-modules-cs hostap-modules-pci hostap-modules"
38FILES_hostap-modules-cs = "/lib/modules/${KERNEL_VERSION}/pcmcia/ /${sysconfdir}/pcmcia/"
39FILES_hostap-modules-pci = "/lib/modules/${KERNEL_VERSION}/net/hostap_pci${KERNEL_OBJECT_SUFFIX}"
40FILES_hostap-modules = "/lib/modules/"
41RDEPENDS_hostap-modules-cs = "hostap-modules"
42RDEPENDS_hostap-modules-pci = "hostap-modules"
diff --git a/openembedded/packages/hostap/hostap-utils_0.3.7.bb b/openembedded/packages/hostap/hostap-utils_0.3.7.bb
new file mode 100644
index 0000000000..7601129934
--- /dev/null
+++ b/openembedded/packages/hostap/hostap-utils_0.3.7.bb
@@ -0,0 +1,24 @@
1DESCRIPTION = "User mode helpers for the hostap driver"
2HOMEPAGE = "http://hostap.epitest.fi"
3SECTION = "kernel/userland"
4PRIORITY = "optional"
5MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
6LICENSE = "GPL"
7RDEPENDS = "hostap-modules (${PV})"
8PR = "r1"
9
10SRC_URI = "http://hostap.epitest.fi/releases/hostap-utils-${PV}.tar.gz \
11 file://hostap-fw-load.patch;patch=1"
12S = "${WORKDIR}/hostap-utils-${PV}"
13
14BINARIES = "hostap_crypt_conf hostap_diag hostap_fw_load hostap_io_debug \
15 hostap_rid prism2_param prism2_srec split_combined_hex"
16
17do_install() {
18 install -d ${D}${sbindir}/
19 for f in ${BINARIES}
20 do
21 install -m 0755 $f ${D}${sbindir}/
22 done
23}
24
diff --git a/openembedded/packages/hostap/hostap-utils_0.4.0.bb b/openembedded/packages/hostap/hostap-utils_0.4.0.bb
new file mode 100644
index 0000000000..7601129934
--- /dev/null
+++ b/openembedded/packages/hostap/hostap-utils_0.4.0.bb
@@ -0,0 +1,24 @@
1DESCRIPTION = "User mode helpers for the hostap driver"
2HOMEPAGE = "http://hostap.epitest.fi"
3SECTION = "kernel/userland"
4PRIORITY = "optional"
5MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
6LICENSE = "GPL"
7RDEPENDS = "hostap-modules (${PV})"
8PR = "r1"
9
10SRC_URI = "http://hostap.epitest.fi/releases/hostap-utils-${PV}.tar.gz \
11 file://hostap-fw-load.patch;patch=1"
12S = "${WORKDIR}/hostap-utils-${PV}"
13
14BINARIES = "hostap_crypt_conf hostap_diag hostap_fw_load hostap_io_debug \
15 hostap_rid prism2_param prism2_srec split_combined_hex"
16
17do_install() {
18 install -d ${D}${sbindir}/
19 for f in ${BINARIES}
20 do
21 install -m 0755 $f ${D}${sbindir}/
22 done
23}
24