Probe Response packets sometimes delayed by 200ms

Avery Pennarun apenwarr at gmail.com
Thu Oct 2 23:39:32 PDT 2014


On Fri, Oct 3, 2014 at 2:10 AM, Michal Kazior <michal.kazior at tieto.com> wrote:
> On 3 October 2014 07:48, Avery Pennarun <apenwarr at gmail.com> wrote:
>> Steps:
>> - start capturing packets, either on the ath10k AP itself or a
>> secondary monitor system
>> - on the Macbook Air (which has joined your SSID at least once
>> before), open and close the wifi dropdown menu a few times.  (May also
>> happen with clients other than Macbook Air; not heavily tested.)
>
> Was the Macbook Air disconnected cleanly on the AP?

In my particular test case, I was actually already associated with the
AP while I was doing these steps.  I don't think that affects the
results, which means in this case that there is no question of being
uncleanly disconnected since I was not disconnected at all.

> There's a tx credit starvation bug which blocks wmi commands after
> disassoc+deauth frames are queued (via wmi as well) and aren't acked
> by station in which case wmi peer delete command times out and
> sta_state splats a calltrace in kernel logs. This effectively leaves
> firmware thinking the peer is still connected and it is never
> disconnected (you can expect spurious sta kickout events after an hour
> once that happens). This could explain why ath10k AP tries to play
> powersave with the Macbook Air.

I think we previously ran into the tx credit starvation bug and
cherry-picked one of your patches to fix it.  So I don't think that's
the problem here.

> Or perhaps this is related to uAPSD? Do you have it enabled in
> hostapd? Is Macbook Air associating with uAPSD enabled?

We tried enabling uAPSD but it caused lots of problems so we turned it
off again.

> Or maybe firmware expects host driver should reset some ap-sta
> powersave related settings before deleting peer entries.

I'm not sure it's deleting peer entries, but my guess is that the host
driver needs to reset some power save related setting, yeah.  I looked
through the ath10k driver and wasn't really sure where to look
however.  I found some global per-vdev power save mode settings, but
not any per-STA ones.

Thanks!



More information about the ath10k mailing list