summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPadma, Santhosh Kumar <skpadma@codeaurora.org>2017-12-04 20:23:30 +0530
committersnandini <snandini@codeaurora.org>2017-12-06 05:44:02 -0800
commitea0409f3ebef41de288d6d33aba762e5561fc5b6 (patch)
treea8f466663bdf72743987e8c7187c16d5c200f5b6
parent44115edac2908a7e9ef1262eafb1275695f906af (diff)
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
-rw-r--r--core/sme/src/csr/csr_inside_api.h4
1 files 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 0b2b545d1b7f..802c90d58779 100644
--- a/core/sme/src/csr/csr_inside_api.h
+++ b/core/sme/src/csr/csr_inside_api.h
@@ -95,9 +95,9 @@
/* ***************************************************************************
* 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);