qcacmn: Add SAWF stats in dp_txrx_peer

- Add SAWF stats in dp_txrx_peer.
- Initialize stats per peer

Change-Id: I5fa35efe36dc8447703d4aa1d4d0c135031f9eee
CRs-Fixed: 3136210
This commit is contained in:
Ripan Deuri
2022-02-15 12:12:35 +05:30
committed by Madan Koyyalamudi
parent eb543663d2
commit b2340306e3
3 changed files with 25 additions and 0 deletions

View File

@@ -959,6 +959,23 @@ static inline QDF_STATUS dp_peer_sawf_ctx_free(struct dp_soc *soc,
}
#endif
#ifndef CONFIG_SAWF
static inline
QDF_STATUS dp_peer_sawf_stats_ctx_alloc(struct dp_soc *soc,
struct dp_txrx_peer *txrx_peer)
{
return QDF_STATUS_SUCCESS;
}
static inline
QDF_STATUS dp_peer_sawf_stats_ctx_free(struct dp_soc *soc,
struct dp_txrx_peer *txrx_peer)
{
return QDF_STATUS_SUCCESS;
}
#endif
struct dp_peer *dp_vdev_bss_peer_ref_n_get(struct dp_soc *soc,
struct dp_vdev *vdev,
enum dp_mod_id mod_id);