From 74a2f413df972aa5b9bacf94d68b07578060ba85 Mon Sep 17 00:00:00 2001 From: Venkata Sharath Chandra Manchala Date: Thu, 14 Nov 2019 16:57:52 -0800 Subject: [PATCH] qcacmn: Increase the force wake timeout Increase the force wake timeout to 100ms for debug builds as mhi requires 100ms to wake up. Change-Id: Ida0b1287a86a5a97fd2d9c80fee4e677eea86cbe CRs-Fixed: 2552815 --- hal/wifi3.0/hal_api.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hal/wifi3.0/hal_api.h b/hal/wifi3.0/hal_api.h index b1b7f744db6c..1a0340665a1f 100644 --- a/hal/wifi3.0/hal_api.h +++ b/hal/wifi3.0/hal_api.h @@ -42,7 +42,13 @@ * OFFSET = 4K - 32 bytes = 0x4063 */ #define MAPPED_REF_OFF 0x4063 + +#ifdef HAL_CONFIG_SLUB_DEBUG_ON +#define FORCE_WAKE_DELAY_TIMEOUT 100 +#else #define FORCE_WAKE_DELAY_TIMEOUT 50 +#endif /* HAL_CONFIG_SLUB_DEBUG_ON */ + #define FORCE_WAKE_DELAY_MS 5 /**