qcacmn: Add os_if implementation of pdev cp stats
Add change to support get API for pdev cp stats from within cp stats component Change-Id: Ib791a32a912b7f7e8b7c3b5ebcb3f4e64cdf1f6f CRs-Fixed: 2247228
This commit is contained in:
@@ -50,5 +50,15 @@ int wlan_cfg80211_get_peer_cp_stats(struct wlan_objmgr_peer *peer_obj,
|
||||
int wlan_cfg80211_get_vdev_cp_stats(struct wlan_objmgr_vdev *vdev_obj,
|
||||
struct vdev_ic_cp_stats *vdev_cp_stats);
|
||||
|
||||
/**
|
||||
* wlan_cfg80211_get_pdev_cp_stats() - API to get pdev cp stats object
|
||||
* @pdev_obj: pdev object as input
|
||||
* @pdev_cp_stats: pdev cp stats object to populate
|
||||
*
|
||||
* Return: 0 on success, negative value on failure
|
||||
*/
|
||||
int wlan_cfg80211_get_pdev_cp_stats(struct wlan_objmgr_pdev *pdev_obj,
|
||||
struct pdev_ic_cp_stats *pdev_cp_stats);
|
||||
|
||||
#endif /* QCA_SUPPORT_CP_STATS */
|
||||
#endif /* __WLAN_CFG80211_IC_CP_STATS_H__ */
|
||||
|
Reference in New Issue
Block a user