qcacmn: Move wakelock to psoc level

Wakelock is system level lock not required to be taken
for every vdev, Hence move the wakelock to the psoc
hierarchy.

Change-Id: I525baf5f4b5dcadb493d84900dbd0a2e7c6407f6
CRs-Fixed: 2563406
This commit is contained in:
Arun Kumar Khandavalli
2019-11-22 17:16:18 +05:30
parent 614d1e4476
commit eaac8c195b
10 changed files with 239 additions and 263 deletions

View File

@@ -29,11 +29,15 @@
* @psoc: PSoC object
* @ext_psoc_ptr: PSoC legacy pointer
* @psoc_vdev_rt: PSoC Vdev response timer
* @psoc_mlme_wakelock: Wakelock to prevent system going to suspend
*/
struct psoc_mlme_obj {
struct wlan_objmgr_psoc *psoc;
mlme_psoc_ext_t *ext_psoc_ptr;
struct vdev_response_timer psoc_vdev_rt[WLAN_UMAC_PSOC_MAX_VDEVS];
#ifdef FEATURE_VDEV_RSP_WAKELOCK
struct psoc_mlme_wakelock psoc_mlme_wakelock;
#endif
};
#endif