All of lore.kernel.org
 help / color / mirror / Atom feed
* [ath9k-devel] ath9k_htc station never disconnects from AP
@ 2013-07-18 15:12 Ebright, Dave
  2013-07-19 12:18 ` [ath9k-devel] sensitivity control for ath9k with mac80211 Flavio Leonel
  0 siblings, 1 reply; 24+ messages in thread
From: Ebright, Dave @ 2013-07-18 15:12 UTC (permalink / raw)
  To: ath9k-devel

Hello,

I am using the backports-3.10-2 to build/install the ath9k_htc drivers to use with the Ubiquiti WiFiStation Ext (ar9271).  I am using this device as a station to connect to an AP which is a D-Link DIR-825 Xtreme N Dual Band (2x2) Gigabit Router.  For testing purposes I am initially using no encryption (open).  For the client I am using wpa_supplicant-2.0.  I have no issue with connecting this station/client to the AP.  That is "iw" shows that the link is up/connected, I can ping the AP, send files via ssh/scp over the link, etc..

The issue I have is that when I power off the AP (unplug the AP from wall power) with the link up, the station never times out the connection to the now powered off AP.  That is I do "iw dev wlan0 link" and "iw dev wlan0 station dump" and the results returned look just like they did when the AP was powered on and connected (appears to think the link is still up).  For the station dumps of course the inactive time increases.  The tx packets/tx bytes are also increasing while the rx packets/rx bytes stay constant.  Also if I perform "iw dev wlan0 scan"  it still reports the powered off AP in the scan results???  Yes I verified there is not another AP using the same SSID (always checking the MAC).  Of course ping fails.

When I run wpa_supplicant in debug mode after powering off the AP, it rolls (every second)  in reporting NL80211_CQM_RSSI_BEACON_LOSS_EVENT.  Same if I run "iw event" which rolls in "wlan0 (phy #0): CQM event: Beacon loss detected.  The wpa_supplicant process never reports the link going down and I have waited sometimes an hour or more.  Power management is off.   Using firmware htc_9271.fw.

I did run a wifi monitor to collect the packets when this condition is occurring and the station is constantly transmitting null function packets (~9 or 10 per session, that is a null function packet (flags 0x1) and then several retries which is null function packet (flags 0x9 same session number).  The destination for these packets is the powered off AP.  I thought these null function packets from a station are generally for power savings which is turned off?

Same issue occurs with Alfa AWUS036NHA (ar9271).

So my question is what should trigger the station to give up on the AP and disconnect?  Why doesn't the beacon loss event trigger this to occur after some timeout period of time has gone by?  Is this issue with the drivers or firmware?

Thanks,

Dave

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20130718/dea90984/attachment.htm 

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

end of thread, other threads:[~2013-07-29 13:28 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-18 15:12 [ath9k-devel] ath9k_htc station never disconnects from AP Ebright, Dave
2013-07-19 12:18 ` [ath9k-devel] sensitivity control for ath9k with mac80211 Flavio Leonel
2013-07-19 13:30   ` Holger Schurig
2013-07-19 13:36     ` Flavio Leonel
2013-07-19 13:44       ` Holger Schurig
2013-07-19 13:47       ` Ben Greear
2013-07-19 14:58         ` Sergey Ryazanov
2013-07-19 15:23           ` Felix Fietkau
2013-07-19 18:00             ` Flavio Leonel
2013-07-19 18:01             ` Flavio Leonel
2013-07-20  0:21               ` Sergey Ryazanov
     [not found]                 ` <CAJC_tx6tzqvrwQLqJYxvSxjLZ-hX-+wNwuVDyaeBKLuV1=GU0Q@mail.gmail.com>
2013-07-20 19:19                   ` Sergey Ryazanov
2013-07-20 21:44                     ` Flavio Leonel
2013-07-21 15:40                       ` Sergey Ryazanov
2013-07-21 17:02                         ` Flavio Leonel
2013-07-21 22:37                         ` Flavio Leonel
2013-07-28 13:21                           ` Sergey Ryazanov
2013-07-29 13:28                             ` Flavio Leonel
2013-07-21 22:40                         ` Flavio Leonel
2013-07-24 19:11                         ` [ath9k-devel] IWCONFIG - ubuntu Flavio Leonel
2013-07-20  0:53             ` [ath9k-devel] sensitivity control for ath9k with mac80211 Sergey Ryazanov
2013-07-21 23:14               ` Ben Greear
2013-07-22 11:04                 ` Flavio Leonel
2013-07-28 13:11                 ` Sergey Ryazanov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.