Need to re-associate firmware peer when SMPS_CHANGED is set?
greearb at candelatech.com
Mon Sep 14 09:07:37 PDT 2015
On 09/14/2015 12:41 AM, Adrian Chadd wrote:
> Hm! Well, iirc what we did in the rate control code for 11n chips was
> just to limit the transmit rate control selection to MCS0-7 even
> though we were in 2- or 3- stream modes.
> What else is it causing to change?
If rate-ctrl is currently in VHT with MCS 9, and we set the NSS
to 1, then it can no longer use MCS 9. Something should proactively
kick the rate-ctrl logic when this happens.
The 10.1 rate-ctrl logic is all sorts of broken, especially with regard
to configuring this sort of change on the fly. I'm fixing that in
CT firmware. 10.1 actually tries to reconfig everything properly
when SMPS changes, but it will fail to do so because it doesn't know
how to fetch the rate-ctrl object from the host's memory cache.
I've added an API for driver to request that firmware fetch the rate-ctrl
object...so calling that, then waiting 1ms, then calling the reassoc() logic
likely will work at least most of the time. I didn't want to have to add
the same fetch + sleep hack for SMPS since the reassoc already does that.
Either way, I can hack the driver accordingly....I'll be testing out my
Hopefully the newer ath10k upstream firmware do this all better, but
since I don't have source, I've no real idea of that.
> On 13 September 2015 at 21:58, Ben Greear <greearb at candelatech.com> wrote:
>> While digging in 10.1 firmware, I notice that setting WMI_PEER_SMPS_STATE
>> can cause
>> the chainmask to change. And, that in turn can change all sorts of things
>> related to
>> available rates and such.
>> Maybe we should do a re-assoc when we notice SMPS_CHANGED, similar to how it
>> is done for NSS_CHANGED?
>> Ben Greear <greearb at candelatech.com>
>> Candela Technologies Inc http://www.candelatech.com
>> ath10k mailing list
>> ath10k at lists.infradead.org
> ath10k mailing list
> ath10k at lists.infradead.org
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc http://www.candelatech.com
More information about the ath10k