qcacmn: Add osif implementation of get_wake_lock stats

Add changes to support get wake lock stats from within cp_stats component.

Change-Id: I1bee578a773c6c2b4cac69c907422a4cb30084d3
CRs-Fixed: 2210309
This commit is contained in:
Naveen Rawat
2018-04-06 11:03:48 -07:00
committed by nshrivas
parent d24bebbf24
commit 0b83e8489c
2 changed files with 166 additions and 1 deletions

View File

@@ -37,6 +37,20 @@
#ifdef QCA_SUPPORT_CP_STATS
/* forward declaration */
struct wiphy;
struct wlan_objmgr_psoc;
/**
* wlan_cfg80211_mc_cp_stats_get_wakelock_stats() - API to request wake lock
* stats. Stats are returned to user space via vender event
* @psoc: Pointer to psoc
* @wiphy: wiphy pointer
*
* Return: 0 on success, negative value on failure
*/
int wlan_cfg80211_mc_cp_stats_get_wakelock_stats(struct wlan_objmgr_psoc *psoc,
struct wiphy *wiphy);
#endif /* QCA_SUPPORT_CP_STATS */
#endif /* __WLAN_CFG80211_MC_CP_STATS_H__ */