qcacld-3.0: Set system suspend/resume state in hif ctx

Set system state in hif ctx to suspend or resume on
system suspend and resume respectively.

Change-Id: If1904a4fe5c861deed1b35071be10cb8cc8d6407
CRs-Fixed: 2899520
This commit is contained in:
Yeshwanth Sriram Guntuka
2021-03-09 23:43:00 +05:30
committed by snandini
parent 95580961d5
commit 43a40f83b0
7 changed files with 72 additions and 0 deletions

View File

@@ -2073,4 +2073,19 @@ ucfg_pmo_get_sap_mode_bus_suspend(struct wlan_objmgr_psoc *psoc);
bool
ucfg_pmo_get_go_mode_bus_suspend(struct wlan_objmgr_psoc *psoc);
#ifdef SYSTEM_PM_CHECK
/**
* ucfg_pmo_notify_system_resume() - system resume notification to pmo
* @psoc: pointer to psoc object
*
* Return: None
*/
void
ucfg_pmo_notify_system_resume(struct wlan_objmgr_psoc *psoc);
#else
static inline
void ucfg_pmo_notify_system_resume(struct wlan_objmgr_psoc *psoc)
{
}
#endif
#endif /* end of _WLAN_PMO_UCFG_API_H_ */