From cc9761c61315b3bd835edd890481d12bf585a218 Mon Sep 17 00:00:00 2001 From: Ashish Kumar Dhanotiya Date: Thu, 12 Mar 2020 14:49:24 +0530 Subject: [PATCH] qcacld-3.0: Update max values of INIs related to SAR Currently MAX values of INIs gSarSafetyReqRespTimeout and gSarSafetyReqRespRetry leads the callback api to execute for more than 10 seconds which is not as per driver's scheduler design. To avoid above issue update above INI values to limit the execution of the callback api to execute for less then 10 seconds. Change-Id: Icdeaf360754b2e86119251cd66c4e8f107f08d98 CRs-Fixed: 2637653 --- core/hdd/inc/hdd_sar_safety_config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/hdd/inc/hdd_sar_safety_config.h b/core/hdd/inc/hdd_sar_safety_config.h index 316037b2c0d1..2ee3511846ae 100644 --- a/core/hdd/inc/hdd_sar_safety_config.h +++ b/core/hdd/inc/hdd_sar_safety_config.h @@ -111,7 +111,7 @@ #define CFG_SAR_SAFETY_REQ_RESP_TIMEOUT CFG_INI_UINT( \ "gSarSafetyReqRespTimeout", \ 500, \ - 3000, \ + 1000, \ 1000, \ CFG_VALUE_OR_DEFAULT, \ "Timeout value for SAR safety request response timer") @@ -141,7 +141,7 @@ #define CFG_SAR_SAFETY_REQ_RESP_RETRIES CFG_INI_UINT( \ "gSarSafetyReqRespRetry", \ 1, \ - 10, \ + 5, \ 5, \ CFG_VALUE_OR_DEFAULT, \ "Max Number of SAR Request Response Retries")