qcacmn: Update enhanced Tx stats from Tx HTT PPDU completion path
Update enhanced Tx stats from Tx HTT PPDU completion path in WKK. Define and use function pointers for architecture specific functionality. Change-Id: I4ba443647dbd81c83e899c0f88c5d9a4cc695e14 CRs-Fixed: 3132255
This commit is contained in:

committed by
Madan Koyyalamudi

parent
e57b5cfe7b
commit
c1b9ccd925
@@ -510,6 +510,18 @@ dp_vdev_set_monitor_mode_rings(struct dp_pdev *pdev,
|
||||
bool dp_ppdu_stats_ind_handler(struct htt_soc *soc,
|
||||
uint32_t *msg_word,
|
||||
qdf_nbuf_t htt_t2h_msg);
|
||||
|
||||
#if !defined(WLAN_TX_PKT_CAPTURE_ENH) || defined(QCA_MONITOR_2_0_SUPPORT)
|
||||
/**
|
||||
* dp_ppdu_desc_deliver(): Function to deliver Tx PPDU status descriptor
|
||||
* to upper layer
|
||||
* @pdev: DP pdev handle
|
||||
* @ppdu_info: per PPDU TLV descriptor
|
||||
*
|
||||
* return: void
|
||||
*/
|
||||
void dp_ppdu_desc_deliver(struct dp_pdev *pdev, struct ppdu_info *ppdu_info);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
struct dp_mon_ops {
|
||||
@@ -595,6 +607,10 @@ struct dp_mon_ops {
|
||||
bool (*mon_ppdu_stats_ind_handler)(struct htt_soc *soc,
|
||||
uint32_t *msg_word,
|
||||
qdf_nbuf_t htt_t2h_msg);
|
||||
void (*mon_ppdu_desc_deliver)(struct dp_pdev *pdev,
|
||||
struct ppdu_info *ppdu_info);
|
||||
void (*mon_ppdu_desc_notify)(struct dp_pdev *pdev, qdf_nbuf_t nbuf);
|
||||
bool (*mon_ppdu_stats_feat_enable_check)(struct dp_pdev *pdev);
|
||||
#endif
|
||||
QDF_STATUS (*mon_htt_ppdu_stats_attach)(struct dp_pdev *pdev);
|
||||
void (*mon_htt_ppdu_stats_detach)(struct dp_pdev *pdev);
|
||||
@@ -665,6 +681,8 @@ struct dp_mon_ops {
|
||||
void (*mon_filter_reset_enhanced_stats)(struct dp_pdev *pdev);
|
||||
void (*mon_tx_stats_update)(struct dp_mon_peer *mon_peer,
|
||||
struct cdp_tx_completion_ppdu_user *ppdu);
|
||||
void (*mon_tx_enable_enhanced_stats)(struct dp_pdev *pdev);
|
||||
void (*mon_tx_disable_enhanced_stats)(struct dp_pdev *pdev);
|
||||
#endif
|
||||
#ifdef QCA_MCOPY_SUPPORT
|
||||
void (*mon_filter_setup_mcopy_mode)(struct dp_pdev *pdev);
|
||||
|
Reference in New Issue
Block a user