summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/intel/iwlwifi/mvm/time-event.c
diff options
context:
space:
mode:
authoriallouch <itai.allouche@intel.com>2023-10-04 12:36:29 +0300
committerJohannes Berg <johannes.berg@intel.com>2023-10-23 12:21:48 +0200
commit706f1b5d83cae70187062d52ffb2b9e925811948 (patch)
tree5ddb871ea8c8e66c8616d3980aa45bf0f31ba755 /drivers/net/wireless/intel/iwlwifi/mvm/time-event.c
parent3c6a0b1f0add72e7f522bc9145222b86d0a7712a (diff)
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: iallouch <itai.allouche@intel.com> Signed-off-by: Nitsan Bar <nitsan.bar@intel.com> Signed-off-by: Gregory Greenman <gregory.greenman@intel.com> Link: https://lore.kernel.org/r/20231004123422.024d75df9e03.I69fdc826f2931a6e1435b450f0602ea060704697@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/time-event.c')
0 files changed, 0 insertions, 0 deletions