qcacld-3.0: Reduce PNO wakelock timeout in perf builds
The Preferred Network Offload (PNO) wakelock protects Supplicant while it configures the new scan results. The wakelock timeout should be optimized as much as possible on production builds, as it is never released by the driver. For additional power savings, reduce the timeout of this wakelock in production builds compared to debug builds. Change-Id: Iaccf56e00e933d3a216212ef219f31d28d022ea5 CRs-Fixed: 2016286
This commit is contained in:

committad av
qcabuildsw

förälder
bbc9f318f1
incheckning
6bff24e2b9
@@ -305,8 +305,13 @@ enum ds_mode {
|
||||
|
||||
#ifdef FEATURE_WLAN_SCAN_PNO
|
||||
#define WMA_PNO_MATCH_WAKE_LOCK_TIMEOUT (5 * 1000) /* in msec */
|
||||
#ifdef CONFIG_SLUB_DEBUG_ON
|
||||
#define WMA_PNO_SCAN_COMPLETE_WAKE_LOCK_TIMEOUT (2 * 1000) /* in msec */
|
||||
#endif
|
||||
#else
|
||||
#define WMA_PNO_SCAN_COMPLETE_WAKE_LOCK_TIMEOUT (1 * 1000) /* in msec */
|
||||
#endif /* CONFIG_SLUB_DEBUG_ON */
|
||||
#endif /* FEATURE_WLAN_SCAN_PNO */
|
||||
|
||||
#define WMA_AUTH_REQ_RECV_WAKE_LOCK_TIMEOUT (5 * 1000) /* in msec */
|
||||
#define WMA_ASSOC_REQ_RECV_WAKE_LOCK_DURATION (5 * 1000) /* in msec */
|
||||
#define WMA_DEAUTH_RECV_WAKE_LOCK_DURATION (5 * 1000) /* in msec */
|
||||
|
Referens i nytt ärende
Block a user