Skip to content
Commit 706f1b5d authored by iallouch's avatar iallouch Committed by Johannes Berg
Browse files

wifi: iwlwifi: mvm: add start mac ctdp sum calculation debugfs handler



mac_ctdp_sum contains the power consumption, appears in power save
report, and is used for debugging and collection of statistics.

Add a debugfs handler to start this calculation, iff ctdp
command is supported in the firmware.

While on it, add an option to force start/stop this calculation,
which is safe from the firmware API side.

Signed-off-by: default avatariallouch <itai.allouche@intel.com>
Signed-off-by: default avatarNitsan Bar <nitsan.bar@intel.com>
Signed-off-by: default avatarGregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20231004123422.024d75df9e03.I69fdc826f2931a6e1435b450f0602ea060704697@changeid


Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 3c6a0b1f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment