qcacld-3.0: disable EXT grp irqs and drain TXRX during suspend

Any update to the SRNG TP/HP when the device is in low power
state would result in system errors. While in D3 WoW mode,
disable EXT grp irqs and drain TXRX before sending enter
power save mode to the FW. This will ensure that no interrupts
are received while in WoW mode and as a result there wont be any
HP/TP updates.

Change-Id: Ic1fb7fdd45096b458abf5d243fa652c3da878dc0
CRs-Fixed: 2890568
This commit is contained in:
Manikanta Pubbisetty
2021-03-01 12:48:06 +05:30
parent 3f33e4f027
commit 46dc98965e
6 changed files with 179 additions and 5 deletions

View File

@@ -909,3 +909,13 @@ ucfg_pmo_get_go_mode_bus_suspend(struct wlan_objmgr_psoc *psoc)
return pmo_psoc_ctx->psoc_cfg.is_bus_suspend_enabled_in_go_mode;
}
QDF_STATUS ucfg_pmo_core_txrx_suspend(struct wlan_objmgr_psoc *psoc)
{
return pmo_core_txrx_suspend(psoc);
}
QDF_STATUS ucfg_pmo_core_txrx_resume(struct wlan_objmgr_psoc *psoc)
{
return pmo_core_txrx_resume(psoc);
}