|
@@ -1216,7 +1216,8 @@ typedef enum {
|
|
|
HTT_STATS_PREAM_COUNT,
|
|
|
} HTT_STATS_PREAM_TYPE;
|
|
|
|
|
|
-#define HTT_TX_PEER_STATS_NUM_MCS_COUNTERS 12
|
|
|
+#define HTT_TX_PEER_STATS_NUM_MCS_COUNTERS 12 /* 0-11 */
|
|
|
+#define HTT_TX_PEER_STATS_NUM_EXTRA_MCS_COUNTERS 2 /* 12, 13 */
|
|
|
/* HTT_TX_PEER_STATS_NUM_GI_COUNTERS:
|
|
|
* GI Index 0: WHAL_GI_800
|
|
|
* GI Index 1: WHAL_GI_400
|
|
@@ -1265,9 +1266,17 @@ typedef struct _htt_tx_peer_rate_stats_tlv {
|
|
|
|
|
|
/* Counters to track packets in dcm mcs (MCS 0, 1, 3, 4) */
|
|
|
A_UINT32 tx_dcm[HTT_TX_PEER_STATS_NUM_DCM_COUNTERS];
|
|
|
+
|
|
|
+ /* Stats for MCS 12/13 */
|
|
|
+ A_UINT32 tx_mcs_ext[HTT_TX_PEER_STATS_NUM_EXTRA_MCS_COUNTERS];
|
|
|
+ A_UINT32 tx_su_mcs_ext[HTT_TX_PEER_STATS_NUM_EXTRA_MCS_COUNTERS];
|
|
|
+ A_UINT32 tx_mu_mcs_ext[HTT_TX_PEER_STATS_NUM_EXTRA_MCS_COUNTERS];
|
|
|
+ A_UINT32 tx_stbc_ext[HTT_TX_PEER_STATS_NUM_EXTRA_MCS_COUNTERS];
|
|
|
+ A_UINT32 tx_gi_ext[HTT_TX_PEER_STATS_NUM_GI_COUNTERS][HTT_TX_PEER_STATS_NUM_EXTRA_MCS_COUNTERS];
|
|
|
} htt_tx_peer_rate_stats_tlv;
|
|
|
|
|
|
-#define HTT_RX_PEER_STATS_NUM_MCS_COUNTERS 12
|
|
|
+#define HTT_RX_PEER_STATS_NUM_MCS_COUNTERS 12 /* 0-11 */
|
|
|
+#define HTT_RX_PEER_STATS_NUM_EXTRA_MCS_COUNTERS 2 /* 12, 13 */
|
|
|
#define HTT_RX_PEER_STATS_NUM_GI_COUNTERS 4
|
|
|
#define HTT_RX_PEER_STATS_NUM_DCM_COUNTERS 5
|
|
|
#define HTT_RX_PEER_STATS_NUM_BW_COUNTERS 4
|
|
@@ -1319,6 +1328,11 @@ typedef struct _htt_rx_peer_rate_stats_tlv {
|
|
|
A_UINT32 rx_ulmumimo_mpdu_fail; /* mpdu level */
|
|
|
|
|
|
A_UINT8 rssi_chain_ext[HTT_RX_PEER_STATS_NUM_SPATIAL_STREAMS][HTT_RX_PEER_STATS_NUM_BW_EXT_COUNTERS]; /* units = dB above noise floor */
|
|
|
+
|
|
|
+ /* Stats for MCS 12/13 */
|
|
|
+ A_UINT32 rx_mcs_ext[HTT_RX_PEER_STATS_NUM_EXTRA_MCS_COUNTERS];
|
|
|
+ A_UINT32 rx_stbc_ext[HTT_RX_PEER_STATS_NUM_EXTRA_MCS_COUNTERS];
|
|
|
+ A_UINT32 rx_gi_ext[HTT_RX_PEER_STATS_NUM_GI_COUNTERS][HTT_RX_PEER_STATS_NUM_EXTRA_MCS_COUNTERS];
|
|
|
} htt_rx_peer_rate_stats_tlv;
|
|
|
|
|
|
typedef enum {
|
|
@@ -3009,7 +3023,8 @@ typedef struct {
|
|
|
|
|
|
/* == PDEV TX RATE CTRL STATS == */
|
|
|
|
|
|
-#define HTT_TX_PDEV_STATS_NUM_MCS_COUNTERS 12
|
|
|
+#define HTT_TX_PDEV_STATS_NUM_MCS_COUNTERS 12 /* 0-11 */
|
|
|
+#define HTT_TX_PDEV_STATS_NUM_EXTRA_MCS_COUNTERS 2 /* 12, 13 */
|
|
|
#define HTT_TX_PDEV_STATS_NUM_GI_COUNTERS 4
|
|
|
#define HTT_TX_PDEV_STATS_NUM_DCM_COUNTERS 5
|
|
|
#define HTT_TX_PDEV_STATS_NUM_BW_COUNTERS 4
|
|
@@ -3112,6 +3127,15 @@ typedef struct {
|
|
|
A_UINT32 ofdma_tx_gi[HTT_TX_PDEV_STATS_NUM_GI_COUNTERS][HTT_TX_PDEV_STATS_NUM_MCS_COUNTERS];
|
|
|
A_UINT32 trigger_type_11ax[HTT_TX_PDEV_STATS_NUM_11AX_TRIGGER_TYPES];
|
|
|
A_UINT32 tx_11ax_su_ext;
|
|
|
+
|
|
|
+ /* Stats for MCS 12/13 */
|
|
|
+ A_UINT32 tx_mcs_ext[HTT_TX_PDEV_STATS_NUM_EXTRA_MCS_COUNTERS];
|
|
|
+ A_UINT32 tx_stbc_ext[HTT_TX_PDEV_STATS_NUM_EXTRA_MCS_COUNTERS];
|
|
|
+ A_UINT32 tx_gi_ext[HTT_TX_PDEV_STATS_NUM_GI_COUNTERS][HTT_TX_PDEV_STATS_NUM_EXTRA_MCS_COUNTERS];
|
|
|
+ A_UINT32 ax_mu_mimo_tx_mcs_ext[HTT_TX_PDEV_STATS_NUM_EXTRA_MCS_COUNTERS];
|
|
|
+ A_UINT32 ofdma_tx_mcs_ext[HTT_TX_PDEV_STATS_NUM_EXTRA_MCS_COUNTERS];
|
|
|
+ A_UINT32 ax_mu_mimo_tx_gi_ext[HTT_TX_PDEV_STATS_NUM_GI_COUNTERS][HTT_TX_PDEV_STATS_NUM_EXTRA_MCS_COUNTERS];
|
|
|
+ A_UINT32 ofdma_tx_gi_ext[HTT_TX_PDEV_STATS_NUM_GI_COUNTERS][HTT_TX_PDEV_STATS_NUM_EXTRA_MCS_COUNTERS];
|
|
|
} htt_tx_pdev_rate_stats_tlv;
|
|
|
|
|
|
/* STATS_TYPE : HTT_DBG_EXT_STATS_PDEV_TX_RATE
|
|
@@ -3130,7 +3154,8 @@ typedef struct {
|
|
|
|
|
|
#define HTT_RX_PDEV_STATS_NUM_LEGACY_CCK_STATS 4
|
|
|
#define HTT_RX_PDEV_STATS_NUM_LEGACY_OFDM_STATS 8
|
|
|
-#define HTT_RX_PDEV_STATS_NUM_MCS_COUNTERS 12
|
|
|
+#define HTT_RX_PDEV_STATS_NUM_MCS_COUNTERS 12 /* 0-11 */
|
|
|
+#define HTT_RX_PDEV_STATS_NUM_EXTRA_MCS_COUNTERS 2 /* 12, 13 */
|
|
|
#define HTT_RX_PDEV_STATS_NUM_GI_COUNTERS 4
|
|
|
#define HTT_RX_PDEV_STATS_NUM_DCM_COUNTERS 5
|
|
|
#define HTT_RX_PDEV_STATS_NUM_BW_COUNTERS 4
|
|
@@ -3261,6 +3286,16 @@ typedef struct {
|
|
|
A_UINT32 rx_ulmumimo_mpdu_fail[HTT_RX_PDEV_MAX_ULMUMIMO_NUM_USER]; /* mpdu level */
|
|
|
A_UINT32 rx_ulofdma_non_data_nusers[HTT_RX_PDEV_MAX_OFDMA_NUM_USER];
|
|
|
A_UINT32 rx_ulofdma_data_nusers[HTT_RX_PDEV_MAX_OFDMA_NUM_USER];
|
|
|
+
|
|
|
+ /* Stats for MCS 12/13 */
|
|
|
+ A_UINT32 rx_mcs_ext[HTT_RX_PDEV_STATS_NUM_EXTRA_MCS_COUNTERS];
|
|
|
+ A_UINT32 rx_stbc_ext[HTT_RX_PDEV_STATS_NUM_EXTRA_MCS_COUNTERS];
|
|
|
+ A_UINT32 rx_gi_ext[HTT_RX_PDEV_STATS_NUM_GI_COUNTERS][HTT_RX_PDEV_STATS_NUM_EXTRA_MCS_COUNTERS];
|
|
|
+ A_UINT32 ul_ofdma_rx_mcs_ext[HTT_RX_PDEV_STATS_NUM_EXTRA_MCS_COUNTERS];
|
|
|
+ A_UINT32 ul_ofdma_rx_gi_ext[HTT_TX_PDEV_STATS_NUM_GI_COUNTERS][HTT_RX_PDEV_STATS_NUM_EXTRA_MCS_COUNTERS];
|
|
|
+ A_UINT32 rx_11ax_su_txbf_mcs_ext[HTT_RX_PDEV_STATS_NUM_EXTRA_MCS_COUNTERS];
|
|
|
+ A_UINT32 rx_11ax_mu_txbf_mcs_ext[HTT_RX_PDEV_STATS_NUM_EXTRA_MCS_COUNTERS];
|
|
|
+ A_UINT32 rx_11ax_dl_ofdma_mcs_ext[HTT_RX_PDEV_STATS_NUM_EXTRA_MCS_COUNTERS];
|
|
|
} htt_rx_pdev_rate_stats_tlv;
|
|
|
|
|
|
/* STATS_TYPE : HTT_DBG_EXT_STATS_PDEV_RX_RATE
|
|
@@ -3313,6 +3348,9 @@ typedef struct {
|
|
|
A_UINT32 rx_ulofdma_data_ru_size_ppdu[HTT_RX_PDEV_STATS_NUM_RU_SIZE_160MHZ_CNTRS]; /* ppdu level */
|
|
|
A_UINT32 rx_ulofdma_non_data_ru_size_ppdu[HTT_RX_PDEV_STATS_NUM_RU_SIZE_160MHZ_CNTRS]; /* ppdu level */
|
|
|
|
|
|
+ /* Stats for MCS 12/13 */
|
|
|
+ A_UINT32 ul_ofdma_rx_mcs_ext[HTT_RX_PDEV_STATS_NUM_EXTRA_MCS_COUNTERS];
|
|
|
+ A_UINT32 ul_ofdma_rx_gi_ext[HTT_RX_PDEV_STATS_NUM_GI_COUNTERS][HTT_RX_PDEV_STATS_NUM_EXTRA_MCS_COUNTERS];
|
|
|
} htt_rx_pdev_ul_trigger_stats_tlv;
|
|
|
|
|
|
/* STATS_TYPE : HTT_DBG_EXT_STATS_PDEV_UL_TRIG_STATS
|
|
@@ -3369,6 +3407,10 @@ typedef struct {
|
|
|
A_UINT32 ul_mumimo_rx_bw[HTT_RX_PDEV_STATS_NUM_BW_COUNTERS];
|
|
|
A_UINT32 ul_mumimo_rx_stbc;
|
|
|
A_UINT32 ul_mumimo_rx_ldpc;
|
|
|
+
|
|
|
+ /* Stats for MCS 12/13 */
|
|
|
+ A_UINT32 ul_mumimo_rx_mcs_ext[HTT_RX_PDEV_STATS_NUM_EXTRA_MCS_COUNTERS];
|
|
|
+ A_UINT32 ul_mumimo_rx_gi_ext[HTT_RX_PDEV_STATS_NUM_GI_COUNTERS][HTT_RX_PDEV_STATS_NUM_EXTRA_MCS_COUNTERS];
|
|
|
} htt_rx_pdev_ul_mumimo_trig_stats_tlv;
|
|
|
|
|
|
/* STATS_TYPE : HTT_DBG_EXT_STATS_PDEV_UL_MUMIMO_TRIG_STATS
|