fw-api: CL 19348400 - update fw common interface files

HTT stats: add MUEDCA params TLV def

Change-Id: Iad6eea3d8a5d8ae9bf367efa5a65c76b090c21b7
CRs-Fixed: 2262693
This commit is contained in:
spuligil
2022-08-25 06:01:03 -07:00
parent 2d41870849
commit 6cf3c96cc3
2 changed files with 15 additions and 0 deletions

View File

@@ -758,6 +758,7 @@ typedef enum {
HTT_DBG_ODD_MANDATORY_MUMIMO_TAG = 166, /* htt_odd_mandatory_mumimo_pdev_stats_tlv */ HTT_DBG_ODD_MANDATORY_MUMIMO_TAG = 166, /* htt_odd_mandatory_mumimo_pdev_stats_tlv */
HTT_DBG_ODD_MANDATORY_MUOFDMA_TAG = 167, /* htt_odd_mandatory_muofdma_pdev_stats_tlv */ HTT_DBG_ODD_MANDATORY_MUOFDMA_TAG = 167, /* htt_odd_mandatory_muofdma_pdev_stats_tlv */
HTT_STATS_LATENCY_PROF_CAL_STATS_TAG = 168, /* htt_latency_prof_cal_stats_tlv */ HTT_STATS_LATENCY_PROF_CAL_STATS_TAG = 168, /* htt_latency_prof_cal_stats_tlv */
HTT_STATS_TX_PDEV_MUEDCA_PARAMS_STATS_TAG = 169, /* htt_tx_pdev_muedca_params_stats_tlv_v */
HTT_STATS_MAX_TAG, HTT_STATS_MAX_TAG,

View File

@@ -922,6 +922,20 @@ typedef struct {
A_UINT32 phy_errs[1]; /* HTT_TX_PDEV_MAX_PHY_ERR_STATS */ A_UINT32 phy_errs[1]; /* HTT_TX_PDEV_MAX_PHY_ERR_STATS */
} htt_tx_pdev_stats_phy_err_tlv_v; } htt_tx_pdev_stats_phy_err_tlv_v;
/*
* Each array in the below struct has 16 elements, to cover the 16 possible
* values for the CW and AIFS parameters. Each element within the array
* stores the counter indicating how many transmissions have occurred with
* that particular value for the MU EDCA parameter in question.
*/
#define HTT_STATS_MUEDCA_VALUE_MAX 16
typedef struct {
htt_tlv_hdr_t tlv_hdr;
A_UINT32 aifs[HTT_NUM_AC_WMM][HTT_STATS_MUEDCA_VALUE_MAX];
A_UINT32 cw_min[HTT_NUM_AC_WMM][HTT_STATS_MUEDCA_VALUE_MAX];
A_UINT32 cw_max[HTT_NUM_AC_WMM][HTT_STATS_MUEDCA_VALUE_MAX];
} htt_tx_pdev_muedca_params_stats_tlv_v;
#define HTT_TX_PDEV_SIFS_BURST_HIST_STATS 10 #define HTT_TX_PDEV_SIFS_BURST_HIST_STATS 10
#define HTT_TX_PDEV_STATS_SIFS_HIST_TLV_SZ(_num_elems) (sizeof(A_UINT32) * (_num_elems)) #define HTT_TX_PDEV_STATS_SIFS_HIST_TLV_SZ(_num_elems) (sizeof(A_UINT32) * (_num_elems))
/* NOTE: Variable length TLV, use length spec to infer array size */ /* NOTE: Variable length TLV, use length spec to infer array size */