From 2f5bf3e645d1da476913097d1d1df6c38b290486 Mon Sep 17 00:00:00 2001 From: Sravan Kumar Kairam Date: Fri, 21 Apr 2017 16:39:36 +0530 Subject: [PATCH] qcacmn: Add pmo set runtime pm in progress in lmac interface As part of UMAC componentization add pmo set runtime pm in progress operation in lmac interface. Change-Id: I54e778326133feb014dc5fec3213a0d19f3f7392 CRs-Fixed: 2030168 --- umac/global_umac_dispatcher/lmac_if/inc/wlan_lmac_if_def.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/umac/global_umac_dispatcher/lmac_if/inc/wlan_lmac_if_def.h b/umac/global_umac_dispatcher/lmac_if/inc/wlan_lmac_if_def.h index 2c6d913c5979..1e77b553a51a 100644 --- a/umac/global_umac_dispatcher/lmac_if/inc/wlan_lmac_if_def.h +++ b/umac/global_umac_dispatcher/lmac_if/inc/wlan_lmac_if_def.h @@ -151,6 +151,7 @@ struct pmo_suspend_params; * @update_target_suspend_flag: fp to update target suspend flag at wmi * @psoc_send_wow_enable_req: fp to send wow enable request * @psoc_send_supend_req: fp to send target suspend request + * @psoc_set_runtime_pm_in_progress: fp to set runtime pm is in progress status * @psoc_get_runtime_pm_in_progress: fp to get runtime pm is in progress status * @psoc_send_host_wakeup_ind: fp tp send host wake indication to fwr * @psoc_send_target_resume_req: fp to send target resume request @@ -227,7 +228,9 @@ struct wlan_lmac_if_pmo_tx_ops { struct pmo_wow_cmd_params *param); QDF_STATUS(*psoc_send_supend_req)(struct wlan_objmgr_psoc *psoc, struct pmo_suspend_params *param); - bool(*psoc_get_runtime_pm_in_progress)(struct wlan_objmgr_psoc *psoc); + void (*psoc_set_runtime_pm_in_progress)(struct wlan_objmgr_psoc *psoc, + bool value); + bool (*psoc_get_runtime_pm_in_progress)(struct wlan_objmgr_psoc *psoc); QDF_STATUS(*psoc_send_host_wakeup_ind)(struct wlan_objmgr_psoc *psoc); QDF_STATUS (*psoc_send_target_resume_req)( struct wlan_objmgr_psoc *psoc);