Gmane
Favicon
From: Pavel Roskin <svn-commits <at> madwifi.org>
Subject: revision 3841 committed
Newsgroups: gmane.linux.drivers.madwifi.cvs
Date: 2008-08-01 03:35:34 GMT (16 weeks, 2 days, 9 hours and 44 minutes ago)
Project     : madwifi
Revision    : 3841
Author      : proski (Pavel Roskin)
Date        : 2008-08-01 05:35:34 +0200 (Fri, 01 Aug 2008)

Log Message :
Merge support for testing cryptographic algorithms

Affected Files:
* madwifi/branches/madwifi-0.9.4/Makefile             updated             
* madwifi/branches/madwifi-0.9.4/regression/Makefile  added               
* madwifi/branches/madwifi-0.9.4/regression/ccmp/Makefile  added               
* madwifi/branches/madwifi-0.9.4/regression/tkip/Makefile  added               
* madwifi/branches/madwifi-0.9.4/regression/wep/Makefile  added               

Modified: madwifi/branches/madwifi-0.9.4/Makefile
===================================================================
--- madwifi/branches/madwifi-0.9.4/Makefile	2008-08-01 03:20:46 UTC (rev 3840)
+++ madwifi/branches/madwifi-0.9.4/Makefile	2008-08-01 03:35:34 UTC (rev 3841)
@@ -49,6 +49,10 @@

 obj-y := ath/ ath_hal/ ath_rate/ net80211/

+ifdef CRYPTO_TESTING
+obj-y += regression/
+endif
+
 all: modules tools

 modules: configcheck svnversion.h

Added: madwifi/branches/madwifi-0.9.4/regression/Makefile
===================================================================
--- madwifi/branches/madwifi-0.9.4/regression/Makefile	                        (rev 0)
+++ madwifi/branches/madwifi-0.9.4/regression/Makefile	2008-08-01 03:35:34 UTC (rev 3841)
@@ -0,0 +1,28 @@
+obj := $(firstword $(obj) $(SUBDIRS) .)
+TOP = $(obj)/..
+
+obj-y := ccmp/ tkip/ wep/
+
+include $(TOP)/Makefile.inc
+
+modules:
+ifdef LINUX24
+	for i in $(obj-y); do \
+		$(MAKE) -C $$i || exit 1; \
+	done
+else
+	$(MAKE) -C $(KERNELPATH) SUBDIRS=$(shell pwd) modules
+endif
+
+install:
+	for i in $(obj-y); do \
+		$(MAKE) -C $$i install || exit 1; \
+	done
+
+clean:
+	for i in $(obj-y); do \
+		$(MAKE) -C $$i clean; \
+	done
+
+	rm -f modules.order *.symvers
+	rm -rf .tmp_versions

Added: madwifi/branches/madwifi-0.9.4/regression/ccmp/Makefile
===================================================================
--- madwifi/branches/madwifi-0.9.4/regression/ccmp/Makefile	                        (rev 0)
+++ madwifi/branches/madwifi-0.9.4/regression/ccmp/Makefile	2008-08-01 03:35:34 UTC (rev 3841)
@@ -0,0 +1,31 @@
+#
+# Makefile for the CCMP regression test.
+#
+obj := $(firstword $(obj) $(SUBDIRS) .)
+TOP = $(obj)/../..
+
+obj-m			+= ath_test_ccmp.o
+ath_test_ccmp-objs	:= test_ccmp.o
+
+include $(TOP)/Makefile.inc
+
+INCS += -I$(TOP) -I$(WLAN)
+
+EXTRA_CFLAGS+= $(INCS) $(COPTS)
+
+-include $(TOPDIR)/Rules.make
+
+all:
+	$(MAKE) -C $(KERNELPATH) SUBDIRS=$(shell pwd) modules
+
+install:
+	test -d $(DESTDIR)/$(KMODPATH) || mkdir -p $(DESTDIR)/$(KMODPATH)
+	install -m 0644 ath_test_ccmp.$(KMODSUF) $(DESTDIR)/$(KMODPATH)
+
+clean:
+	-rm -f *~ *.o *.ko *.mod.c
+	-rm -f modules.order .depend .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
+	-rm -rf .tmp_versions
+
+ath_test_ccmp.o: $(ath_test_ccmp-objs)
+	$(LD) $(LDOPTS) -o ath_test_ccmp.$(KMODSUF) -r $(ath_test_ccmp-objs)

Added: madwifi/branches/madwifi-0.9.4/regression/tkip/Makefile
===================================================================
--- madwifi/branches/madwifi-0.9.4/regression/tkip/Makefile	                        (rev 0)
+++ madwifi/branches/madwifi-0.9.4/regression/tkip/Makefile	2008-08-01 03:35:34 UTC (rev 3841)
@@ -0,0 +1,31 @@
+#
+# Makefile for the TKIP regression test.
+#
+obj := $(firstword $(obj) $(SUBDIRS) .)
+TOP = $(obj)/../..
+
+obj-m			+= ath_test_tkip.o
+ath_test_tkip-objs	:= test_tkip.o
+
+include $(TOP)/Makefile.inc
+
+INCS += -I$(TOP) -I$(WLAN)
+
+EXTRA_CFLAGS+= $(INCS) $(COPTS)
+
+-include $(TOPDIR)/Rules.make
+
+all:
+	$(MAKE) -C $(KERNELPATH) SUBDIRS=$(shell pwd) modules
+
+install:
+	test -d $(DESTDIR)/$(KMODPATH) || mkdir -p $(DESTDIR)/$(KMODPATH)
+	install -m 0644 ath_test_tkip.$(KMODSUF) $(DESTDIR)/$(KMODPATH)
+
+clean:
+	-rm -f *~ *.o *.ko *.mod.c
+	-rm -f modules.order .depend .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
+	-rm -rf .tmp_versions
+
+ath_test_tkip.o: $(ath_test_tkip-objs)
+	$(LD) $(LDOPTS) -o ath_test_tkip.$(KMODSUF) -r $(ath_test_tkip-objs)

Added: madwifi/branches/madwifi-0.9.4/regression/wep/Makefile
===================================================================
--- madwifi/branches/madwifi-0.9.4/regression/wep/Makefile	                        (rev 0)
+++ madwifi/branches/madwifi-0.9.4/regression/wep/Makefile	2008-08-01 03:35:34 UTC (rev 3841)
@@ -0,0 +1,31 @@
+#
+# Makefile for the WEP regression test.
+#
+obj := $(firstword $(obj) $(SUBDIRS) .)
+TOP = $(obj)/../..
+
+obj-m			+= ath_test_wep.o
+ath_test_wep-objs	:= test_wep.o
+
+include $(TOP)/Makefile.inc
+
+INCS += -I$(TOP) -I$(WLAN)
+
+EXTRA_CFLAGS+= $(INCS) $(COPTS)
+
+-include $(TOPDIR)/Rules.make
+
+all:
+	$(MAKE) -C $(KERNELPATH) SUBDIRS=$(shell pwd) modules
+
+install:
+	test -d $(DESTDIR)/$(KMODPATH) || mkdir -p $(DESTDIR)/$(KMODPATH)
+	install -m 0644 ath_test_wep.$(KMODSUF) $(DESTDIR)/$(KMODPATH)
+
+clean:
+	-rm -f *~ *.o *.ko *.mod.c
+	-rm -f modules.order .depend .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
+	-rm -rf .tmp_versions
+
+ath_test_wep.o: $(ath_test_wep-objs)
+	$(LD) $(LDOPTS) -o ath_test_wep.$(KMODSUF) -r $(ath_test_wep-objs)

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/