Re: Kernel NULL pointer when loading bcm43xx-mac80211 with fwpostfix = ".fw4"

2007-04-08 Thread Johannes Berg
On Sat, 2007-04-07 at 12:44 -0500, Larry Finger wrote: > My bad. As shown above, I had white space around the equals - a no-no. > Removing it fixed the > problem. The examples both of you showed gave me the clue. Interesting. So you really had three parameters: "fwpostfix", "=" and ".fw4". I gu

bcm-43xx HORRIBLY slow with 4311 card and 2.6.20

2007-04-08 Thread John H.
uname -a Linux laptop 2.6.20-1.2933.fc6 #1 SMP Mon Mar 19 11:38:26 EDT 2007 i686 i686 i386 GNU/Linux 0b:00.0 Network controller: Broadcom Corporation Dell Wireless 1390 WLAN Mini-PCI Card (rev 01) I get 97k/s download from speed test using bcm-43xx, I reboot to XP and I get over 4700kb/s. What d

Re: bcm-43xx HORRIBLY slow with 4311 card and 2.6.20

2007-04-08 Thread Johannes Berg
On Sun, 2007-04-08 at 03:42 -0500, John H. wrote: > What do I do? Apply Larry's patches. I don't remember the URL and can't find it easily right now, you'll find it with some searching on this mailing list. johannes signature.asc Description: This is a digitally signed message part ___

Re: bcm-43xx HORRIBLY slow with 4311 card and 2.6.20

2007-04-08 Thread John H.
Thanks. http://www.mail-archive.com/bcm43xx-dev@lists.berlios.de/msg03201.html I am assuming that one is enough for the speed difference? Will these patches be in next kernel releases? On 4/8/07, Johannes Berg <[EMAIL PROTECTED]> wrote: > On Sun, 2007-04-08 at 03:42 -0500, John H. wrote: > > > W

Re: bcm-43xx HORRIBLY slow with 4311 card and 2.6.20

2007-04-08 Thread Johannes Berg
On Sun, 2007-04-08 at 04:05 -0500, John H. wrote: > Thanks. > http://www.mail-archive.com/bcm43xx-dev@lists.berlios.de/msg03201.html That's not the one I was thinking of, does it apply? Look for his combined patches. > I am assuming that one is enough for the speed difference? Don't really kno

Re: bcm-43xx HORRIBLY slow with 4311 card and 2.6.20

2007-04-08 Thread Jory A. Pratt
Johannes Berg wrote: > On Sun, 2007-04-08 at 03:42 -0500, John H. wrote: > > >> What do I do? >> > > Apply Larry's patches. I don't remember the URL and can't find it easily > right now, you'll find it with some searching on this mailing list. > > johannes > > ---

Re: Kernel NULL pointer when loading bcm43xx-mac80211 with fwpostfix = ".fw4"

2007-04-08 Thread Larry Finger
Johannes Berg wrote: > On Sat, 2007-04-07 at 12:44 -0500, Larry Finger wrote: > >> My bad. As shown above, I had white space around the equals - a no-no. >> Removing it fixed the >> problem. The examples both of you showed gave me the clue. > > Interesting. So you really had three parameters: "

Re: OpenBSD bcw: Possible GPL license violation issues

2007-04-08 Thread Michael Buesch
On Sunday 08 April 2007 15:27, Reyk Floeter wrote: > You either totally misinterpreted my statements or you just want to > spread the FUD that every OpenBSD developer is mind-controlled by > Theo. I involved Theo _after_ I denied the various requests to change > the license of my driver because the

Re: bcm-43xx HORRIBLY slow with 4311 card and 2.6.20

2007-04-08 Thread Larry Finger
Johannes Berg wrote: > On Sun, 2007-04-08 at 04:05 -0500, John H. wrote: >> Thanks. >> http://www.mail-archive.com/bcm43xx-dev@lists.berlios.de/msg03201.html > > That's not the one I was thinking of, does it apply? Look for his > combined patches. > >> I am assuming that one is enough for the spe

Re: bcm-43xx HORRIBLY slow with 4311 card and 2.6.20

2007-04-08 Thread Larry Finger
John, One "trivial", counter-intuitive suggestion until you get an updated kernel is to set your rate to 1 Mbs using iwconfig. For some reason, that cuts the error rate in transmissions, and both your download and upload speeds will improve. Larry

Re: bcm-43xx HORRIBLY slow with 4311 card and 2.6.20

2007-04-08 Thread John H.
Thanks. I was looking for some binary solution for now, as my fedora kernel is Linux laptop 2.6.20-1.2933.fc6 #1 SMP Mon Mar 19 11:38:26 EDT 2007 i686 i686 i386 GNU/Linux And I have stopped compiling own kernels due to lack of time. However, it seems that is not possible. Thanks though. On 4/8

Re: OpenBSD bcw: Possible GPL license violation issues

2007-04-08 Thread Pavel Roskin
Hello, Reyk! Quoting Reyk Floeter <[EMAIL PROTECTED]>: > I'm sure that somebody forwarded the mails from our private > discussions to you where I clearly denied the requests to change the > license of my driver. I do not believe in dual licensing, and it would > make my driver less free. It does

Re: [PATCH] mac80211: Report correct wireless statistics

2007-04-08 Thread Larry Finger
Michael Wu wrote: > On Sunday 08 April 2007 01:04, Larry Finger wrote: >> In mac80211 the 'qual' and 'level' values are interchanged. The patch also >> places the 'qual' value on a 0 - 100 scale and calculated using the formula >> contained in iwlib. >> > NACK. Qual (arbitrary signal quality) and l

Re: [PATCH] mac80211: Report correct wireless statistics

2007-04-08 Thread Larry Finger
Michael Wu wrote: > On Sunday 08 April 2007 18:26, Larry Finger wrote: >> Link Quality=216/146 Signal level=-197 dBm Noise level=-63 dBm >> > Is this before or after your "bcm43xx-mac80211: Fix error in initiallizing > max > RSSI and max signal" patch? > > -Michael Wu This is after that patc

Re: [PATCH] mac80211: Report correct wireless statistics

2007-04-08 Thread Larry Finger
Michael Wu wrote: > On Sunday 08 April 2007 19:32, Larry Finger wrote: >> Michael Wu wrote: >>> Is this before or after your "bcm43xx-mac80211: Fix error in >>> initiallizing max RSSI and max signal" patch? >>> >> This is after that patch. >> > So what do the statistics look like without that patch

Re: bcm-43xx HORRIBLY slow with 4311 card and 2.6.20

2007-04-08 Thread Larry Finger
John H. wrote: > Thanks. > > I was looking for some binary solution for now, as my fedora kernel is > Linux laptop 2.6.20-1.2933.fc6 #1 SMP Mon Mar 19 11:38:26 EDT 2007 > i686 i686 i386 GNU/Linux > > And I have stopped compiling own kernels due to lack of time. > > However, it seems that is not

Re: bcm-43xx HORRIBLY slow with 4311 card and 2.6.20

2007-04-08 Thread David Woodhouse
On Sun, 2007-04-08 at 11:17 -0500, John H. wrote: > I was looking for some binary solution for now, as my fedora kernel is > Linux laptop 2.6.20-1.2933.fc6 #1 SMP Mon Mar 19 11:38:26 EDT 2007 > i686 i686 i386 GNU/Linux > > And I have stopped compiling own kernels due to lack of time. Why would yo

Re: OpenBSD bcw: Possible GPL license violation issues

2007-04-08 Thread evan foss
Your argument has hit slashdot. http://bsd.slashdot.org/article.pl?sid=07/04/07/1618239&from=rss -- http://www.coe.neu.edu/~efoss/ http://evanfoss.googlepages.com/ ___ Bcm43xx-dev mailing list Bcm43xx-dev@lists.berlios.de https://lists.berlios.de/mailma

[RFC] PHY setup in v4 specs implementation

2007-04-08 Thread Stefano Brivio
I'm going to move all v4 workarounds needed for the A and G PHY setup into a separate file (draft inlined here), as it'll easily get to ~1000 lines, and I wouldn't really want to make a mess out of _phy.c. These workarounds are strictly needed for A PHY support (which I'm currently working on) and

Re: [PATCH] mac80211: Report correct wireless statistics

2007-04-08 Thread Larry Finger
Michael Wu wrote: > On Sunday 08 April 2007 20:02, Larry Finger wrote: >> Link Quality=219/60 Signal level=-200 dBm Noise level=-69 dBm >> > Try the attached patch without your "bcm43xx-mac80211: Fix error in > initiallizing max RSSI and max signal" patch. > > -Michael Wu Why would I want to d

[PATCH 2/3] bcm43xx-mac80211: Fix error path memory leak

2007-04-08 Thread Will Dyson
When doing setup for the dma ring, the txhdr_cache must be freed if there is an error after it is allocated. Signed-off-by: Will Dyson <[EMAIL PROTECTED]> --- .../net/wireless/mac80211/bcm43xx/bcm43xx_dma.c|4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/net

[PATCH 3/3] bcm43xx-mac80211: Work around 30bit DMA limitation

2007-04-08 Thread Will Dyson
When DMA mapping for RX fails because of the limitation, retry the allocation in ZONE_DMA. When the network stack passes us TX buffers that cannot be mapped because of the limitation, allocate a bounce buffer in ZONE_DMA and copy the packet there. Signed-off-by: Will Dyson <[EMAIL PROTECTED]> ---

[PATCH 1/3] bcm43xx-mac80211: Catch dma mapping failures.

2007-04-08 Thread Will Dyson
Check result of dma_map_single(), print warnings and propagate errors up the call stack. Signed-off-by: Will Dyson <[EMAIL PROTECTED]> --- .../net/wireless/mac80211/bcm43xx/bcm43xx_dma.c| 39 +++- 1 files changed, 30 insertions(+), 9 deletions(-) diff --git a/drivers/net/wi

Re: [PATCH] mac80211: Report correct wireless statistics

2007-04-08 Thread Larry Finger
Michael Wu wrote: > On Sunday 08 April 2007 23:54, Larry Finger wrote: >> Why would I want to do this? > Did it fix the output? With that patch as the only one applied to wireless-dev, I get Link Quality=69/60 Signal level=-37 dBm Noise level=-70 dBm Larry

Good news on Dell Mini-PCI 1390

2007-04-08 Thread Dan Pasanen
Tonight I downloaded the 2.6.20.6 kernel and the combined patch from ftp://lwfinger.dynalias.org/patches . Patched the kernel source and rebooted into the new kernel. I used to get decent speeds with just a regular 2.6.20.5 kernel, but I still used my LAN cable. I dont need it anymore, that patch

Re: bcm-43xx HORRIBLY slow with 4311 card and 2.6.20

2007-04-08 Thread John H.
I ended up just using the following... http://www.howtoforge.com/kernel_compilation_fedora Can I get a patched version of the bcm43xx source and just compile that? On 4/8/07, David Woodhouse <[EMAIL PROTECTED]> wrote: > On Sun, 2007-04-08 at 11:17 -0500, John H. wrote: > > I was looking for some

Re: bcm-43xx HORRIBLY slow with 4311 card and 2.6.20

2007-04-08 Thread Larry Finger
John H. wrote: > I ended up just using the following... > > http://www.howtoforge.com/kernel_compilation_fedora > > Can I get a patched version of the bcm43xx source and just compile that? I scanned the reference quickly, but I think you have downloaded the Fedora kernel sources. If so, in ste

Re: bcm-43xx HORRIBLY slow with 4311 card and 2.6.20

2007-04-08 Thread David Woodhouse
On Mon, 2007-04-09 at 01:06 -0500, Larry Finger wrote: > I scanned the reference quickly, but I think you have downloaded the Fedora > kernel sources. If so, > in step 2.3 you should use the line 'wget > ftp://lwfinger.dynalias.org/patches/combined_2.6.20.2.patch' (I think I > recall that you w

Re: bcm-43xx HORRIBLY slow with 4311 card and 2.6.20

2007-04-08 Thread Larry Finger
David Woodhouse wrote: > > But really, even if you _wanted_ to rebuild your kernel that reference > is giving bad advice; you'd do better to check the RPM sources out from > CVS and make them that way. > > It's doubly bad for not starting with "YOU REALLY DON'T WANT TO BUILD > YOUR OWN KERNEL" in