qcacmn: Update stats in monitor peer in Tx HTT and Rx monitor path
Update stats in monitor peer in Tx HTT PPDU completion and Rx monitor PPDU indication path. Change-Id: Icfeb49fc6f1fa2c1f2648a9b4576f31a927c7ecd CRs-Fixed: 3092123
This commit is contained in:

committed by
Madan Koyyalamudi

parent
93cd9e0af8
commit
ce45e71913
@@ -586,7 +586,7 @@ struct dp_mon_ops {
|
||||
#ifdef QCA_ENHANCED_STATS_SUPPORT
|
||||
void (*mon_filter_setup_enhanced_stats)(struct dp_pdev *pdev);
|
||||
void (*mon_filter_reset_enhanced_stats)(struct dp_pdev *pdev);
|
||||
void (*mon_tx_stats_update)(struct dp_peer *peer,
|
||||
void (*mon_tx_stats_update)(struct dp_mon_peer *mon_peer,
|
||||
struct cdp_tx_completion_ppdu_user *ppdu);
|
||||
#endif
|
||||
#ifdef QCA_MCOPY_SUPPORT
|
||||
@@ -648,7 +648,7 @@ struct dp_mon_ops {
|
||||
#endif
|
||||
void (*mon_register_feature_ops)(struct dp_soc *soc);
|
||||
#ifdef QCA_ENHANCED_STATS_SUPPORT
|
||||
void (*mon_rx_stats_update)(struct dp_peer *peer,
|
||||
void (*mon_rx_stats_update)(struct dp_mon_peer *mon_peer,
|
||||
struct cdp_rx_indication_ppdu *ppdu,
|
||||
struct cdp_rx_stats_ppdu_user *ppdu_user);
|
||||
void (*mon_rx_populate_ppdu_usr_info)(struct mon_rx_user_status *rx_user_status,
|
||||
@@ -1053,7 +1053,7 @@ dp_pkt_log_init(struct cdp_soc_t *soc_hdl, uint8_t pdev_id, void *scn)
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef WDI_EVENT_ENABLE
|
||||
#if defined(WDI_EVENT_ENABLE) && defined(QCA_ENHANCED_STATS_SUPPORT)
|
||||
QDF_STATUS dp_peer_stats_notify(struct dp_pdev *pdev, struct dp_peer *peer);
|
||||
#else
|
||||
static inline QDF_STATUS dp_peer_stats_notify(struct dp_pdev *pdev,
|
||||
@@ -1063,6 +1063,17 @@ static inline QDF_STATUS dp_peer_stats_notify(struct dp_pdev *pdev,
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(FEATURE_PERPKT_INFO) && defined(WDI_EVENT_ENABLE)
|
||||
void dp_send_stats_event(struct dp_pdev *pdev, struct dp_peer *peer,
|
||||
uint16_t peer_id);
|
||||
#else
|
||||
static inline
|
||||
void dp_send_stats_event(struct dp_pdev *pdev, struct dp_peer *peer,
|
||||
uint16_t peer_id)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef WLAN_TX_PKT_CAPTURE_ENH
|
||||
/**
|
||||
* dp_tx_ppdu_stats_process - Deferred PPDU stats handler
|
||||
|
Reference in New Issue
Block a user