qcacmn: support for tx capture stats
added support to print debug stats for tx capture Change-Id: Id5533e076f9b5d3f15a392f61b4af5fdffa9efb0
This commit is contained in:
@@ -2108,6 +2108,8 @@ static void dp_process_ppdu_stats_common_tlv(struct dp_pdev *pdev,
|
|||||||
}
|
}
|
||||||
|
|
||||||
ppdu_desc->phy_mode = HTT_PPDU_STATS_COMMON_TLV_PHY_MODE_GET(*tag_buf);
|
ppdu_desc->phy_mode = HTT_PPDU_STATS_COMMON_TLV_PHY_MODE_GET(*tag_buf);
|
||||||
|
|
||||||
|
dp_tx_capture_htt_frame_counter(pdev, frame_type);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@@ -1476,6 +1476,31 @@ QDF_STATUS dp_tx_add_to_comp_queue(struct dp_soc *soc,
|
|||||||
{
|
{
|
||||||
return QDF_STATUS_E_FAILURE;
|
return QDF_STATUS_E_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* dp_tx_capture_htt_frame_counter: increment counter for htt_frame_type
|
||||||
|
* pdev: DP pdev handle
|
||||||
|
* htt_frame_type: htt frame type received from fw
|
||||||
|
*
|
||||||
|
* return: void
|
||||||
|
*/
|
||||||
|
static inline
|
||||||
|
void dp_tx_capture_htt_frame_counter(struct dp_pdev *pdev,
|
||||||
|
uint32_t htt_frame_type)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* dp_tx_cature_stats: print tx capture stats
|
||||||
|
* @pdev: DP PDEV handle
|
||||||
|
*
|
||||||
|
* return: void
|
||||||
|
*/
|
||||||
|
static inline
|
||||||
|
void dp_print_pdev_tx_capture_stats(struct dp_pdev *pdev)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef FEATURE_PERPKT_INFO
|
#ifdef FEATURE_PERPKT_INFO
|
||||||
|
@@ -5648,6 +5648,8 @@ dp_print_pdev_tx_stats(struct dp_pdev *pdev)
|
|||||||
DP_PRINT_STATS("Wdi msgs received from fw[%d]:%d",
|
DP_PRINT_STATS("Wdi msgs received from fw[%d]:%d",
|
||||||
i, pdev->stats.wdi_event[i]);
|
i, pdev->stats.wdi_event[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dp_print_pdev_tx_capture_stats(pdev);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Reference in New Issue
Block a user