summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath10k/core.h
diff options
context:
space:
mode:
authorBalaji Pothunoori2019-03-12 12:17:50 +0100
committerKalle Valo2019-05-07 15:44:13 +0200
commit5c51875c09431af01d3bce189c4c47c72cc533c9 (patch)
tree6b05e99ba633d8ccb041f6e86a6537b03eb484d7 /drivers/net/wireless/ath/ath10k/core.h
parentath10k: Fix the tx stats bytes & packets parsing (diff)
downloadkernel-qcow2-linux-5c51875c09431af01d3bce189c4c47c72cc533c9.tar.gz
kernel-qcow2-linux-5c51875c09431af01d3bce189c4c47c72cc533c9.tar.xz
kernel-qcow2-linux-5c51875c09431af01d3bce189c4c47c72cc533c9.zip
ath10k: rx_duration update for fw_stats debugfs entry
Currently instant rx_duration always fetching as zero in fw_stats debugfs entry if extended peer stats event supports. This patch updates instant rx_duration in fw_stats entry based on extended peer stats and maintaining backward compatibility for 10.2/10.x. Tested HW: QCA9984. Tested FW: 10.4-3.6.0.1-00004. Signed-off-by: Balaji Pothunoori <bpothuno@codeaurora.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/core.h')
-rw-r--r--drivers/net/wireless/ath/ath10k/core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath10k/core.h b/drivers/net/wireless/ath/ath10k/core.h
index cbb9ff4d1707..24981d94bbcd 100644
--- a/drivers/net/wireless/ath/ath10k/core.h
+++ b/drivers/net/wireless/ath/ath10k/core.h
@@ -196,7 +196,7 @@ struct ath10k_fw_extd_stats_peer {
struct list_head list;
u8 peer_macaddr[ETH_ALEN];
- u32 rx_duration;
+ u64 rx_duration;
};
struct ath10k_fw_stats_vdev {