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
这个提交包含在:
Yeshwanth Sriram Guntuka
2021-03-09 23:43:00 +05:30
提交者 snandini
父节点 95580961d5
当前提交 43a40f83b0
修改 7 个文件,包含 72 行新增0 行删除

查看文件

@@ -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_ */

查看文件

@@ -919,3 +919,10 @@ QDF_STATUS ucfg_pmo_core_txrx_resume(struct wlan_objmgr_psoc *psoc)
{
return pmo_core_txrx_resume(psoc);
}
#ifdef SYSTEM_PM_CHECK
void ucfg_pmo_notify_system_resume(struct wlan_objmgr_psoc *psoc)
{
pmo_core_system_resume(psoc);
}
#endif