Skip to contentSkip to conversation

Deauthentications with p54usb

DISCUSSION Larry Finger 2 participants 3 messages Aug 7, 2009 – Aug 9, 2009

lore
Share & tools
lore
#0 lore raw

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
#1 lore raw

Hello,

Quoted 4 lines · 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?)

Quoted 4 lines

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

#2 lore raw
Quoted 10 lines · Christian Lamparter

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.

Quoted 8 lines

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