qcacmn: Add os_if implementation of peer cp stats

Add change to support get API for peer cp stats from
within cp stats component

Change-Id: I81276cee57a8c28e52e82c0cbc7f58be7dbfa33e
CRs-Fixed: 2247228
This commit is contained in:
Naga
2018-05-03 11:18:38 +05:30
committed by nshrivas
parent 81f4f19830
commit c5e9342021
2 changed files with 38 additions and 0 deletions

View File

@@ -28,6 +28,17 @@
#ifdef QCA_SUPPORT_CP_STATS
#include <wlan_objmgr_cmn.h>
#include <wlan_cp_stats_ic_defs.h>
/**
* wlan_cfg80211_get_peer_cp_stats() - API to get peer stats object
* @peer_obj: peer object as input
* @peer_cp_stats: peer stats object to populate
*
* Return: 0 on success, negative value on failure
*/
int wlan_cfg80211_get_peer_cp_stats(struct wlan_objmgr_peer *peer_obj,
struct peer_ic_cp_stats *peer_cp_stats);
#endif /* QCA_SUPPORT_CP_STATS */
#endif /* __WLAN_CFG80211_IC_CP_STATS_H__ */