|
@@ -1295,6 +1295,7 @@ typedef enum {
|
|
|
} HTT_STATS_PREAM_TYPE;
|
|
|
|
|
|
#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
|
|
@@ -1344,9 +1345,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 /* 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
|
|
@@ -1398,6 +1407,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 {
|
|
@@ -3352,6 +3366,7 @@ typedef struct {
|
|
|
/* == PDEV TX RATE CTRL STATS == */
|
|
|
|
|
|
#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
|
|
@@ -3454,6 +3469,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
|
|
@@ -3473,6 +3497,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 /* 0-11 */
|
|
|
+#define HTT_RX_PDEV_STATS_NUM_EXTRA_MCS_COUNTERS 2 /* 12, 13 */
|
|
|
+#define HTT_RX_PDEV_STATS_NUM_MCS_COUNTERS_EXT 14 /* 0-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
|
|
@@ -3631,6 +3657,18 @@ typedef struct {
|
|
|
A_INT8 rx_per_chain_rssi_ext_in_dbm[HTT_RX_PDEV_STATS_NUM_SPATIAL_STREAMS][HTT_RX_PDEV_STATS_NUM_BW_EXT_COUNTERS];
|
|
|
A_INT32 rssi_mcast_in_dbm; /* rx mcast signal strength value in dBm unit */
|
|
|
A_INT32 rssi_mgmt_in_dbm; /* rx mgmt packet signal Strength value in dBm unit */
|
|
|
+ /*
|
|
|
+ * Stats for MCS 0-13 since rx_pdev_rate_stats_tlv cannot be updated,
|
|
|
+ * due to message size limitations.
|
|
|
+ */
|
|
|
+ A_UINT32 rx_mcs_ext[HTT_RX_PDEV_STATS_NUM_MCS_COUNTERS_EXT];
|
|
|
+ A_UINT32 rx_stbc_ext[HTT_RX_PDEV_STATS_NUM_MCS_COUNTERS_EXT];
|
|
|
+ A_UINT32 rx_gi_ext[HTT_RX_PDEV_STATS_NUM_GI_COUNTERS][HTT_RX_PDEV_STATS_NUM_MCS_COUNTERS_EXT];
|
|
|
+ A_UINT32 ul_ofdma_rx_mcs_ext[HTT_RX_PDEV_STATS_NUM_MCS_COUNTERS_EXT];
|
|
|
+ A_UINT32 ul_ofdma_rx_gi_ext[HTT_TX_PDEV_STATS_NUM_GI_COUNTERS][HTT_RX_PDEV_STATS_NUM_MCS_COUNTERS_EXT];
|
|
|
+ A_UINT32 rx_11ax_su_txbf_mcs_ext[HTT_RX_PDEV_STATS_NUM_MCS_COUNTERS_EXT];
|
|
|
+ A_UINT32 rx_11ax_mu_txbf_mcs_ext[HTT_RX_PDEV_STATS_NUM_MCS_COUNTERS_EXT];
|
|
|
+ A_UINT32 rx_11ax_dl_ofdma_mcs_ext[HTT_RX_PDEV_STATS_NUM_MCS_COUNTERS_EXT];
|
|
|
} htt_rx_pdev_rate_ext_stats_tlv;
|
|
|
|
|
|
/* STATS_TYPE : HTT_DBG_EXT_STATS_PDEV_RX_RATE_EXT
|
|
@@ -3738,6 +3776,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
|