diff options
author | Ben Greear <greearb@candelatech.com> | 2016-09-26 14:56:26 -0400 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2016-09-27 08:18:29 -0400 |
commit | 15138fdf327da6132b6e00e3d8c083476eb9aea2 (patch) | |
tree | 45ca8cbf32fe316fcc5739364a3545cac78625c3 /drivers/net/wireless/ath/ath10k | |
parent | aa66ba0c31c69d13e5a59096a67775b776dccbec (diff) |
ath10k: document cycle count related counters
They are not necessarily named in an intuitive manner,
so at least add some comments to help the next person.
Signed-off-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k')
-rw-r--r-- | drivers/net/wireless/ath/ath10k/core.h | 8 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath10k/wmi.h | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/drivers/net/wireless/ath/ath10k/core.h b/drivers/net/wireless/ath/ath10k/core.h index 6ec9495bcc04..dda49af1eb74 100644 --- a/drivers/net/wireless/ath/ath10k/core.h +++ b/drivers/net/wireless/ath/ath10k/core.h | |||
@@ -201,10 +201,10 @@ struct ath10k_fw_stats_pdev { | |||
201 | 201 | ||
202 | /* PDEV stats */ | 202 | /* PDEV stats */ |
203 | s32 ch_noise_floor; | 203 | s32 ch_noise_floor; |
204 | u32 tx_frame_count; | 204 | u32 tx_frame_count; /* Cycles spent transmitting frames */ |
205 | u32 rx_frame_count; | 205 | u32 rx_frame_count; /* Cycles spent receiving frames */ |
206 | u32 rx_clear_count; | 206 | u32 rx_clear_count; /* Total channel busy time, evidently */ |
207 | u32 cycle_count; | 207 | u32 cycle_count; /* Total on-channel time */ |
208 | u32 phy_err_count; | 208 | u32 phy_err_count; |
209 | u32 chan_tx_power; | 209 | u32 chan_tx_power; |
210 | u32 ack_rx_bad; | 210 | u32 ack_rx_bad; |
diff --git a/drivers/net/wireless/ath/ath10k/wmi.h b/drivers/net/wireless/ath/ath10k/wmi.h index 6a68817b90b8..1b243c899bef 100644 --- a/drivers/net/wireless/ath/ath10k/wmi.h +++ b/drivers/net/wireless/ath/ath10k/wmi.h | |||
@@ -4222,10 +4222,10 @@ struct wmi_10_2_stats_event { | |||
4222 | */ | 4222 | */ |
4223 | struct wmi_pdev_stats_base { | 4223 | struct wmi_pdev_stats_base { |
4224 | __le32 chan_nf; | 4224 | __le32 chan_nf; |
4225 | __le32 tx_frame_count; | 4225 | __le32 tx_frame_count; /* Cycles spent transmitting frames */ |
4226 | __le32 rx_frame_count; | 4226 | __le32 rx_frame_count; /* Cycles spent receiving frames */ |
4227 | __le32 rx_clear_count; | 4227 | __le32 rx_clear_count; /* Total channel busy time, evidently */ |
4228 | __le32 cycle_count; | 4228 | __le32 cycle_count; /* Total on-channel time */ |
4229 | __le32 phy_err_count; | 4229 | __le32 phy_err_count; |
4230 | __le32 chan_tx_pwr; | 4230 | __le32 chan_tx_pwr; |
4231 | } __packed; | 4231 | } __packed; |