qcacld-3.0: Set moddtim dynamically in the li offload mode

Extend hdd_config_modulated_dtim() to configure moddtim
dynamically in the both non li offload and li offload mode.

Change-Id: I8669ec618d4aa9cd87c4c234972ca500c98119b6
CRs-Fixed: 2970090
This commit is contained in:
Li Feng
2021-06-18 17:01:32 +08:00
committed by Madan Koyyalamudi
parent e7df98e50e
commit 4548644d92
8 changed files with 324 additions and 11 deletions

View File

@@ -963,3 +963,24 @@ void ucfg_pmo_notify_system_resume(struct wlan_objmgr_psoc *psoc)
pmo_core_system_resume(psoc);
}
#endif
bool ucfg_pmo_get_moddtim_user_enable(struct wlan_objmgr_vdev *vdev)
{
return pmo_core_vdev_get_moddtim_user_enabled(vdev);
}
void ucfg_pmo_set_moddtim_user_enable(struct wlan_objmgr_vdev *vdev,
bool value)
{
pmo_core_vdev_set_moddtim_user_enabled(vdev, value);
}
bool ucfg_pmo_get_moddtim_user_active(struct wlan_objmgr_vdev *vdev)
{
return pmo_core_vdev_get_moddtim_user_active(vdev);
}
uint32_t ucfg_pmo_get_moddtim_user(struct wlan_objmgr_vdev *vdev)
{
return pmo_core_vdev_get_moddtim_user(vdev);
}