aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath11k/hal_tx.h
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2019-12-13 16:38:37 +0100
committerKalle Valo <kvalo@codeaurora.org>2019-12-18 19:39:47 +0200
commit8cfa7ef8127b00de1ce0275a85220c331fe9a4d0 (patch)
tree712a2231679cde49c5cef735911bac2cdb032bba /drivers/net/wireless/ath/ath11k/hal_tx.h
parentath11k: rename ath11k_wmi_base instances from wmi_sc to wmi_ab (diff)
downloadlinux-8cfa7ef8127b00de1ce0275a85220c331fe9a4d0.tar.xz
linux-8cfa7ef8127b00de1ce0275a85220c331fe9a4d0.zip
ath11k: move some tx_status parsing to debugfs code
Some of the fields are only used by debugfs. Move the parsing of these from the data hot path to the debugfs code. Signed-off-by: John Crispin <john@phrozen.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/ath11k/hal_tx.h')
-rw-r--r--drivers/net/wireless/ath/ath11k/hal_tx.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/net/wireless/ath/ath11k/hal_tx.h b/drivers/net/wireless/ath/ath11k/hal_tx.h
index 5217eaf9da50..cf99e2b31f9f 100644
--- a/drivers/net/wireless/ath/ath11k/hal_tx.h
+++ b/drivers/net/wireless/ath/ath11k/hal_tx.h
@@ -51,17 +51,12 @@ struct hal_tx_status {
u32 desc_id;
enum hal_wbm_tqm_rel_reason status;
u8 ack_rssi;
- enum hal_tx_rate_stats_bw bw;
- enum hal_tx_rate_stats_pkt_type pkt_type;
- enum hal_tx_rate_stats_sgi sgi;
- u8 mcs;
- u16 num_tones_in_ru;
u32 flags; /* %HAL_TX_STATUS_FLAGS_ */
- u32 tsf;
u32 ppdu_id;
u8 try_cnt;
u8 tid;
u16 peer_id;
+ u32 rate_stats;
};
void ath11k_hal_tx_cmd_desc_setup(struct ath11k_base *ab, void *cmd,