From 3cc3cac28ef604ccfff0f753c05eb03300874fca Mon Sep 17 00:00:00 2001 From: spuligil Date: Wed, 12 Dec 2018 01:18:40 -0800 Subject: [PATCH] fw-api: CL 6050548 - update fw common interface files HTT stats: add rx pilot EVM to rx pdev rate stats Change-Id: Iacd41fc87aee933e0912f6f591cb0f7429a840fc CRs-Fixed: 2262693 --- fw/htt_stats.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/fw/htt_stats.h b/fw/htt_stats.h index 927d41dd81c6..47986513df79 100644 --- a/fw/htt_stats.h +++ b/fw/htt_stats.h @@ -2866,6 +2866,7 @@ typedef struct { #define HTT_RX_PDEV_STATS_NUM_SPATIAL_STREAMS 8 #define HTT_RX_PDEV_STATS_NUM_PREAMBLE_TYPES HTT_STATS_PREAM_COUNT #define HTT_RX_PDEV_MAX_OFDMA_NUM_USER 8 +#define HTT_RX_PDEV_STATS_RXEVM_MAX_PILOTS_PER_NSS 16 #define HTT_RX_PDEV_RATE_STATS_MAC_ID_M 0x000000ff #define HTT_RX_PDEV_RATE_STATS_MAC_ID_S 0 @@ -2933,6 +2934,16 @@ typedef struct { A_UINT32 rx_ulofdma_data_ppdu[HTT_RX_PDEV_MAX_OFDMA_NUM_USER]; /* ppdu level */ A_UINT32 rx_ulofdma_mpdu_ok[HTT_RX_PDEV_MAX_OFDMA_NUM_USER]; /* mpdu level */ A_UINT32 rx_ulofdma_mpdu_fail[HTT_RX_PDEV_MAX_OFDMA_NUM_USER]; /* mpdu level */ + + A_UINT32 nss_count; + A_UINT32 pilot_count; + /* RxEVM stats in dB */ + A_INT32 rx_pilot_evm_dB[HTT_RX_PDEV_STATS_NUM_SPATIAL_STREAMS][HTT_RX_PDEV_STATS_RXEVM_MAX_PILOTS_PER_NSS]; + /* rx_pilot_evm_dB_mean: + * EVM mean across pilots, computed as + * mean(10*log10(rx_pilot_evm_linear)) = mean(rx_pilot_evm_dB) + */ + A_INT32 rx_pilot_evm_dB_mean[HTT_RX_PDEV_STATS_NUM_SPATIAL_STREAMS]; } htt_rx_pdev_rate_stats_tlv;