2009-08-07 20:51:20

by Larry Finger

[permalink] [raw]
Subject: Deauthentications with p54usb

Christian,

I've been working with b43 of late and had not run p54usb until I
tested the rfkill code earlier today. Now I'm getting
deauthentications with reason=7 that I did not get with b43 using the
same AP in roughly the same geometric relationship.

I don't know if this is a regression, or not. The current kernel is
2.6.31-rc5-wl. I'll boot 2.6.30-wl to test if the older one is OK.

The logged data below shows nothing but the timing of the disconnects.

Larry

============

Aug 7 15:28:33 larrylap kernel: wlan0: deauthenticated from
00:1a:70:46:ba:b1 (Reason: 7)
Aug 7 15:28:35 larrylap kernel: wlan0: direct probe to AP
00:1a:70:46:ba:b1 (try 1)
Aug 7 15:28:35 larrylap kernel: wlan0 direct probe responded
Aug 7 15:28:35 larrylap kernel: wlan0: authenticate with AP
00:1a:70:46:ba:b1 (try 1)
Aug 7 15:28:35 larrylap kernel: wlan0: authenticated
Aug 7 15:28:35 larrylap kernel: wlan0: associate with AP
00:1a:70:46:ba:b1 (try 1)
Aug 7 15:28:35 larrylap kernel: wlan0: RX AssocResp from
00:1a:70:46:ba:b1 (capab=0x431 status=0 aid=1)
Aug 7 15:28:35 larrylap kernel: wlan0: associated
Aug 7 15:29:59 larrylap kernel: wlan0: deauthenticated from
00:1a:70:46:ba:b1 (Reason: 7)
Aug 7 15:30:01 larrylap kernel: wlan0: direct probe to AP
00:1a:70:46:ba:b1 (try 1)
Aug 7 15:30:01 larrylap kernel: wlan0 direct probe responded
Aug 7 15:30:01 larrylap kernel: wlan0: authenticate with AP
00:1a:70:46:ba:b1 (try 1)
Aug 7 15:30:01 larrylap kernel: wlan0: authenticated
Aug 7 15:30:01 larrylap kernel: wlan0: associate with AP
00:1a:70:46:ba:b1 (try 1)
Aug 7 15:30:01 larrylap kernel: wlan0: RX AssocResp from
00:1a:70:46:ba:b1 (capab=0x431 status=0 aid=1)
Aug 7 15:30:01 larrylap kernel: wlan0: associated


2009-08-14 10:41:49

by Christian Lamparter

[permalink] [raw]
Subject: Re: Deauthentications with p54usb

On Friday 14 August 2009 00:53:16 Larry Finger wrote:
> [email protected] wrote:
> > "Larry Finger" <[email protected]> wrote:
> >> I'll try to collect a dump.
> >>
> > Any news regarding that dump?
> > Or are you too busy reviewing b43's LP code? :)
> >
> > It looks like more drivers are affected.
> > - Luis reported some deauth (reasons=7) for ath9k with a cisco ap.
> > - Kalle has the same issues with wl1271 with a ?Zyxel? AP.
>
> Not only reviewing the code, but updating the specs and doing the RE
> work. No, I have no further info. Mine have been on a Linksys AP.
yeah, b43 definitely needs the attention.

The powersave default mode should be back to "off" for p54, due to:
"[PATCH] cfg80211: allow driver to override PS default".
so, no need to revert the psm patch again.

Regards,
Chr

2009-08-07 21:50:27

by Christian Lamparter

[permalink] [raw]
Subject: Re: Deauthentications with p54usb

Hello,

On Friday 07 August 2009 22:50:11 Larry Finger wrote:

> I've been working with b43 of late and had not run p54usb until I
> tested the rfkill code earlier today. Now I'm getting
> deauthentications with reason=7 that I did not get with b43 using the
> same AP in roughly the same geometric relationship.

hmm, so the SNR of b43 and p54 are comparable?

good...

reason 7 must be:
WLAN_REASON_CLASS3_FRAME_FROM_NONASSOC_STA

and class 3 frames are (according to 802.11-2007 11.3.c)
- "normal" data frames
(- some MLMEs - probably not relevant )
- control frame:
=> especially: Power Save Poll.

your log doesn't hold any records about a disassoc event from the AP.
so, my first guess would be that you're hitting yet another
power saving related issue. And as far as I know b43 does not do that yet.
So, can you please give the device another go without ps?

(BTW: mac80211 prints a debug text (if enabled in kconfig),
whenever the device goes or leaves the hibernation mode...
do you see any of those too?)
> I don't know if this is a regression, or not. The current kernel is
> 2.6.31-rc5-wl. I'll boot 2.6.30-wl to test if the older one is OK.
>
> The logged data below shows nothing but the timing of the disconnects.

does the time between reassoc & _deauth_ vary, or is it always ~24 secs?)
do you experience this behavior on an idle or loaded link?

Regards,
Chr

2009-08-14 17:25:07

by Kalle Valo

[permalink] [raw]
Subject: Re: Deauthentications with p54usb

[email protected] writes:

> "Larry Finger" <[email protected]> wrote:
>>
>> I'll try to collect a dump.
>>
> Any news regarding that dump?
> Or are you too busy reviewing b43's LP code? :)
>
> It looks like more drivers are affected.
> - Luis reported some deauth (reasons=7) for ath9k with a cisco ap.
> - Kalle has the same issues with wl1271 with a ?Zyxel? AP.

Actually that was with wl1251. It was a bug in the driver, I'll send a
patch within few days.

--
Kalle Valo

2009-08-13 22:53:18

by Larry Finger

[permalink] [raw]
Subject: Re: Deauthentications with p54usb

[email protected] wrote:
> "Larry Finger" <[email protected]> wrote:
>> I'll try to collect a dump.
>>
> Any news regarding that dump?
> Or are you too busy reviewing b43's LP code? :)
>
> It looks like more drivers are affected.
> - Luis reported some deauth (reasons=7) for ath9k with a cisco ap.
> - Kalle has the same issues with wl1271 with a ?Zyxel? AP.

Not only reviewing the code, but updating the specs and doing the RE
work. No, I have no further info. Mine have been on a Linksys AP.

Larry


2009-08-09 15:12:33

by Larry Finger

[permalink] [raw]
Subject: Re: Deauthentications with p54usb

Christian Lamparter wrote:
>
> reason 7 must be:
> WLAN_REASON_CLASS3_FRAME_FROM_NONASSOC_STA
>
> and class 3 frames are (according to 802.11-2007 11.3.c)
> - "normal" data frames
> (- some MLMEs - probably not relevant )
> - control frame:
> => especially: Power Save Poll.
>
> your log doesn't hold any records about a disassoc event from the AP.
> so, my first guess would be that you're hitting yet another
> power saving related issue. And as far as I know b43 does not do that yet.
> So, can you please give the device another go without ps?
>
> (BTW: mac80211 prints a debug text (if enabled in kconfig),
> whenever the device goes or leaves the hibernation mode...
> do you see any of those too?)

Once I got that debug mode set with PS enabled, I still got the deauth
events, but no messages from mac80211. I may not have had the debug
value set correctly. Turning off CONFIG_CFG80211_DEFAULT_PS stopped
the messages, thus it certainly looks like a power saving event.

Larry


2009-08-13 22:27:41

by Christian Lamparter

[permalink] [raw]
Subject: Re: Deauthentications with p54usb

"Larry Finger" <[email protected]> wrote:
>
> I'll try to collect a dump.
>
Any news regarding that dump?
Or are you too busy reviewing b43's LP code? :)

It looks like more drivers are affected.
- Luis reported some deauth (reasons=7) for ath9k with a cisco ap.
- Kalle has the same issues with wl1271 with a ?Zyxel? AP.

Regards,
Chr
________________________________________________________________
Neu: WEB.DE Doppel-FLAT mit Internet-Flatrate + Telefon-Flatrate
f?r nur 19,99 Euro/mtl.!* http://produkte.web.de/go/02/