ath10k: add extended per sta tx statistics support
This patch adds per station tx statistics support. Per station tx stats include - pkts/bytes transmitted at all possible rates(mcs/nss/bw/gi). - ACK fails count - ampdu bytes/pkts transmitted at all possible rates(mcs/nss/bw/gi). - BA fails count Tested on QCA9984/QCA4019/QCA988x Firmware: 10.4-3.5.3-00057 10.2.4-1.0-00037 Signed-off-by: Anilkumar Kolli <akolli@codeaurora.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:

committed by
Kalle Valo

parent
348cd95c81
commit
a904417fc8
@@ -4958,10 +4958,15 @@ enum wmi_rate_preamble {
|
||||
#define ATH10K_HW_GI(flags) (((flags) >> 5) & 0x1)
|
||||
#define ATH10K_HW_RATECODE(rate, nss, preamble) \
|
||||
(((preamble) << 6) | ((nss) << 4) | (rate))
|
||||
#define ATH10K_HW_AMPDU(flags) ((flags) & 0x1)
|
||||
#define ATH10K_HW_BA_FAIL(flags) (((flags) >> 1) & 0x3)
|
||||
|
||||
#define VHT_MCS_NUM 10
|
||||
#define VHT_BW_NUM 4
|
||||
#define VHT_NSS_NUM 4
|
||||
#define ATH10K_VHT_MCS_NUM 10
|
||||
#define ATH10K_BW_NUM 4
|
||||
#define ATH10K_NSS_NUM 4
|
||||
#define ATH10K_LEGACY_NUM 12
|
||||
#define ATH10K_GI_NUM 2
|
||||
#define ATH10K_HT_MCS_NUM 32
|
||||
|
||||
/* Value to disable fixed rate setting */
|
||||
#define WMI_FIXED_RATE_NONE (0xff)
|
||||
|
Reference in New Issue
Block a user