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:
@@ -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__ */
|
||||
|
Reference in New Issue
Block a user