diff options
| author | spuligil <spuligil@codeaurora.org> | 2018-11-08 00:04:08 -0800 |
|---|---|---|
| committer | spuligil <spuligil@codeaurora.org> | 2018-11-08 00:04:09 -0800 |
| commit | 40afb2ec85f499bd0c08306a98acff336fcaf751 (patch) | |
| tree | a5c506c35559586494120b2ea4513f45c8f9c090 | |
| parent | b132b089054c0561e66455c8267c7ff2a3fcc0ad (diff) | |
fw-api: CL 5836834 - update fw common interface files
HTT stats: add pdev OBSS PPDU stats
Change-Id: I0c2d8a0e7df9dffcaec909aebde461680a12f1cb
CRs-Fixed: 2262693
| -rw-r--r-- | fw/htt_stats.h | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/fw/htt_stats.h b/fw/htt_stats.h index 22ea845fb24d..fcde3166d159 100644 --- a/fw/htt_stats.h +++ b/fw/htt_stats.h @@ -249,16 +249,25 @@ enum htt_dbg_ext_stats_type { * PARAMS: * - config_param0: * [Bit0] vdev_id_set:1 - * set to 1 if vdev_id is set and vdev stats are requested + * set to 1 if vdev_id is set and vdev stats are requested * [Bit8 : Bit1] vdev_id:8 * note:0xFF to get all active vdevs based on pdev_mask. * [Bit31 : Bit9] rsvd:22 - + * * RESP MSG: * - htt_tx_sounding_stats_t */ HTT_DBG_EXT_STATS_TX_SOUNDING_INFO = 22, + /* HTT_DBG_EXT_STATS_PDEV_OBSS_PD_STATS + * PARAMS: + * - config_param0: + * No params + * RESP MSG: + * - htt_pdev_obss_pd_stats_t + */ + HTT_DBG_EXT_STATS_PDEV_OBSS_PD_STATS = 23, + /* keep this last */ HTT_DBG_NUM_EXT_STATS = 256, @@ -353,6 +362,7 @@ typedef enum { HTT_STATS_TX_DE_FW2WBM_RING_FULL_HIST_TAG = 85, /* htt_tx_de_fw2wbm_ring_full_hist_tlv */ HTT_STATS_SCHED_TXQ_SCHED_ORDER_SU_TAG = 86, /* htt_sched_txq_sched_order_su_tlv */ HTT_STATS_SCHED_TXQ_SCHED_INELIGIBILITY_TAG = 87, /* htt_sched_txq_sched_eligibility_tlv */ + HTT_STATS_PDEV_OBSS_PD_TAG = 88, /* htt_pdev_obss_pd_stats_tlv */ HTT_STATS_MAX_TAG, } htt_tlv_tag_t; @@ -3600,5 +3610,19 @@ typedef struct { htt_tx_sounding_stats_tlv sounding_tlv; } htt_tx_sounding_stats_t; +typedef struct { + htt_tlv_hdr_t tlv_hdr; + + A_UINT32 num_obss_tx_ppdu_success; + A_UINT32 num_obss_tx_ppdu_failure; +} htt_pdev_obss_pd_stats_tlv; + +/* NOTE: + * This structure is for documentation, and cannot be safely used directly. + * Instead, use the constituent TLV structures to fill/parse. + */ +typedef struct { + htt_pdev_obss_pd_stats_tlv obss_pd_stat; +} htt_pdev_obss_pd_stats_t; #endif /* __HTT_STATS_H__ */ |
