Skip to content

Commit

Permalink
fw-api: CL 6050548 - update fw common interface files
Browse files Browse the repository at this point in the history
HTT stats: add rx pilot EVM to rx pdev rate stats

Change-Id: Iacd41fc87aee933e0912f6f591cb0f7429a840fc
CRs-Fixed: 2262693
  • Loading branch information
spuligil committed Dec 12, 2018
1 parent 93c6438 commit 3cc3cac
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions fw/htt_stats.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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;


Expand Down

0 comments on commit 3cc3cac

Please sign in to comment.