On Thu, Feb 07, 2013 at 03:44:12PM +0100, Mark Kettenis wrote:
> > Date: Thu, 7 Feb 2013 09:26:58 -0500
> > From: Brad Smith <[email protected]>
> > 
> > On Wed, Feb 06, 2013 at 10:36:41AM -0500, Brad Smith wrote:
> > > On Tue, Feb 05, 2013 at 12:26:47AM +0100, Mark Kettenis wrote:
> > > > > Date: Tue, 29 Jan 2013 21:04:30 -0500
> > > > > From: Brad Smith <[email protected]>
> > > > > 
> > > > > To a certain extent this seems to make rsu(3) work a little better, 
> > > > > but
> > > > > now I am seeing ``rsu0: could not send join command'' messages which 
> > > > > never
> > > > > happened before.
> > > > 
> > > > Hmm, I wonder which of the two rsu_fw_cmd() calls in rsu_join_bss() is
> > > > failing.
> > >  
> > > It seems to be the first call to rsu_fw_cmd() from the debug output..  the
> > > failure within rsu_join_bss() does not happen with every call of the 
> > > rsu_join_bss()
> > > function though.
> > 
> > So this has happened a few more times and I can see it is always
> > failing in the same spot.
> 
> But it isn't at all clear to me which rsu_fw_cmd() call is failing
> from the output you posted.
> 
> > > site survey pass 0 done, found 3 BSS
> > > newstate 1 -> 1
> > > sending site survey command, pass=1
> > > Tx cmd code=18 len=48
> > > Rx event code=19 len=33
> > > Rx event code=19 len=16
> > > Rx event code=19 len=16
> > > Rx event code=8 len=424
> > > found BSS 84:1b:5e:4d:ef:36: len=424 chan=1 inframode=1 networktype=3 
> > > privacy=1
> > > Rx event code=9 len=4
> > > site survey pass 1 done, found 1 BSS
> > > newstate 1 -> 2
> > > setting operating mode to 2
> > > Tx cmd code=17 len=8
> > > Rx event code=19 len=33
> > > rsu0: could not send join command
> > > newstate 1 -> 1
> > > sending site survey command, pass=0
> > > Tx cmd code=18 len=48
> > > rsu0: could not send site survey command

On a successful call to rsu_join_bss() you would see something
like...

Not seeing the ``setting auth mode to 2'' debug printf
indicates it is failing on the firmware command before
that which is setting the op mode.

site survey pass 0 done, found 4 BSS
newstate 1 -> 1
sending site survey command, pass=1
Tx cmd code=18 len=48
Rx event code=19 len=33
Rx event code=19 len=16
Rx event code=19 len=16
Rx event code=8 len=424
found BSS 84:1b:5e:4d:ef:36: len=424 chan=1 inframode=1 networktype=3 privacy=1
Rx event code=9 len=4
site survey pass 1 done, found 1 BSS
newstate 1 -> 2
setting operating mode to 2
Tx cmd code=17 len=8
Rx event code=19 len=33
setting auth mode to 2
Tx cmd code=19 len=8
Rx event code=19 len=22
sending join bss command to 84:1b:5e:4d:ef:36 chan 1
Tx cmd code=14 len=248
Rx event code=19 len=19
Rx event code=19 len=14
Rx event code=19 len=47
Rx event code=19 len=21
Rx event code=19 len=12
Rx event code=19 len=26
Rx event code=19 len=41
Rx event code=10 len=180
Rx join BSS event len=180 res=1
associated with 84:1b:5e:4d:ef:36 associd=1

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

Reply via email to