Hello,

the solution is as simple as it was discussed here. By compiling madwifi 
without compression capabilities the routerstation booted nicely with 2 atheros 
cards.
I assume that the hardware compression engine doesn't work together with 4byte 
DMA transactions which had to be comfigured to get the old a/b/g atheros chips 
on AR71xx

I attached a patch which makes compression an optional parameter in menuconfig.

Dennis Bartsch


> From: david.ban...@gmail.com
> To: openwrt-devel@lists.openwrt.org
> Date: Mon, 29 Jun 2009 17:13:56 -0500
> Subject: Re: [OpenWrt-Devel] routerstation and madwifi
> 
> 
> 
> On Mon, Jun 29, 2009 at 06:42, Vasilis 
> Tsiligiannis<b_tsiligian...@silverton.gr> wrote:
> > On Sunday 28 June 2009 19:08:10 David A. Bandel wrote:
> >> Vasilis,
> >>
> >> Well,  in 16603 neither compression off nor backing out 434 works (or so it
> >> seems).  I'm open to more suggestions.
> >>
> >> David-
> >
> >
> > Hi David,
> >
> > Trying backing out r15949 patch. Btw, do you have access to the serial
> > console?
> 
> That's the big problem, I don't.  I may be able to build a cable -- the board 
> has UART pins.  I have no jtag for a mips board either.  Working this purely 
> from ethernet.  If syslog is alive, perhaps I can grab some snippets before 
> it locks up.
> 
> Will try 15949.
> 
> David-
> -- 
> Focus on the dream, not the competition.
>             - Nemesis Air Racing Team motto
> 

_________________________________________________________________
http://redirect.gimas.net/?n=M0906xIE8_MSN3
Hol Dir den neuen Internet Explorer 8 mit MSN-Toolbar
Index: package/madwifi/Config.in
===================================================================
--- package/madwifi/Config.in	(Revision 16621)
+++ package/madwifi/Config.in	(Arbeitskopie)
@@ -5,6 +5,14 @@
 	depends on DEVEL && PACKAGE_kmod-madwifi
 	default n
 
+config MADWIFI_COMPRESSION
+	bool "Enable SuperG/TurboA Hardware Compression"
+	depends !TARGET_ar71xx
+	help
+	   Enables the Hardwarecompression Engine on Atheros based WIFI Hardware.
+	   But is not stable with AR71xx platform.
+	default n
+
 choice
 	prompt "Madwifi version"
 	depends on PACKAGE_kmod-madwifi
Index: package/madwifi/Makefile
===================================================================
--- package/madwifi/Makefile	(Revision 16621)
+++ package/madwifi/Makefile	(Arbeitskopie)
@@ -46,8 +46,6 @@
 
 include $(INCLUDE_DIR)/package.mk
 
-COMPRESSION:=1
-
 define Download/hal
   FILE:=$(HAL_FILE)
   URL:=http://mirror2.openwrt.org/sources
@@ -55,6 +53,11 @@
 endef
 $(eval $(call Download,hal))
 
+ifdef CONFIG_MADWIFI_COMPRESSION
+  COMPRESSION:=1
+else
+  COMPRESSION:=0
+endif
 
 ifneq ($(CONFIG_TARGET_atheros),)
   BUS:=AHB
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to