[PATCH v2] ath10k: debugfs support to get final TPC stats for 10.4 variants

Maharaja Kennadyrajan mkenna at codeaurora.org
Mon Feb 26 21:33:25 PST 2018


On 2018-02-27 1:19 am, Joshua Zhao wrote:
> as you said:
>         The existing tpc_stats debugfs file provides the dump which is
> minimum of target power and regulatory domain.
>                         cat 
> /sys/kernel/debug/ieee80211/phyX/ath10k/tpc_stats
> 
> I’m curious what’s exact difference w/ this new addition:
>         Export the final Transmit Power Control (TPC) value, which is
> the minimum of control power and existing TPC value to user space via
> a new debugfs file "tpc_stats_final" to help with debugging.
> 
> Can you clarify or give examples on the difference?
> 
> Thanks!

The existing tpc_stats is the minimum of "target power and regulatory 
domain".
The new addition is the minimum of "existing tpc_stats and control 
power" which means minimum of "control power, target power and 
regulatory domain".

-- 
Regards,
Maha



More information about the ath10k mailing list