3336cc1673ca7e5177257a577c70074c52fa3a2b

In the driver, if CLUB_LL_STATS_AND_GET_STATION feature is enabled, host requests Link Layer stats and station stats from firmware periodically using a single WMI command. Host then sends LL_STATS to userspace and caches station stats in the adapter. Whenever userspace queries station stats, based on the sta_stats_cached_timestamp, host returns cached stats from adapter instead of sending a new WMI request. The current issue, as part of station stats firmware also sends connection_tx_power stats, which aren't cached into the adapter. So, whenever userspace queries get_tx_power via nl commands, host sends a WMI request to firmware for tx_power leading to platform wakeups and power impacts. To resolve this issue, cache the tx_power sent by firmware into the adapter during station stats and return the cached value to the user space. Change-Id: Iaefc5629872431cbc6c24090b1edb6cebdad995a CRs-Fixed: 3439323
This is CNSS WLAN Host Driver for products starting from iHelium
Description
Languages
C
98.7%
C++
0.9%
Makefile
0.3%
Starlark
0.1%