Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ab96579e authored by spuligil's avatar spuligil
Browse files

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

HTT stats: add counters for RTT initiator,responder terminates

Change-Id: I85d7f5fd1f45ac99248f0d669cce8845665f3d10
CRs-Fixed: 2262693
parent c733aac0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -653,6 +653,7 @@ typedef enum {
    HTT_STATS_PHY_RESET_STATS_TAG                  = 124, /* htt_phy_reset_stats_tlv */
    HTT_STATS_SOC_TXRX_STATS_COMMON_TAG            = 125, /* htt_t2h_soc_txrx_stats_common_tlv */
    HTT_STATS_VDEV_TXRX_STATS_HW_STATS_TAG         = 126, /* htt_t2h_vdev_txrx_stats_hw_stats_tlv */
    HTT_STATS_VDEV_RTT_INIT_STATS_TAG              = 127, /* htt_vdev_rtt_init_stats_tlv */
    HTT_STATS_MAX_TAG,
} htt_tlv_tag_t;
+27 −0
Original line number Diff line number Diff line
@@ -400,6 +400,8 @@ enum htt_dbg_ext_stats_type {
     */
    HTT_DBG_EXT_VDEVS_TXRX_STATS = 38,

    HTT_DBG_EXT_VDEV_RTT_INITIATOR_STATS = 39,


    /* keep this last */
    HTT_DBG_NUM_EXT_STATS = 256,
@@ -5133,12 +5135,37 @@ typedef struct {
    A_UINT32 rx_iftmr_cnt;
    /* No of duplicate initial Fine Timing Measurement Request frames received */
    A_UINT32 rx_iftmr_dup_cnt;
    /* No of responder sessions rejected when initiator was active */
    A_UINT32 initiator_active_responder_rejected_cnt;
    /* Responder terminate count */
    A_UINT32 responder_terminate_cnt;
    A_UINT32 vdev_id;
} htt_vdev_rtt_resp_stats_tlv;

typedef struct {
    htt_vdev_rtt_resp_stats_tlv vdev_rtt_resp_stats;
} htt_vdev_rtt_resp_stats_t;

typedef struct {
    htt_tlv_hdr_t tlv_hdr;

    A_UINT32 vdev_id;
    /* No of Fine Timing Measurement request frames transmitted successfully */
    A_UINT32 tx_ftmr_cnt;
    /* No of Fine Timing Measurement request frames not transmitted successfully */
    A_UINT32 tx_ftmr_fail;
    /* No of Fine Timing Measurement request frames transmitted successfully after retry */
    A_UINT32 tx_ftmr_suc_retry;
    /* No of Fine Timing Measurement frames received, including initial, non-initial, and duplicates */
    A_UINT32 rx_ftm_cnt;
    /* Initiator Terminate count */
    A_UINT32 initiator_terminate_cnt;
} htt_vdev_rtt_init_stats_tlv;

typedef struct {
    htt_vdev_rtt_init_stats_tlv vdev_rtt_init_stats;
} htt_vdev_rtt_init_stats_t;

/* STATS_TYPE : HTT_DBG_EXT_PKTLOG_AND_HTT_RING_STATS
 * TLV_TAGS:
 *    - HTT_STATS_PKTLOG_AND_HTT_RING_STATS_TAG