problems on reconnecting after suspend ...
Hello, I run a debian lenny distribution with a freshly pulled linus-git kernel (2.6.28rc3)
I am trying out ath9k for my ar5418 chipset (built in apple macbook) and it works fine on a WEP encrypted wireless network. However, I get some trouble to reconnect to my AP on a wake after a "suspend" period. Here are the symptoms using network-manager:
scanning seems to work fine
It seems I can associate, but at one point I am asked the WEP passphrase again
(as if it had been rejected). At this point dmesg yields that output:
(blah blah, and of wake up, I can include it if necessary)
[ 7163.132079] wlan0: authenticate with AP 22:76:29:89:f9:ac [ 7163.133686] wlan0: authenticated [ 7163.133692] wlan0: associate with AP 22:76:29:89:f9:ac [ 7163.135754] wlan0: RX AssocResp from 22:76:29:89:f9:ac (capab=0x411 status=0 aid=1) [ 7163.135759] wlan0: associated [ 7163.143123] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 7173.792048] wlan0: no IPv6 routers present [ 7210.151828] wlan0: deauthenticating by local choice (reason=3)
insisting will lead to other deauthentications or just times out as the following one
[ 7228.203705] ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 7235.303956] wlan0: authenticate with AP 22:76:29:89:f9:ac [ 7235.500065] wlan0: authenticate with AP 22:76:29:89:f9:ac [ 7235.700067] wlan0: authenticate with AP 22:76:29:89:f9:ac [ 7235.900058] wlan0: authentication with AP 22:76:29:89:f9:ac timed out
I noticed that unloading and reloading ath9k module might help a bit, then I get to connect for a period of time between 0 and 4 seconds before being disconnected (no WEP passphrase asked, this time, might indicate the one stored by nm has been accepted). Insisting a couple of time eventually leads to a more stable connection. Here is the corresponding dmesg output:
[ 7337.413198] ath9k 0000:02:00.0: PCI INT A disabled [ 7337.413223] ath9k: driver unloaded [ 7342.113128] cfg80211: Using static regulatory domain info [ 7342.113134] cfg80211: Regulatory domain: US [ 7342.113137] (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 7342.113142] (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm) [ 7342.113147] (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) [ 7342.113152] (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) [ 7342.113157] (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) [ 7342.113161] (5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm) [ 7342.113166] (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm) [ 7342.113170] cfg80211: Calling CRDA for country: US [ 7342.124211] ath9k: 0.1 [ 7342.124276] ath9k 0000:02:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 [ 7342.124297] ath9k 0000:02:00.0: setting latency timer to 64 [ 7342.255719] phy0: Selected rate control algorithm 'ath9k_rate_control' [ 7342.256589] Registered led device: ath9k-phy0:radio [ 7342.256611] Registered led device: ath9k-phy0:assoc [ 7342.256631] Registered led device: ath9k-phy0:tx [ 7342.256652] Registered led device: ath9k-phy0:rx [ 7342.257444] phy0: Atheros 5416: mem=0xf9980000, irq=17 [ 7342.297124] ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 7360.683992] wlan0: authenticate with AP 22:76:29:89:f9:ac [ 7360.685544] wlan0: authenticated [ 7360.685550] wlan0: associate with AP 22:76:29:89:f9:ac [ 7360.687660] wlan0: RX AssocResp from 22:76:29:89:f9:ac (capab=0x411 status=0 aid=1) [ 7360.687665] wlan0: associated [ 7360.694744] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 7365.246713] wlan0: deauthenticating by local choice (reason=3) [ 7385.692531] ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 7398.523947] wlan0: authenticate with AP 22:76:29:89:f9:ac [ 7398.720064] wlan0: authenticate with AP 22:76:29:89:f9:ac [ 7398.920067] wlan0: authenticate with AP 22:76:29:89:f9:ac [ 7399.120064] wlan0: authentication with AP 22:76:29:89:f9:ac timed out [ 7410.899940] wlan0: authenticate with AP 22:76:29:89:f9:ac [ 7410.904464] wlan0: authenticate with AP 22:76:29:89:f9:ac [ 7411.104063] wlan0: authenticate with AP 22:76:29:89:f9:ac [ 7411.304271] wlan0: authenticate with AP 22:76:29:89:f9:ac [ 7411.504068] wlan0: authentication with AP 22:76:29:89:f9:ac timed out [ 7423.267987] wlan0: authenticate with AP 22:76:29:89:f9:ac [ 7423.272165] wlan0: authenticate with AP 22:76:29:89:f9:ac [ 7423.472058] wlan0: authenticate with AP 22:76:29:89:f9:ac [ 7423.672054] wlan0: authenticate with AP 22:76:29:89:f9:ac [ 7423.872062] wlan0: authentication with AP 22:76:29:89:f9:ac timed out [ 7435.639924] wlan0: authenticate with AP 22:76:29:89:f9:ac [ 7435.644019] wlan0: authenticate with AP 22:76:29:89:f9:ac [ 7435.844058] wlan0: authenticate with AP 22:76:29:89:f9:ac [ 7436.044064] wlan0: authenticate with AP 22:76:29:89:f9:ac [ 7436.244062] wlan0: authentication with AP 22:76:29:89:f9:ac timed out [ 7448.011915] wlan0: authenticate with AP 22:76:29:89:f9:ac [ 7448.015903] wlan0: authenticate with AP 22:76:29:89:f9:ac [ 7448.212054] wlan0: authenticate with AP 22:76:29:89:f9:ac [ 7448.412063] wlan0: authenticate with AP 22:76:29:89:f9:ac [ 7448.612064] wlan0: authentication with AP 22:76:29:89:f9:ac timed out [ 7460.403963] wlan0: authenticate with AP 22:76:29:89:f9:ac [ 7460.408338] wlan0: authenticate with AP 22:76:29:89:f9:ac [ 7460.409742] wlan0: authenticated [ 7460.409748] wlan0: associate with AP 22:76:29:89:f9:ac [ 7460.412951] wlan0: RX AssocResp from 22:76:29:89:f9:ac (capab=0x411 status=0 aid=1) [ 7460.412956] wlan0: associated [ 7460.420114] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 7464.607071] wlan0: deauthenticating by local choice (reason=3) [ 7484.969408] ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 7488.299922] wlan0: authenticate with AP 22:76:29:89:f9:ac [ 7488.301350] wlan0: authenticated [ 7488.301356] wlan0: associate with AP 22:76:29:89:f9:ac [ 7488.303436] wlan0: RX AssocResp from 22:76:29:89:f9:ac (capab=0x411 status=0 aid=1) [ 7488.303441] wlan0: associated [ 7488.310480] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 7502.712103] wlan0: no IPv6 routers present
I also tried some manual iwconfig + dmesg, and while iwconfig seems to work well, I just get no response from the dhcp server. I did not try to connect mannually after reloading ath9k, though.
I am not sure whether the problem comes from network manager or ath9k driver but I decided to report here, since you might be able to discard one of them. If you need further information (maybe recompiling the kernel with debug flags?), please feel free to ask.
Best regards,
A. Fournier
Signature · 4 lines
Alexandre Fournier "And we've been told so many lies We can't believe in paradise" Les Thugs - As happpy as
I am not sure whether the problem comes from network manager or ath9k driver but I decided to report here, since you might be able to discard one of them. If you need further information (maybe recompiling the kernel with debug flags?), please feel free to ask.
This is a bug in ath9k. We'll send out a patch that fixes this.
Sujith
Just to clarify, is this bug characterized by a long chain authenticate + timed out events while associating?
I seem to be getting quite a bit of that, too, even when reasonably close to the AP.
Quoted 6 lines · Sujith
I am not sure whether the problem comes from network manager or ath9k driver but
I decided to report here, since you might be able to discard one of them. If you need further information (maybe recompiling the kernel with debug flags?), please feel free to ask.
Quoted 8 lines
This is a bug in ath9k. We'll send out a patch that fixes this.
Sujith
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20081118/0841750a/attachment.htm