From 974ca65bc9b1ee3f0ebf623f8737f54d7c21014e Mon Sep 17 00:00:00 2001 From: Mukul Sharma Date: Sat, 3 Sep 2016 16:24:48 +0530 Subject: [PATCH] qcacld-3.0: Increase wait retry count in rmmod qcacld-2.0 to qcacld-3.0 propagation If SSR/ram dump collection is in progress, rmmod waits for it's completion for 75 times. But for high latency target SSR/ram dump collection is taking more then 75 sec. As part of this fix,For HL target set retry count to 200. Change-Id: I8cc052c748e6a6dfff45675f9c15ead00b002a11 CRs-Fixed: 974023 (cherry picked from commit f788043e64fe707c495b2c0baee6e6d116268068) --- core/hdd/inc/wlan_hdd_main.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/hdd/inc/wlan_hdd_main.h b/core/hdd/inc/wlan_hdd_main.h index 4852cf949bf1..4d21e3ca35c0 100644 --- a/core/hdd/inc/wlan_hdd_main.h +++ b/core/hdd/inc/wlan_hdd_main.h @@ -229,7 +229,11 @@ #define WLAN_HDD_QOS_MAP_CONFIGURE 4 #define HDD_SAP_WAKE_LOCK_DURATION 10000 /* in msecs */ +#if defined(CONFIG_HL_SUPPORT) +#define HDD_MOD_EXIT_SSR_MAX_RETRIES 200 +#else #define HDD_MOD_EXIT_SSR_MAX_RETRIES 75 +#endif #ifdef WLAN_FEATURE_GTK_OFFLOAD #define GTK_OFFLOAD_ENABLE 0