Re: [RFC PATCH] bcm43xx: set channel when the interface is brought up

2007-01-26 Thread Johannes Berg
On Thu, 2007-01-25 at 09:34 -0500, Gene Heskett wrote: > MLME? More acronyms I've not put in my wet dictionary.. :) The 802.11 specs have a huge list of acronyms you might want to be somewhat familiar with. I think I have a printout somewhere, can't ever remember them either ;) johannes signa

Re: [RFC PATCH] bcm43xx: set channel when the interface is brought up

2007-01-25 Thread John W. Linville
On Thu, Jan 25, 2007 at 11:51:27AM -0500, Michael Wu wrote: > On Thursday 25 January 2007 01:50, Pavel Roskin wrote: > > If the hardware drivers are supposed to do it, here's my patch. It is > > working fine for me and ready to be applied. The changelog is in the > > subject. > Let's fix this in

Re: [RFC PATCH] bcm43xx: set channel when the interface is brought up

2007-01-25 Thread Michael Wu
On Thursday 25 January 2007 01:50, Pavel Roskin wrote: > If the hardware drivers are supposed to do it, here's my patch. It is > working fine for me and ready to be applied. The changelog is in the > subject. Let's fix this in the stack. This problem will be fixed for most users once auto channe

Re: [RFC PATCH] bcm43xx: set channel when the interface is brought up

2007-01-25 Thread Dan Williams
On Thu, 2007-01-25 at 09:36 -0600, Larry Finger wrote: > Gene Heskett wrote: > > On Thursday 25 January 2007 07:50, Jiri Benc wrote: > >> On Thu, 25 Jan 2007 12:47:08 +0100, Ivo Van Doorn wrote: > >>> Correct, similar problems have been detected in rt2x00. The temporary > >>> solution in there is t

Re: [RFC PATCH] bcm43xx: set channel when the interface is brought up

2007-01-25 Thread Larry Finger
Gene Heskett wrote: > On Thursday 25 January 2007 07:50, Jiri Benc wrote: >> On Thu, 25 Jan 2007 12:47:08 +0100, Ivo Van Doorn wrote: >>> Correct, similar problems have been detected in rt2x00. The temporary >>> solution in there is to demand a scanning operation after the >>> interface has been br

Re: [RFC PATCH] bcm43xx: set channel when the interface is brought up

2007-01-25 Thread Gene Heskett
On Thursday 25 January 2007 07:50, Jiri Benc wrote: >On Thu, 25 Jan 2007 12:47:08 +0100, Ivo Van Doorn wrote: >> Correct, similar problems have been detected in rt2x00. The temporary >> solution in there is to demand a scanning operation after the >> interface has been brought up. > >Scanning? No n

Re: [RFC PATCH] bcm43xx: set channel when the interface is brought up

2007-01-25 Thread Gene Heskett
On Thursday 25 January 2007 09:23, Jiri Benc wrote: >On Thu, 25 Jan 2007 09:05:32 -0500, Gene Heskett wrote: >> Oh? I'm sitting here watching the tty0 screen of my lappy after x has >> been started, and I have established a connection, but SoftMAC is >> still logging its scan activity, starting wi

Re: [RFC PATCH] bcm43xx: set channel when the interface is brought up

2007-01-25 Thread Jiri Benc
On Thu, 25 Jan 2007 09:05:32 -0500, Gene Heskett wrote: > Oh? I'm sitting here watching the tty0 screen of my lappy after x has > been started, and I have established a connection, but SoftMAC is still > logging its scan activity, starting with channel 1 and scanning 14 > channels. Its doing t

Re: [RFC PATCH] bcm43xx: set channel when the interface is brought up

2007-01-25 Thread Ivo Van Doorn
Hi, > Correct, similar problems have been detected in rt2x00. The temporary > solution in there is to demand a scanning operation after the interface > has been brought up. Scanning? No no no, please! That would be a clear bug and misbehaviour. Hmm, I think I forgot to add one little thing in

Re: [RFC PATCH] bcm43xx: set channel when the interface is brought up

2007-01-25 Thread Jiri Benc
On Thu, 25 Jan 2007 12:47:08 +0100, Ivo Van Doorn wrote: > Correct, similar problems have been detected in rt2x00. The temporary > solution in there is to demand a scanning operation after the interface > has been brought up. Scanning? No no no, please! That would be a clear bug and misbehaviour.

Re: [RFC PATCH] bcm43xx: set channel when the interface is brought up

2007-01-25 Thread Ivo Van Doorn
Hi, I have discovered that while I can indeed associate without wpa_supplicant using bcm43xx_d80211 driver, I have to set the channel every time the interface is brought down and up. It turns out d80211 uses the "config" method of the hardware drivers very sparingly. It's only used for scannin

Re: [RFC PATCH] bcm43xx: set channel when the interface is brought up

2007-01-25 Thread Jiri Benc
On Thu, 25 Jan 2007 01:50:54 -0500, Pavel Roskin wrote: > It turns out d80211 uses the "config" method of the hardware drivers > very sparingly. It's only used for scanning and in ioctl commands. It > is not called after the interface has been brought up with the "open" > method. > > I don't kno

[RFC PATCH] bcm43xx: set channel when the interface is brought up

2007-01-24 Thread Pavel Roskin
Hello! I have discovered that while I can indeed associate without wpa_supplicant using bcm43xx_d80211 driver, I have to set the channel every time the interface is brought down and up. It turns out d80211 uses the "config" method of the hardware drivers very sparingly. It's only used for scanni