From ecbcafcb96777a3d2d48e08ce3be44dfa372d83c Mon Sep 17 00:00:00 2001 From: "Padma, Santhosh Kumar" Date: Mon, 4 Dec 2017 20:23:30 +0530 Subject: [PATCH] qcacld-3.0: Reduce the max join attempts for connection Limit the max join attempts to two less than 1/3 of the total command timeout value. Change-Id: Ic52ec1cfa268a9e24e944f5d6e875e42d5a7b2be CRs-Fixed: 2137346 --- core/sme/src/csr/csr_inside_api.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/sme/src/csr/csr_inside_api.h b/core/sme/src/csr/csr_inside_api.h index ae2a51dbcde7..c7eab403c4b4 100644 --- a/core/sme/src/csr/csr_inside_api.h +++ b/core/sme/src/csr/csr_inside_api.h @@ -99,9 +99,9 @@ #endif /* *************************************************************************** * The MAX BSSID Count should be lower than the command timeout value and it - * can be of a fraction of 3/4 to 1/2 of the total command timeout value. + * can be of a fraction of 1/3 to 1/2 of the total command timeout value. * ***************************************************************************/ -#define CSR_MAX_BSSID_COUNT (SME_ACTIVE_LIST_CMD_TIMEOUT_VALUE/2000) +#define CSR_MAX_BSSID_COUNT (SME_ACTIVE_LIST_CMD_TIMEOUT_VALUE/3000) - 2 #define CSR_CUSTOM_CONC_GO_BI 100 extern uint8_t csr_wpa_oui[][CSR_WPA_OUI_SIZE]; bool csr_is_supported_channel(tpAniSirGlobal pMac, uint8_t channelId);