Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ba1dd979 authored by Skylar Chang's avatar Skylar Chang Committed by Gerrit - the friendly Code Review server
Browse files

msm: ipa: wdi stats new members



added 2 new members to wdi stats to make
it compatible with uC data structure

Change-Id: Ib6f52a2f3d9e0b72b2c96e0e4fe05bd31208e4b3
Acked-by: default avatarSunil Kumar Paidimarri <hisunil@qti.qualcomm.com>
Signed-off-by: default avatarSkylar Chang <chiaweic@codeaurora.org>
parent 3e5d75b2
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1144,6 +1144,8 @@ static ssize_t ipa_read_wdi(struct file *file, char __user *ubuf,
			"RX num_db=%u\n"
			"RX num_unexpected_db=%u\n"
			"RX num_pkts_in_dis_uninit_state=%u\n"
			"num_ic_inj_vdev_change=%u\n"
			"num_ic_inj_fw_desc_change=%u\n"
			"RX reserved1=%u\n"
			"RX reserved2=%u\n",
			stats.rx_ch_stats.max_outstanding_pkts,
@@ -1163,6 +1165,8 @@ static ssize_t ipa_read_wdi(struct file *file, char __user *ubuf,
			stats.rx_ch_stats.num_db,
			stats.rx_ch_stats.num_unexpected_db,
			stats.rx_ch_stats.num_pkts_in_dis_uninit_state,
			stats.rx_ch_stats.num_ic_inj_vdev_change,
			stats.rx_ch_stats.num_ic_inj_fw_desc_change,
			stats.rx_ch_stats.reserved1,
			stats.rx_ch_stats.reserved2);
		cnt += nbytes;
+8 −0
Original line number Diff line number Diff line
@@ -790,6 +790,12 @@ struct IpaHwRingStats_t {
 * @num_bam_int_handled : Number of Bam Interrupts handled by FW
 * @num_db : Number of times the doorbell was rung
 * @num_unexpected_db : Number of unexpected doorbells
 * @num_pkts_in_dis_uninit_state : number of completions we
 *		received in disabled or uninitialized state
 * @num_ic_inj_vdev_change : Number of times the Imm Cmd is
 *		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
*/
struct IpaHwStatsWDIRxInfoData_t {
	u32 max_outstanding_pkts;
@@ -801,6 +807,8 @@ struct IpaHwStatsWDIRxInfoData_t {
	u32 num_db;
	u32 num_unexpected_db;
	u32 num_pkts_in_dis_uninit_state;
	u32 num_ic_inj_vdev_change;
	u32 num_ic_inj_fw_desc_change;
	u32 reserved1;
	u32 reserved2;
} __packed;