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:
@@ -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
|
||||
|
Reference in New Issue
Block a user