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

HTT stats: pdev TDMA stats

Change-Id: Ic2ed8a98b68b115cab275f12f88348d0a02147d2
CRs-Fixed: 2262693
This commit is contained in:
spuligil 2023-04-15 12:01:54 -07:00 • committed by Madan Koyyalamudi
commit 2bed33ddd1
2 changed files with 47 additions and 0 deletions

View file

@ -802,6 +802,7 @@ typedef enum {
HTT_STATS_MLO_UMAC_SSR_DBG_TAG = 184, /* htt_mlo_umac_ssr_dbg_tlv */
HTT_STATS_MLO_UMAC_SSR_HANDSHAKE_TAG = 185, /* htt_mlo_umac_htt_handshake_stats_tlv */
HTT_STATS_MLO_UMAC_SSR_MLO_TAG = 186, /* htt_mlo_umac_ssr_mlo_stats_tlv */
HTT_STATS_PDEV_TDMA_TAG = 187, /* htt_pdev_tdma_stats_tlv */
HTT_STATS_MAX_TAG,

View file

@ -538,6 +538,14 @@ enum htt_dbg_ext_stats_type {
*/
HTT_DBG_MLO_UMAC_SSR_STATS = 56,
/** HTT_DBG_PDEV_TDMA_STATS
* PARAMS:
* - No Params
* RESP MSG:
* - htt_pdev_tdma_stats_tlv
*/
HTT_DBG_PDEV_TDMA_STATS = 57,
/* keep this last */
HTT_DBG_NUM_EXT_STATS = 256,
@ -8760,6 +8768,44 @@ typedef struct {
A_UINT32 ul_mumimo_trigger_within_bss;
} htt_pdev_mbssid_ctrl_frame_stats_tlv;
typedef struct {
htt_tlv_hdr_t tlv_hdr;
/**
* BIT [ 7 : 0] :- mac_id
* Use the HTT_STATS_TDMA_MAC_ID_GET macro to extract
* this bitfield.
* BIT [31 : 8] :- reserved
*/
union {
struct {
A_UINT32 mac_id: 8,
reserved: 24;
};
A_UINT32 mac_id__word;
};
/** Num of Active TDMA schedules */
A_UINT32 num_tdma_active_schedules;
/** Num of Reserved TDMA schedules */
A_UINT32 num_tdma_reserved_schedules;
/** Num of Restricted TDMA schedules */
A_UINT32 num_tdma_restricted_schedules;
/** Num of Unconfigured TDMA schedules */
A_UINT32 num_tdma_unconfigured_schedules;
/** Num of TDMA slot switches */
A_UINT32 num_tdma_slot_switches;
/** Num of TDMA EDCA switches */
A_UINT32 num_tdma_edca_switches;
} htt_pdev_tdma_stats_tlv;
#define HTT_STATS_TDMA_MAC_ID_M 0x000000ff
#define HTT_STATS_TDMA_MAC_ID_S 0
#define HTT_STATS_TDMA_MAC_ID_GET(_var) \
(((_var) & HTT_STATS_TDMA_MAC_ID_M) >> \
HTT_STATS_TDMA_MAC_ID_S)
/*======= Bandwidth Manager stats ====================*/
#define HTT_BW_MGR_STATS_MAC_ID_M 0x000000ff