[PATCH v2] ath10k: Per-chain rssi should sum the secondary channels
Ben Greear
greearb at candelatech.com
Mon Dec 21 17:21:41 EST 2020
On 12/21/20 10:30 AM, Kalle Valo wrote:
> greearb at candelatech.com wrote:
>
>> From: Ben Greear <greearb at candelatech.com>
>>
>> This makes per-chain RSSI be more consistent between HT20, HT40, HT80.
>> Instead of doing precise log math for adding dbm, I did a rough estimate,
>> it seems to work good enough.
>>
>> Tested on ath10k-ct 9984 firmware.
>>
>> Signed-off-by: Ben Greear <greearb at candelatech.com>
>
> Commented out code etc so I assume this is an RFC. Has anyone tested
> this with upstream firmware?
I probably tweaked this patch since sending. my wave-1 didn't work with this approach,
and in the end, to get a valid RSSI, I ended up reading the
per-chain noise-floor periodically and storing that so I could use proper noise-floor
instead of just -95. I am not sure upstream firmware can support that, so probably
not worth adding just the sum logic unless someone can figure out how to get the noise
floor out of the firmware...
Thanks,
Ben
--
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc http://www.candelatech.com
More information about the ath10k
mailing list