qcacld-3.0: Avoid fw crash in some wow case on third party

Due to the limitation on third party platform, add ini to take
special care of the below wow case to avoid fw crash.
The sap/p2p_go shall kick out all the connected sta/p2p_gc and
then go to suspend if d0wow/d3wow is not supported.
Although there is wakelock try to prevent suspend after tdls link
setup, it won't take effect because auto sleep mechanism is not
supported on some third party platform, so teardown tdls link
by force before suspend.

Change-Id: I14bfe32f04cfc34d4f55a09820e42e65a1d9f925
CRs-Fixed: 2935295
This commit is contained in:
Li Feng
2021-06-18 18:47:17 +08:00
committed by Madan Koyyalamudi
parent 35db828ff1
commit 3d05280c82
8 changed files with 92 additions and 11 deletions

View File

@@ -984,3 +984,11 @@ uint32_t ucfg_pmo_get_moddtim_user(struct wlan_objmgr_vdev *vdev)
{
return pmo_core_vdev_get_moddtim_user(vdev);
}
bool
ucfg_pmo_get_disconnect_sap_tdls_in_wow(struct wlan_objmgr_psoc *psoc)
{
struct pmo_psoc_priv_obj *pmo_psoc_ctx = pmo_psoc_get_priv(psoc);
return pmo_psoc_ctx->psoc_cfg.disconnect_sap_tdls_in_wow;
}