summaryrefslogtreecommitdiff
path: root/packages/wlan-ng
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-06-30 08:19:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-06-30 08:19:37 +0000
commitc8e5702127e507e82e6f68a4b8c546803accea9d (patch)
tree00583491f40ecc640f2b28452af995e3a63a09d7 /packages/wlan-ng
parent87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff)
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/wlan-ng')
-rw-r--r--packages/wlan-ng/.mtn2git_empty0
-rw-r--r--packages/wlan-ng/files/.mtn2git_empty0
-rwxr-xr-x[-rw-r--r--]packages/wlan-ng/files/post-down0
-rwxr-xr-x[-rw-r--r--]packages/wlan-ng/files/pre-up0
-rwxr-xr-x[-rw-r--r--]packages/wlan-ng/files/resume0
-rwxr-xr-x[-rw-r--r--]packages/wlan-ng/files/usbctlbin4040 -> 4040 bytes
-rw-r--r--packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/.mtn2git_empty0
-rw-r--r--packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/Ambit_usb.patch22
-rw-r--r--packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/OZ-Configure.patch19
-rw-r--r--packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/config.in21
-rw-r--r--packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/config.mk41
-rw-r--r--packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/no-compat.patch47
-rw-r--r--packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/pass-kernel-cross.patch140
-rw-r--r--packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/scripts-makefile-hostcc.diff11
-rw-r--r--packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/version.h19
-rw-r--r--packages/wlan-ng/wlan-ng-modules-0.2.1-pre26/.mtn2git_empty0
-rw-r--r--packages/wlan-ng/wlan-ng-modules-0.2.1-pre26/no-compat.patch47
-rw-r--r--packages/wlan-ng/wlan-ng-modules-0.2.1-pre26/only-the-modules.patch31
-rw-r--r--packages/wlan-ng/wlan-ng-utils-0.2.1-pre26/.mtn2git_empty0
-rw-r--r--packages/wlan-ng/wlan-ng-utils-0.2.1-pre26/config.in21
-rw-r--r--packages/wlan-ng/wlan-ng-utils-0.2.1-pre26/only-the-utils.patch37
-rw-r--r--packages/wlan-ng/wlan-ng-utils_0.2.1-pre26.bb66
22 files changed, 522 insertions, 0 deletions
diff --git a/packages/wlan-ng/.mtn2git_empty b/packages/wlan-ng/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/wlan-ng/.mtn2git_empty
diff --git a/packages/wlan-ng/files/.mtn2git_empty b/packages/wlan-ng/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/wlan-ng/files/.mtn2git_empty
diff --git a/packages/wlan-ng/files/post-down b/packages/wlan-ng/files/post-down
index bf4ba0ae60..bf4ba0ae60 100644..100755
--- a/packages/wlan-ng/files/post-down
+++ b/packages/wlan-ng/files/post-down
diff --git a/packages/wlan-ng/files/pre-up b/packages/wlan-ng/files/pre-up
index 0ae410edfa..0ae410edfa 100644..100755
--- a/packages/wlan-ng/files/pre-up
+++ b/packages/wlan-ng/files/pre-up
diff --git a/packages/wlan-ng/files/resume b/packages/wlan-ng/files/resume
index f875939da6..f875939da6 100644..100755
--- a/packages/wlan-ng/files/resume
+++ b/packages/wlan-ng/files/resume
diff --git a/packages/wlan-ng/files/usbctl b/packages/wlan-ng/files/usbctl
index 5a34b03c39..5a34b03c39 100644..100755
--- a/packages/wlan-ng/files/usbctl
+++ b/packages/wlan-ng/files/usbctl
Binary files differ
diff --git a/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/.mtn2git_empty b/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/.mtn2git_empty
diff --git a/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/Ambit_usb.patch b/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/Ambit_usb.patch
index e69de29bb2..7dcc09a882 100644
--- a/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/Ambit_usb.patch
+++ b/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/Ambit_usb.patch
@@ -0,0 +1,22 @@
+--- linux-wlan-ng-0.2.1pre21/src/prism2/driver/prism2_usb.c 2004-03-25 10:03:26.000000000 -0600
++++ linux-wlan-ng-0.2.1pre21/src/prism2/driver/prism2_usb.c~Ambit_usb 2004-09-16 14:26:54.746340840 -0500
+@@ -34,9 +34,9 @@
+ {PRISM_USB_DEVICE(0x0b3b, 0x1602, "ZyXEL ZyAIR B200 Wireless USB Adapter")},
+ {PRISM_USB_DEVICE(0x0baf, 0x00eb, "USRobotics USR1120 Wireless USB Adapter")},
+ {PRISM_USB_DEVICE(0x0411, 0x0027, "Melco WLI-USB-KS11G 11Mbps WLAN Adapter")},
+- {PRISM_USB_DEVICE(0x04f1, 0x3009, "JVC MP-XP7250 Builtin USB WLAN Adapter")},
++ {PRISM_USB_DEVICE(0x04f1, 0x3009, "JVC MP-XP7250 Builtin USB WLAN Adapter")},
+ {PRISM_USB_DEVICE(0x0846, 0x4110, "NetGear MA111")},
+- {PRISM_USB_DEVICE(0x03f3, 0x0020, "Adaptec AWN-8020 USB WLAN Adapter")},
++ {PRISM_USB_DEVICE(0x03f3, 0x0020, "Adaptec AWN-8020 USB WLAN Adapter")},
+ // {PRISM_USB_DEVICE(0x0ace, 0x1201, "ZyDAS ZD1201 Wireless USB Adapter")},
+ {PRISM_USB_DEVICE(0x2821, 0x3300, "ASUS-WL140 Wireless USB Adapter")},
+ {PRISM_USB_DEVICE(0x2001, 0x3700, "DWL-122 Wireless USB Adapter")},
+@@ -48,6 +48,7 @@
+ {PRISM_USB_DEVICE(0x0411, 0x0044, "Melco WLI-USB-KB11 11Mbps WLAN Adapter")},
+ {PRISM_USB_DEVICE(0x1668, 0x6106, "ROPEX FreeLan 802.11b USB Adapter")},
+ {PRISM_USB_DEVICE(0x124a, 0x4017, "Pheenet WL-503IA 802.11b USB Adapter")},
++ {PRISM_USB_DEVICE(0x0bb2, 0x0302, "Ambit Microsystems Corp. CE-WL08 802.11b WLAN Module")},
+ { /* terminator */ }
+ };
+
diff --git a/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/OZ-Configure.patch b/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/OZ-Configure.patch
index e69de29bb2..3ec9d617c7 100644
--- a/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/OZ-Configure.patch
+++ b/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/OZ-Configure.patch
@@ -0,0 +1,19 @@
+--- linux-wlan-ng-0.2.1pre22/Configure-dist 2004-08-05 00:55:27.000000000 +1000
++++ linux-wlan-ng-0.2.1pre22/Configure 2004-10-28 02:28:06.000000000 +1000
+@@ -431,16 +431,8 @@
+ if [ -d /etc/rc.d/init.d -o -d /etc/init.d -o -d /sbin/init.d ] ; then
+ $ECHO "It looks like you have a System V init file setup."
+ SYSV_INIT=y
+- if [ -d /etc/rc.d/init.d ] ; then
+- $ECHO "RC_DIR=/etc/rc.d" >> $CONFIG
+- $ECHO "RC_DIR=/etc/rc.d" >> $CONFIG_MK
+- elif [ -d /sbin/init.d ] ; then
+- $ECHO "RC_DIR=/sbin" >> $CONFIG
+- $ECHO "RC_DIR=/sbin" >> $CONFIG_MK
+- else
+ $ECHO "RC_DIR=/etc" >> $CONFIG
+ $ECHO "RC_DIR=/etc" >> $CONFIG_MK
+- fi
+ else
+ $ECHO "It looks like you have a BSD-ish init file setup."
+ if ! grep rc.wlan /etc/rc.d/rc.S >/dev/null ; then
diff --git a/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/config.in b/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/config.in
index e69de29bb2..dd672d2184 100644
--- a/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/config.in
+++ b/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/config.in
@@ -0,0 +1,21 @@
+WLAN_VERSION=0
+WLAN_PATCHLEVEL=2
+WLAN_SUBLEVEL=1
+WLAN_EXTRAVERSION=-pre22
+#LINUX_SRC=$(KERNEL_SOURCE)
+PCMCIA_SRC=
+PREFIX=
+INST_EXEDIR=/sbin
+#TARGET_ROOT_ON_HOST=
+#RC_DIR=/etc/rc.d
+PCMCIA_DIR=/etc/pcmcia
+SYSV_INIT=y
+INSTALL_DEPMOD=y
+WLAN_DEBUG=n
+CROSS_COMPILE_ENABLED=y
+CROSS_COMPILE=
+HOST_COMPILE=
+#PRISM2_PLX=n
+#PRISM2_PCMCIA=n
+#PRISM2_PCI=y
+#PRISM2_USB=n
diff --git a/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/config.mk b/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/config.mk
index e69de29bb2..09ad89d965 100644
--- a/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/config.mk
+++ b/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/config.mk
@@ -0,0 +1,41 @@
+PRISM2_PCMCIA=y
+PRISM2_PLX=n
+PRISM2_PCI=n
+PRISM2_USB=y
+LINUX_SRC=$(KERNEL_SOURCE)
+# KERN_25=y
+CONFIG_NETLINK=y
+CONFIG_PACKET=y
+CONFIG_HOTPLUG=y
+KERNEL_CFLAGS=-D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe
+-mpreferred-stack-boundary=2 -funit-at-a-time -Wdeclaration-after-statement
+KERNEL_MODFLAGS=-DMODULE
+WLAN_KERN_PCMCIA=y
+TARGET_ROOT_ON_HOST=$(DESTDIR)
+PCMCIA_DIR=/etc/pcmcia
+TARGET_PCMCIA_DIR=/etc/pcmcia
+MODDIR=/lib/modules/$(KERNEL_VERSION)
+TARGET_MODDIR=$(TARGET_ROOT_ON_HOST)/$(MODDIR)
+INST_EXEDIR=/sbin
+TARGET_INST_EXEDIR=$(TARGET_ROOT_ON_HOST)/sbin
+RC_DIR=/etc
+SYSV_INIT=y
+# INSTALL_DEPMOD is not defined
+HOST_COMPILE=
+HOST_CFLAGS=$(CFLAGS)
+HOST_AS=$(HOST_COMPILE)as
+HOST_LD=$(HOST_COMPILE)ld
+HOST_CC=$(HOST_COMPILE)gcc
+HOST_CPP=$(HOST_CC) -E
+HOST_AR=$(HOST_COMPILE)ar
+HOST_NM=$(HOST_COMPILE)nm
+HOST_STRIP=$(HOST_COMPILE)strip
+HOST_OBJCOPY=$(HOST_COMPILE)objcopy
+HOST_OBJDUMP=$(HOST_COMPILE)objdump
+HOST_RANLIB=$(HOST_COMPILE)ranlib
+HOST_MAKE=make
+CROSS_COMPILE=y
+# CROSS_COMPILE_ENABLED is not defined
+MAKE=make
+# WLAN_DEBUG is not defined
+FIRMWARE_DIR=/etc/wlan/
diff --git a/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/no-compat.patch b/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/no-compat.patch
index e69de29bb2..4f59f0fa5d 100644
--- a/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/no-compat.patch
+++ b/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/no-compat.patch
@@ -0,0 +1,47 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- linux-wlan-ng-0.2.1pre21/src/include/wlan/wlan_compat.h~no-compat
++++ linux-wlan-ng-0.2.1pre21/src/include/wlan/wlan_compat.h
+@@ -351,14 +351,14 @@
+
+ #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,4,20))
+ #ifdef _LINUX_LIST_H
+-
++/*
+ static inline void list_move_tail(struct list_head *list,
+ struct list_head *head)
+ {
+ __list_del(list->prev, list->next);
+ list_add_tail(list, head);
+ }
+-
++*/
+ static inline void __list_splice(struct list_head *list,
+ struct list_head *head)
+ {
+@@ -372,13 +372,13 @@
+ last->next = at;
+ at->prev = last;
+ }
+-
++/*
+ static inline void list_move(struct list_head *list, struct list_head *head)
+ {
+ __list_del(list->prev, list->next);
+ list_add(list, head);
+ }
+-
++*/
+ static inline void list_splice_init(struct list_head *list,
+ struct list_head *head)
+ {
+@@ -388,7 +388,6 @@
+ }
+ }
+
+-
+ #endif // LIST_H
+ #endif
diff --git a/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/pass-kernel-cross.patch b/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/pass-kernel-cross.patch
index e69de29bb2..c9c00cdc25 100644
--- a/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/pass-kernel-cross.patch
+++ b/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/pass-kernel-cross.patch
@@ -0,0 +1,140 @@
+--- src/p80211/Makefile.orig 2004-09-13 16:53:46.000000000 +0200
++++ src/p80211/Makefile 2004-10-18 18:20:37.130194928 +0200
+@@ -44,6 +44,13 @@
+
+ include $(WLAN_SRC)../../config.mk
+
++passvars = \
++ KERNEL_PATH='$(KERNEL_PATH)' \
++ KERNEL_SRC='$(KERNEL_SRC)' \
++ KERNEL_VERSION='$(KERNEL_VERSION)' \
++ CC='$(KERNEL_CC)' \
++ LD='$(KERNEL_LD)'
++
+ ifeq ($(WLAN_DEBUG), y)
+ WLAN_INCLUDE_DEBUG=-DWLAN_INCLUDE_DEBUG
+ endif
+@@ -89,11 +96,11 @@
+ fi
+
+ $(MAKE) -C $(LINUX_SRC) SUBDIRS=$(PWD) WLAN_SRC=$(PWD)/ \
+- MODVERDIR=$(PWD)/../.tmp_versions modules
++ MODVERDIR=$(PWD)/../.tmp_versions $(passvars) modules
+ else # kbuild 2.4
+
+ $(MAKE) -C $(LINUX_SRC) SUBDIRS=$(PWD) WLAN_SRC=$(PWD)/ \
+- modules
++ $(passvars) modules
+ endif # kbuild switch
+
+ endif # KERNELRELEASE
+--- src/prism2/driver/Makefile.orig 2004-08-04 19:27:56.000000000 +0200
++++ src/prism2/driver/Makefile 2004-10-18 18:20:06.614833968 +0200
+@@ -44,6 +44,13 @@
+
+ include $(WLAN_SRC)../../../config.mk
+
++passvars = \
++ KERNEL_PATH='$(KERNEL_PATH)' \
++ KERNEL_SRC='$(KERNEL_SRC)' \
++ KERNEL_VERSION='$(KERNEL_VERSION)' \
++ CC='$(KERNEL_CC)' \
++ LD='$(KERNEL_LD)'
++
+ ifeq ($(WLAN_DEBUG), y)
+ WLAN_INCLUDE_DEBUG=-DWLAN_INCLUDE_DEBUG
+ endif
+@@ -85,11 +92,11 @@
+ default:
+ ifeq ($(KERN_25), y)
+ $(MAKE) -C $(LINUX_SRC) SUBDIRS=$(PWD) WLAN_SRC=$(PWD)/ \
+- MODVERDIR=$(PWD)/../.tmp_versions modules
++ MODVERDIR=$(PWD)/../.tmp_versions $(passvars) modules
+ else # kbuild 2.4
+
+ $(MAKE) -C $(LINUX_SRC) SUBDIRS=$(PWD) WLAN_SRC=$(PWD)/ \
+- modules
++ $(passvars) modules
+
+ endif # kbuild switch
+
+--- src/prism2/Makefile.orig 2004-02-13 19:47:37.000000000 +0100
++++ src/prism2/Makefile 2004-10-18 18:19:13.511906840 +0200
+@@ -44,6 +44,13 @@
+
+ include ../../config.mk
+
++passvars = \
++ KERNEL_PATH='$(KERNEL_PATH)' \
++ KERNEL_SRC='$(KERNEL_SRC)' \
++ KERNEL_VERSION='$(KERNEL_VERSION)' \
++ KERNEL_CC='$(KERNEL_CC)' \
++ KERNEL_LD='$(KERNEL_LD)'
++
+ DIRS=driver ridlist download
+
+ ifneq ($(wildcard *.addon),)
+@@ -51,10 +58,10 @@
+ endif
+
+ all:
+- set -e; for d in $(DIRS); do $(MAKE) -C $$d ; done
++ set -e; for d in $(DIRS); do $(MAKE) -C $$d $(passvars); done
+
+ clean:
+- set -e; for d in $(DIRS); do $(MAKE) -C $$d clean ; done
++ set -e; for d in $(DIRS); do $(MAKE) -C $$d $(passvars) clean ; done
+ rm -f core core.* *.o .*.o *.s *.a .depend tmp_make *~ tags
+ for i in *_obj; do if [ -d $$i ]; then rm -fr $$i; fi; done
+
+@@ -68,7 +75,7 @@
+ cp $$x $(TARGET_ROOT_ON_HOST)$(FIRMWARE_DIR)/prism2_`echo $$x | cut -c1-2`.hex ; \
+ fi; \
+ done
+- set -e; for d in $(DIRS); do $(MAKE) -C $$d install ; done
++ set -e; for d in $(DIRS); do $(MAKE) -C $$d $(passvars) install ; done
+
+ ctags:
+ ctags -R
+--- Makefile.orig 2004-02-13 19:47:36.000000000 +0100
++++ Makefile 2004-10-18 18:16:58.126488552 +0200
+@@ -42,6 +42,12 @@
+ #
+ # --------------------------------------------------------------------
+
++passvars = \
++ KERNEL_PATH='$(KERNEL_PATH)' \
++ KERNEL_SRC='$(KERNEL_SRC)' \
++ KERNEL_VERSION='$(KERNEL_VERSION)' \
++ KERNEL_CC='$(KERNEL_CC)' \
++ KERNEL_LD='$(KERNEL_LD)'
+
+ DIRS = src doc man etc
+
+@@ -60,7 +66,7 @@
+ @echo " "
+
+ all: config.mk
+- set -e; for d in $(DIRS); do $(MAKE) -C $$d ; done
++ set -e; for d in $(DIRS); do $(MAKE) -C $$d $(passvars); done
+
+ mrproper: clean
+ rm -f config.out
+@@ -68,7 +74,7 @@
+
+ clean:
+ touch config.mk config.new
+- set -e; for d in $(DIRS); do $(MAKE) -C $$d clean ; done
++ set -e; for d in $(DIRS); do $(MAKE) -C $$d $(passvars) clean ; done
+ rm -f core core.* *.o .*.o *.s *.a .depend tmp_make *~ tags
+ for i in *_obj; do if [ -d $$i ]; then rm -fr $$i; fi; done
+ rm -f config.mk config.new
+@@ -76,7 +82,7 @@
+
+ install:
+ find . -name .depend -exec rm {} \;
+- set -e; for d in $(DIRS); do $(MAKE) -C $$d install ; done
++ set -e; for d in $(DIRS); do $(MAKE) -C $$d $(passvars) install ; done
+
+ auto_config config.mk:
+ @touch config.mk config.new
diff --git a/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/scripts-makefile-hostcc.diff b/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/scripts-makefile-hostcc.diff
index e69de29bb2..6f0fc5b61c 100644
--- a/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/scripts-makefile-hostcc.diff
+++ b/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/scripts-makefile-hostcc.diff
@@ -0,0 +1,11 @@
+--- scripts/Makefile.o 2004-10-06 10:16:13.271421032 +0200
++++ scripts/Makefile 2004-10-06 10:16:34.136249096 +0200
+@@ -24,7 +24,7 @@
+ exit 1;\
+ fi
+
+- $(CC) -I$(KERNEL_SOURCE)/include get_version.c -o get_version
++ $(BUILD_CC) -I$(KERNEL_SOURCE)/include get_version.c -o get_version
+
+ get_options:
+ $(MAKE) -f $(CURR_DIR)/Makefile.get_options -C $(KERNEL_SOURCE) get_version_target
diff --git a/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/version.h b/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/version.h
index e69de29bb2..8f884dcb47 100644
--- a/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/version.h
+++ b/packages/wlan-ng/wlan-ng-modules-0.2.1-pre23/version.h
@@ -0,0 +1,19 @@
+#ifndef _WLAN_VERSION_H
+#define _WLAN_VERSION_H
+#ifndef KERNEL_VERSION
+#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
+#endif
+
+/* WLAN_HOSTIF (generally set on the command line, not detected) */
+#define WLAN_PCMCIA 1
+#define WLAN_ISA 2
+#define WLAN_PCI 3
+#define WLAN_USB 4
+#define WLAN_PLX 5
+#define WLAN_SLAVE 6
+#define WLAN_RELEASE "0.2.1-pre21"
+#define WLAN_RELEASE_CODE 0x000201
+#define WLAN_BUILD_DATE "Yesterday Night"
+
+#endif
+
diff --git a/packages/wlan-ng/wlan-ng-modules-0.2.1-pre26/.mtn2git_empty b/packages/wlan-ng/wlan-ng-modules-0.2.1-pre26/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/wlan-ng/wlan-ng-modules-0.2.1-pre26/.mtn2git_empty
diff --git a/packages/wlan-ng/wlan-ng-modules-0.2.1-pre26/no-compat.patch b/packages/wlan-ng/wlan-ng-modules-0.2.1-pre26/no-compat.patch
index e69de29bb2..4f59f0fa5d 100644
--- a/packages/wlan-ng/wlan-ng-modules-0.2.1-pre26/no-compat.patch
+++ b/packages/wlan-ng/wlan-ng-modules-0.2.1-pre26/no-compat.patch
@@ -0,0 +1,47 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- linux-wlan-ng-0.2.1pre21/src/include/wlan/wlan_compat.h~no-compat
++++ linux-wlan-ng-0.2.1pre21/src/include/wlan/wlan_compat.h
+@@ -351,14 +351,14 @@
+
+ #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,4,20))
+ #ifdef _LINUX_LIST_H
+-
++/*
+ static inline void list_move_tail(struct list_head *list,
+ struct list_head *head)
+ {
+ __list_del(list->prev, list->next);
+ list_add_tail(list, head);
+ }
+-
++*/
+ static inline void __list_splice(struct list_head *list,
+ struct list_head *head)
+ {
+@@ -372,13 +372,13 @@
+ last->next = at;
+ at->prev = last;
+ }
+-
++/*
+ static inline void list_move(struct list_head *list, struct list_head *head)
+ {
+ __list_del(list->prev, list->next);
+ list_add(list, head);
+ }
+-
++*/
+ static inline void list_splice_init(struct list_head *list,
+ struct list_head *head)
+ {
+@@ -388,7 +388,6 @@
+ }
+ }
+
+-
+ #endif // LIST_H
+ #endif
diff --git a/packages/wlan-ng/wlan-ng-modules-0.2.1-pre26/only-the-modules.patch b/packages/wlan-ng/wlan-ng-modules-0.2.1-pre26/only-the-modules.patch
index e69de29bb2..a119460a1d 100644
--- a/packages/wlan-ng/wlan-ng-modules-0.2.1-pre26/only-the-modules.patch
+++ b/packages/wlan-ng/wlan-ng-modules-0.2.1-pre26/only-the-modules.patch
@@ -0,0 +1,31 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- linux-wlan-ng-0.2.1-pre26/src/Makefile~only-the-modules.patch
++++ linux-wlan-ng-0.2.1-pre26/src/Makefile
+@@ -44,10 +44,8 @@
+
+ include ../config.mk
+
+-DIRS=p80211 prism2 shared wlanctl wland nwepgen \
+- mkmeta wlancfg
+-ALL_DIRS=mkmeta p80211 prism2 shared wlanctl wland \
+- nwepgen wlancfg
++DIRS=p80211 prism2 shared mkmeta
++ALL_DIRS=mkmeta p80211 prism2 shared
+
+ ifneq ($(wildcard *.addon),)
+ DIRS+=`cat *.addon`
+--- linux-wlan-ng-0.2.1-pre26/src/prism2/Makefile~only-the-modules.patch
++++ linux-wlan-ng-0.2.1-pre26/src/prism2/Makefile
+@@ -44,7 +44,7 @@
+
+ include ../../config.mk
+
+-DIRS=driver ridlist download
++DIRS=driver ridlist
+
+ ifneq ($(wildcard *.addon),)
+ DIRS+=`cat *.addon`
diff --git a/packages/wlan-ng/wlan-ng-utils-0.2.1-pre26/.mtn2git_empty b/packages/wlan-ng/wlan-ng-utils-0.2.1-pre26/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/wlan-ng/wlan-ng-utils-0.2.1-pre26/.mtn2git_empty
diff --git a/packages/wlan-ng/wlan-ng-utils-0.2.1-pre26/config.in b/packages/wlan-ng/wlan-ng-utils-0.2.1-pre26/config.in
index e69de29bb2..5b9b7c780c 100644
--- a/packages/wlan-ng/wlan-ng-utils-0.2.1-pre26/config.in
+++ b/packages/wlan-ng/wlan-ng-utils-0.2.1-pre26/config.in
@@ -0,0 +1,21 @@
+WLAN_VERSION=0
+WLAN_PATCHLEVEL=2
+WLAN_SUBLEVEL=1
+WLAN_EXTRAVERSION=-pre26
+#LINUX_SRC=$(KERNEL_SOURCE)
+PCMCIA_SRC=
+PREFIX=
+INST_EXEDIR=/sbin
+#TARGET_ROOT_ON_HOST=
+#RC_DIR=/etc/init.d
+PCMCIA_DIR=/etc/pcmcia
+SYSV_INIT=y
+INSTALL_DEPMOD=
+WLAN_DEBUG=n
+CROSS_COMPILE_ENABLED=n
+CROSS_COMPILE=
+HOST_COMPILE=
+PRISM2_PLX=y
+PRISM2_PCMCIA=y
+PRISM2_PCI=y
+PRISM2_USB=y
diff --git a/packages/wlan-ng/wlan-ng-utils-0.2.1-pre26/only-the-utils.patch b/packages/wlan-ng/wlan-ng-utils-0.2.1-pre26/only-the-utils.patch
index e69de29bb2..43c9c1320d 100644
--- a/packages/wlan-ng/wlan-ng-utils-0.2.1-pre26/only-the-utils.patch
+++ b/packages/wlan-ng/wlan-ng-utils-0.2.1-pre26/only-the-utils.patch
@@ -0,0 +1,37 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- linux-wlan-ng-0.2.1-pre26/src/Makefile~only-the-utils
++++ linux-wlan-ng-0.2.1-pre26/src/Makefile
+@@ -42,12 +42,10 @@
+ #
+ # --------------------------------------------------------------------
+
+-include ../config.mk
++include ../config.mk
+
+-DIRS=p80211 prism2 shared wlanctl wland nwepgen \
+- mkmeta wlancfg
+-ALL_DIRS=mkmeta p80211 prism2 shared wlanctl wland \
+- nwepgen wlancfg
++DIRS=prism2 shared wlanctl wland nwepgen mkmeta wlancfg
++ALL_DIRS=mkmeta prism2 shared wlanctl wland nwepgen wlancfg
+
+ ifneq ($(wildcard *.addon),)
+ DIRS+=`cat *.addon`
+--- linux-wlan-ng-0.2.1-pre26/src/prism2/Makefile~only-the-utils
++++ linux-wlan-ng-0.2.1-pre26/src/prism2/Makefile
+@@ -42,9 +42,9 @@
+ #
+ # --------------------------------------------------------------------
+
+-include ../../config.mk
++include ../../config.mk
+
+-DIRS=driver ridlist download
++DIRS=ridlist download
+
+ ifneq ($(wildcard *.addon),)
+ DIRS+=`cat *.addon`
diff --git a/packages/wlan-ng/wlan-ng-utils_0.2.1-pre26.bb b/packages/wlan-ng/wlan-ng-utils_0.2.1-pre26.bb
index e69de29bb2..7d5ceda29c 100644
--- a/packages/wlan-ng/wlan-ng-utils_0.2.1-pre26.bb
+++ b/packages/wlan-ng/wlan-ng-utils_0.2.1-pre26.bb
@@ -0,0 +1,66 @@
+DESCRIPTION = "linux-wlan-ng userland utilities"
+HOMEPAGE = "http://www.linux-wlan.org"
+SECTION = "kernel/userland"
+DEPENDS = "virtual/kernel"
+LICENSE = "GPL"
+PR = "r0"
+
+SRC_URI = "ftp://ftp.linux-wlan.org/pub/linux-wlan-ng/linux-wlan-ng-${PV}.tar.bz2 \
+ file://only-the-utils.patch;patch=1 \
+ file://wlan-ng.modutils \
+ file://wlan.agent \
+ file://usbctl \
+ file://resume \
+ file://pre-up \
+ file://post-down \
+ file://config.in"
+S = "${WORKDIR}/linux-wlan-ng-${PV}"
+
+# yeah, it's kind of backwards, but otherwise the config step will fail
+inherit module
+
+do_configure() {
+ install -m 0655 ${WORKDIR}/config.in ${S}/config.in
+ oe_runmake LINUX_SRC=${KERNEL_SOURCE} auto_config
+
+ if grep CONFIG_PCMCIA=[ym] ${STAGING_KERNEL_DIR}/kernel-config; then
+ echo "PRISM2_PCMCIA=y" >> config.mk
+ echo "WLAN_KERN_PCMCIA=y" >> config.mk
+ fi
+ echo "TARGET_ROOT_ON_HOST=${D}/" >> config.mk
+ echo "FIRMWARE_DIR=/etc/wlan" >> config.mk
+ echo "TARGET_MODDIR=${D}/lib/modules/${KERNEL_VERSION}/wlan-ng" >> config.mk
+ echo "TARGET_INST_EXEDIR=${D}/sbin" >> config.mk
+ echo "RC_DIR=${sysconfdir}/" >> config.mk
+ echo "CC=${CC}" >> config.mk
+ echo "LD=${LD}" >> config.mk
+
+ # Shut up, you broken buildsystem
+ install -m 0655 config.mk src/prism2/config.mk
+ install -d src/prism2/driver/include
+ ln -sf ${S}/src/include/wlan src/prism2/driver/include/wlan
+ ln -sf ${S}/src/prism2/include/prism2 src/prism2/driver/include/prism2
+}
+
+do_compile() {
+ oe_runmake all
+}
+
+do_install() {
+ oe_runmake install
+ mkdir -p ${D}${sysconfdir}/modutils/
+ mkdir -p ${D}${sysconfdir}/hotplug/
+ mkdir -p ${D}${base_sbindir}/
+ install -m 0644 ${WORKDIR}/wlan-ng.modutils ${D}${sysconfdir}/modutils/wlan-ng.conf
+ install -m 0755 ${WORKDIR}/wlan.agent ${D}${sysconfdir}/hotplug/wlan.agent
+ install -d ${D}${sysconfdir}/network/if-pre-up.d
+ install -m 0755 ${WORKDIR}/pre-up ${D}${sysconfdir}/network/if-pre-up.d/wlan-ng
+ install -d ${D}${sysconfdir}/network/if-post-down.d
+ install -m 0755 ${WORKDIR}/post-down ${D}${sysconfdir}/network/if-post-down.d/wlan-ng
+ install -d ${D}${sysconfdir}/apm/resume.d
+ install -m 0755 ${WORKDIR}/resume ${D}${sysconfdir}/apm/resume.d/wlan-ng
+ install -m 0755 ${WORKDIR}/usbctl ${D}${base_sbindir}/usbctl
+ install -d ${D}${mandir}
+}
+
+FILES_${PN} = "/etc /sbin"