qcacld-3.0: Reduce wakelock resume wlan timeout to 1 sec
qcacld-2.0 to qcacld-3.0 propagation Supplicant can get the scan results within 1 sec, 2 sec is aggressive. Reduce time duration of WIFI_POWER_EVENT_WAKELOCK_RESUME_WLAN from 2 sec to 1 sec. Change-Id: I83a2c674f1e42fc78480b194ad08b903b8fecffa CRs-Fixed: 1060384 (cherry picked from commit 75e507e42cb2d9fc353980085d1302fda43b5fae)
This commit is contained in:

committed by
qcabuildsw

parent
8dfe91af5f
commit
2252853d10
@@ -77,6 +77,7 @@
|
||||
|
||||
/* Preprocessor definitions and constants */
|
||||
#define HDD_SSR_BRING_UP_TIME 30000
|
||||
#define HDD_WAKE_LOCK_RESUME_DURATION 1000
|
||||
|
||||
/* Type declarations */
|
||||
|
||||
@@ -1687,7 +1688,8 @@ static int __wlan_hdd_cfg80211_resume_wlan(struct wiphy *wiphy)
|
||||
* app's is in suspended state and not able to
|
||||
* process the connect request to AP
|
||||
*/
|
||||
hdd_prevent_suspend_timeout(2000,
|
||||
hdd_prevent_suspend_timeout(
|
||||
HDD_WAKE_LOCK_RESUME_DURATION,
|
||||
WIFI_POWER_EVENT_WAKELOCK_RESUME_WLAN);
|
||||
cfg80211_sched_scan_results(pHddCtx->wiphy);
|
||||
}
|
||||
|
Reference in New Issue
Block a user