wil6210: add statistics for suspend time
Add statistics for total, min and max suspend time, that calculates the time the 11ad device was in suspend. Those statistics will help to estimate the power impact of d3hot feature. Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
This commit is contained in:
@@ -90,6 +90,11 @@ struct wil_suspend_stats {
|
||||
unsigned long failed_resumes;
|
||||
unsigned long rejected_by_device;
|
||||
unsigned long rejected_by_host;
|
||||
unsigned long long total_suspend_time;
|
||||
unsigned long long min_suspend_time;
|
||||
unsigned long long max_suspend_time;
|
||||
ktime_t collection_start;
|
||||
ktime_t suspend_start_time;
|
||||
};
|
||||
|
||||
/* Calculate MAC buffer size for the firmware. It includes all overhead,
|
||||
|
Reference in New Issue
Block a user