Skip to contentSkip to conversation

Regression (?) with wireless-testing and mainline 2.6.26-rcX kernels

DISCUSSION Larry Finger 2 participants 4 messages Jun 4, 2008

lore
Share & tools
lore
#0 lore raw

Johannes,

I have found what I think is a regression where b43 appears to be connected; however, no data can be transferred. Not very much information has been logged; however, I think it correlates with a switch from short to long barker preamble.

Do you have any suggestions on what should be logged in ieee80211_handle_protect_preamb or any other mac80211 routine so that I can isolate the problem? I use NM to control the connection and authentication to a WPA-PSK TKIP network.

Thanks,

Larry

#1 lore raw

Larry,

Quoted 4 lines

I have found what I think is a regression where b43 appears to be connected; however, no data can be transferred. Not very much information has been logged; however, I think it correlates with a switch from short to long barker preamble.

Interesting. Doesn't your AP support short preambles? That'd be the only reason for anything going wrong here to actually break your connection. hmm.

Quoted 4 lines

Do you have any suggestions on what should be logged in ieee80211_handle_protect_preamb or any other mac80211 routine so that I can isolate the problem? I use NM to control the connection and authentication to a WPA-PSK TKIP network.

Well I guess you should log what state it changes to (maybe even in b43) and at the same time monitor with say wireshark on a monitor interface to see what the AP is announcing. Not sure really, I have a hard time imagining this being the problem.

johannes

#2 lore raw
Quoted 7 lines · Johannes Berg

Larry,

Quoted 1 line

I have found what I think is a regression where b43 appears to be connected; however, no data can be transferred. Not very much information has been logged; however, I think it correlates with a switch from short to long barker preamble.

Interesting. Doesn't your AP support short preambles? That'd be the only reason for anything going wrong here to actually break your connection. hmm.

My AP works with short preambles. When this situation occurs, whatever happens causes a switch from short to long. The change in the preamble is likely a symptom of whatever is causing the breakage.

Quoted 6 lines
Quoted 1 line

Do you have any suggestions on what should be logged in ieee80211_handle_protect_preamb or any other mac80211 routine so that I can isolate the problem? I use NM to control the connection and authentication to a WPA-PSK TKIP network.

Well I guess you should log what state it changes to (maybe even in b43) and at the same time monitor with say wireshark on a monitor interface to see what the AP is announcing. Not sure really, I have a hard time imagining this being the problem.

I'll try for a stack dump when the short => long transition occurs. Perhaps that will suggest something to dump. I'll also set up a monitor interface. Unfortunately, it is an unlikely event, but I have a lot of disk space.

Larry

#3 lore raw
Quoted 8 lines
Quoted 4 lines

Interesting. Doesn't your AP support short preambles? That'd be the only reason for anything going wrong here to actually break your connection. hmm.

My AP works with short preambles. When this situation occurs, whatever happens causes a switch from short to long. The change in the preamble is likely a symptom of whatever is causing the breakage.

Hmm, ok. Not sure, maybe a driver problem?

Quoted 5 lines
Quoted 5 lines
Quoted 4 lines

Do you have any suggestions on what should be logged in ieee80211_handle_protect_preamb or any other mac80211 routine so that I can isolate the problem? I use NM to control the connection and authentication to a WPA-PSK TKIP network.

Quoted 8 lines
Quoted 4 lines

Well I guess you should log what state it changes to (maybe even in b43) and at the same time monitor with say wireshark on a monitor interface to see what the AP is announcing. Not sure really, I have a hard time imagining this being the problem.

I'll try for a stack dump when the short => long transition occurs. Perhaps that will suggest something to dump. I'll also set up a monitor interface. Unfortunately, it is an unlikely event, but I have a lot of disk space.

You can filter and save only probe responses and beacons from that particular AP.

johannes