Commit 15138fdf authored by Ben Greear's avatar Ben Greear Committed by Kalle Valo

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: default avatarBen Greear <greearb@candelatech.com>
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent aa66ba0c
...@@ -201,10 +201,10 @@ struct ath10k_fw_stats_pdev { ...@@ -201,10 +201,10 @@ struct ath10k_fw_stats_pdev {
/* PDEV stats */ /* PDEV stats */
s32 ch_noise_floor; s32 ch_noise_floor;
u32 tx_frame_count; u32 tx_frame_count; /* Cycles spent transmitting frames */
u32 rx_frame_count; u32 rx_frame_count; /* Cycles spent receiving frames */
u32 rx_clear_count; u32 rx_clear_count; /* Total channel busy time, evidently */
u32 cycle_count; u32 cycle_count; /* Total on-channel time */
u32 phy_err_count; u32 phy_err_count;
u32 chan_tx_power; u32 chan_tx_power;
u32 ack_rx_bad; u32 ack_rx_bad;
......
...@@ -4222,10 +4222,10 @@ struct wmi_10_2_stats_event { ...@@ -4222,10 +4222,10 @@ struct wmi_10_2_stats_event {
*/ */
struct wmi_pdev_stats_base { struct wmi_pdev_stats_base {
__le32 chan_nf; __le32 chan_nf;
__le32 tx_frame_count; __le32 tx_frame_count; /* Cycles spent transmitting frames */
__le32 rx_frame_count; __le32 rx_frame_count; /* Cycles spent receiving frames */
__le32 rx_clear_count; __le32 rx_clear_count; /* Total channel busy time, evidently */
__le32 cycle_count; __le32 cycle_count; /* Total on-channel time */
__le32 phy_err_count; __le32 phy_err_count;
__le32 chan_tx_pwr; __le32 chan_tx_pwr;
} __packed; } __packed;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment