summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorUtkarsh Saxena <usaxena@codeaurora.org>2017-01-22 22:04:13 +0530
committerUtkarsh Saxena <usaxena@codeaurora.org>2017-01-23 11:03:24 +0530
commit63e11434734f47ea4add8d3140ae8c5938357918 (patch)
tree482c587702bb053daa4a9a47c5625788c61fc878 /include/linux
parentb184cdd6100fbfc21b492ab8a47e21751e61db27 (diff)
msm: ipa: Fix WDI2.0 stats
New stat param "num_qmb_int_handled" is added to rx_ch_stats by IPA uC in WDI2.0. This results in a size mismatch and WDI stats feature is broken. Make a change to update the new param "num_qmb_int_handled" in rx_ch_stats structure. Also make a change to read all the rx_ch_stats to avoid printing stale values. Change-Id: I5d141f531f1cfdab0bd0056041e22acb26657960 Acked-by: Chaitanya Pratapa <cpratapa@qti.qualcomm.com> Signed-off-by: Utkarsh Saxena <usaxena@codeaurora.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/ipa.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/ipa.h b/include/linux/ipa.h
index d545604cc22d..c11a5c4afece 100644
--- a/include/linux/ipa.h
+++ b/include/linux/ipa.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2012-2016, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2012-2017, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@@ -901,6 +901,7 @@ struct IpaHwRingStats_t {
* injected due to vdev_id change
* @num_ic_inj_fw_desc_change : Number of times the Imm Cmd is
* injected due to fw_desc change
+ * @num_qmb_int_handled : Number of QMB interrupts handled
*/
struct IpaHwStatsWDIRxInfoData_t {
u32 max_outstanding_pkts;
@@ -914,6 +915,7 @@ struct IpaHwStatsWDIRxInfoData_t {
u32 num_pkts_in_dis_uninit_state;
u32 num_ic_inj_vdev_change;
u32 num_ic_inj_fw_desc_change;
+ u32 num_qmb_int_handled;
u32 reserved1;
u32 reserved2;
} __packed;