Support for scan while in AP mode, and offchannel while in AP mode
apenwarr at gmail.com
Wed Aug 27 00:41:28 PDT 2014
On Wed, Aug 27, 2014 at 2:55 AM, Michal Kazior <michal.kazior at tieto.com> wrote:
> Avery wrote:
>> Any guesses about why the offchannel time would be too short on ath10k?
> Try setting up a larger beacon interval, e.g. 300ms.
wireshark confirmed that the beacon interval was changed, but
offchannel time was weirdly still about 50ms.
>> I haven't investigated whether the packets are enqueued or simply
>> retransmitted after it returns to the channel, but in any case,
>> userspace and TCP don't see packet loss, so it's fine with me.
>> This is the ath10k driver from 3.15rc1 and firmware 10.1.467.2-1.
> I think 10.2 handles scanning in AP mode more reliably so I'd suggest
> you try it out. You might need to cherry pick the 10.2 support for
> your 3.15rc1 (https://github.com/kvalo/ath/commit/24c88f7807fb7c723690474d0a5d3441468185d9).
Looks like the 10.2 firmware does indeed fix this problem. Offchannel
time is now more like 130ms, no packet loss, and the scan reliably
sees beacons on the other channel.
The first time I booted with the new firmware, my AP seemed to
silently not be working. Restarting hostapd fixed it. I'll start
another thread if this recurs.
More information about the ath10k