|
@@ -87,7 +87,6 @@
|
|
#else
|
|
#else
|
|
#define HDD_SSR_BRING_UP_TIME 30000
|
|
#define HDD_SSR_BRING_UP_TIME 30000
|
|
#endif
|
|
#endif
|
|
-#define HDD_WAKE_LOCK_RESUME_DURATION 1000
|
|
|
|
|
|
|
|
/* Type declarations */
|
|
/* Type declarations */
|
|
|
|
|
|
@@ -1706,7 +1705,7 @@ static int __wlan_hdd_cfg80211_resume_wlan(struct wiphy *wiphy)
|
|
* process the connect request to AP
|
|
* process the connect request to AP
|
|
*/
|
|
*/
|
|
hdd_prevent_suspend_timeout(
|
|
hdd_prevent_suspend_timeout(
|
|
- HDD_WAKE_LOCK_RESUME_DURATION,
|
|
|
|
|
|
+ HDD_WAKELOCK_TIMEOUT_RESUME,
|
|
WIFI_POWER_EVENT_WAKELOCK_RESUME_WLAN);
|
|
WIFI_POWER_EVENT_WAKELOCK_RESUME_WLAN);
|
|
cfg80211_sched_scan_results(pHddCtx->wiphy);
|
|
cfg80211_sched_scan_results(pHddCtx->wiphy);
|
|
}
|
|
}
|
|
@@ -1994,7 +1993,8 @@ static void hdd_start_dhcp_ind(hdd_adapter_t *adapter)
|
|
|
|
|
|
hdd_debug("DHCP start indicated through power save");
|
|
hdd_debug("DHCP start indicated through power save");
|
|
qdf_runtime_pm_prevent_suspend(adapter->connect_rpm_ctx.connect);
|
|
qdf_runtime_pm_prevent_suspend(adapter->connect_rpm_ctx.connect);
|
|
- hdd_prevent_suspend_timeout(1000, WIFI_POWER_EVENT_WAKELOCK_DHCP);
|
|
|
|
|
|
+ hdd_prevent_suspend_timeout(HDD_WAKELOCK_TIMEOUT_CONNECT,
|
|
|
|
+ WIFI_POWER_EVENT_WAKELOCK_DHCP);
|
|
sme_dhcp_start_ind(hdd_ctx->hHal, adapter->device_mode,
|
|
sme_dhcp_start_ind(hdd_ctx->hHal, adapter->device_mode,
|
|
adapter->macAddressCurrent.bytes,
|
|
adapter->macAddressCurrent.bytes,
|
|
adapter->sessionId);
|
|
adapter->sessionId);
|