mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
qcacmn: Add target interface set run time pm in progress
As part of UMAC componentization add target interface set run time pm in progress during runtime suspend. Change-Id: Ia5a679f5e5c290f8e4e90fded86586c98073eff3 CRs-Fixed: 2030168
This commit is contained in:
parent
cdfde22d94
commit
eeacf8c236
3 changed files with 19 additions and 0 deletions
|
|
@ -337,6 +337,16 @@ QDF_STATUS target_if_pmo_psoc_send_wow_enable_req(struct wlan_objmgr_psoc *psoc,
|
|||
QDF_STATUS target_if_pmo_psoc_send_suspend_req(struct wlan_objmgr_psoc *psoc,
|
||||
struct pmo_suspend_params *param);
|
||||
|
||||
/**
|
||||
* target_if_pmo_set_runtime_pm_in_progress() - set runtime pm status
|
||||
* @psoc: objmgr psoc
|
||||
* @value: set runtime pm status
|
||||
*
|
||||
* Return: none
|
||||
*/
|
||||
void target_if_pmo_set_runtime_pm_in_progress(struct wlan_objmgr_psoc *psoc,
|
||||
bool value);
|
||||
|
||||
/**
|
||||
* target_if_pmo_get_runtime_pm_in_progress() - fp to get runtime pm status
|
||||
* @psoc: objmgr psoc
|
||||
|
|
|
|||
|
|
@ -86,6 +86,8 @@ void target_if_pmo_register_tx_ops(struct wlan_lmac_if_tx_ops *tx_ops)
|
|||
target_if_pmo_psoc_send_wow_enable_req;
|
||||
pmo_tx_ops->psoc_send_supend_req =
|
||||
target_if_pmo_psoc_send_suspend_req;
|
||||
pmo_tx_ops->psoc_set_runtime_pm_in_progress =
|
||||
target_if_pmo_set_runtime_pm_in_progress;
|
||||
pmo_tx_ops->psoc_get_runtime_pm_in_progress =
|
||||
target_if_pmo_get_runtime_pm_in_progress;
|
||||
pmo_tx_ops->psoc_send_host_wakeup_ind =
|
||||
|
|
|
|||
|
|
@ -160,6 +160,13 @@ QDF_STATUS target_if_pmo_psoc_send_suspend_req(
|
|||
TGT_WILDCARD_PDEV_ID);
|
||||
}
|
||||
|
||||
void target_if_pmo_set_runtime_pm_in_progress(struct wlan_objmgr_psoc *psoc,
|
||||
bool value)
|
||||
{
|
||||
return wmi_set_runtime_pm_inprogress(GET_WMI_HDL_FROM_PSOC(psoc),
|
||||
value);
|
||||
}
|
||||
|
||||
bool target_if_pmo_get_runtime_pm_in_progress(
|
||||
struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue