linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ath9k: association lost on ap side only
@ 2010-08-07 15:52 Björn Smedman
  2010-08-08 18:29 ` Björn Smedman
  0 siblings, 1 reply; 2+ messages in thread
From: Björn Smedman @ 2010-08-07 15:52 UTC (permalink / raw)
  To: ath9k-devel, linux-wireless

Hi all,

I'm trying out compat-wireless-2010-07-29 with openwrt/trunk@22474
patches on AR913x and quite often (a few times a day) run into a
problem where my laptop thinks it's associated but the router thinks
it's not.

Basically, on the laptop side I am still associated but on the access
point iw says there are no stas:

root@OpenWrt:/sys/kernel/debug/ieee80211/phy0# iw dev wlan0 station dump
root@OpenWrt:/sys/kernel/debug/ieee80211/phy0#

The log looks like this:

Aug  7 14:53:24 OpenWrt daemon.info dnsmasq-dhcp[1601]:
DHCPREQUEST(br-lan) 192.168.1.241 00:17:f2:51:b2:2d
Aug  7 14:53:24 OpenWrt daemon.info dnsmasq-dhcp[1601]:
DHCPACK(br-lan) 192.168.1.241 00:17:f2:51:b2:2d
Aug  7 14:56:19 OpenWrt daemon.info hostapd: wlan0: STA
00:17:f2:51:b2:2d WPA: group key handshake completed (RSN)
Aug  7 14:56:19 OpenWrt daemon.info hostapd: wlan0: STA
00:17:f2:51:b2:2d WPA: received EAPOL-Key 2/2 Group with unexpected
replay counter
Aug  7 15:06:19 OpenWrt daemon.info hostapd: wlan0: STA
00:17:f2:51:b2:2d WPA: group key handshake completed (RSN)
Aug  7 15:06:19 OpenWrt daemon.info hostapd: wlan0: STA
00:17:f2:51:b2:2d WPA: received EAPOL-Key 2/2 Group with unexpected
replay counter
Aug  7 15:16:20 OpenWrt daemon.info hostapd: wlan0: STA
00:17:f2:51:b2:2d WPA: group key handshake completed (RSN)
Aug  7 15:16:20 OpenWrt daemon.info hostapd: wlan0: STA
00:17:f2:51:b2:2d WPA: received EAPOL-Key 2/2 Group with unexpected
replay counter
Aug  7 15:16:20 OpenWrt daemon.info hostapd: wlan0: STA
00:17:f2:51:b2:2d WPA: received EAPOL-Key 2/2 Group with unexpected
replay counter
Aug  7 15:26:22 OpenWrt daemon.info hostapd: wlan0: STA
00:17:f2:51:b2:2d IEEE 802.11: deauthenticated due to local deauth
request
Aug  7 15:30:14 OpenWrt user.debug kernel: ath: DMA failed to stop in
10 ms AR_CR=0x00000024 AR_DIAG_SW=0x40000020
Aug  7 15:30:14 OpenWrt user.debug kernel: ath: DMA failed to stop in
10 ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020

Those "unexpected replay counters" messages are quite common. What can
cause these? A lost ack and retransmission?

Apart from that I guess there are two questions here: (1) why was the
association lost on the ap side? and (2) why is there no indication
from the router that it does not expect data frames in this state?

/Björn

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: ath9k: association lost on ap side only
  2010-08-07 15:52 ath9k: association lost on ap side only Björn Smedman
@ 2010-08-08 18:29 ` Björn Smedman
  0 siblings, 0 replies; 2+ messages in thread
From: Björn Smedman @ 2010-08-08 18:29 UTC (permalink / raw)
  To: ath9k-devel, linux-wireless

2010/8/7 Björn Smedman <bjorn.smedman@venatech.se>:
> Hi all,
>
> I'm trying out compat-wireless-2010-07-29 with openwrt/trunk@22474
> patches on AR913x and quite often (a few times a day) run into a
> problem where my laptop thinks it's associated but the router thinks
> it's not.

I also run into some weirdness where the laptop disassociates (macos
reports it as "AirPort: Link Down on en1. Reason 4 (Disassociated due
to inactivity)"). From end-users point of view it's like if somebody
pulled the power on the router, but it comes back faster than it would
in that case.

The log looks like this when that happened:

Aug  8 18:20:11 OpenWrt user.debug kernel: ath: Timeout while waiting
for nf to load: AR_PHY_AGC_CONTROL=0x40d22
Aug  8 18:20:32 OpenWrt user.debug kernel: ath: DMA failed to stop in
10 ms AR_CR=0x00000024 AR_DIAG_SW=0x40000020
Aug  8 18:20:32 OpenWrt user.debug kernel: ath: DMA failed to stop in
10 ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020
Aug  8 18:20:48 OpenWrt user.debug kernel: ath: DMA failed to stop in
10 ms AR_CR=0x00000024 AR_DIAG_SW=0x40000020
Aug  8 18:20:48 OpenWrt user.debug kernel: ath: DMA failed to stop in
10 ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020

/Björn

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-08-08 18:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-07 15:52 ath9k: association lost on ap side only Björn Smedman
2010-08-08 18:29 ` Björn Smedman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).