summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKiran Kumar Lokere <klokere@codeaurora.org>2017-09-07 18:14:51 -0700
committersnandini <snandini@codeaurora.org>2017-09-13 12:32:12 -0700
commit2e2a36b47ed162cd34e29913ec91ae21113d4293 (patch)
treec4b67d99d1095b44c127db3ca86599d3ca1ca95b
parent8c8269afe63d30e4f47b4968c688fce3f6a9d956 (diff)
qcacld-3.0: Reduce the max join attempts for connection
Limit the max join attempts to half of the command timeout value Change-Id: I0448011ed17c6e90f0ac39c9de57bb32a14ecc31 CRs-Fixed: 2105407
-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 c9abfc3da367..bf104b5c6da2 100644
--- a/core/sme/src/csr/csr_inside_api.h
+++ b/core/sme/src/csr/csr_inside_api.h
@@ -98,9 +98,9 @@
/* ***************************************************************************
* The MAX BSSID Count should be lower than the command timeout value and it
- * can be of a fraction of 3/4 of the total command timeout value.
+ * can be of a fraction of 3/4 to 1/2 of the total command timeout value.
* ***************************************************************************/
-#define CSR_MAX_BSSID_COUNT ((SME_ACTIVE_LIST_CMD_TIMEOUT_VALUE/4000) * 3)
+#define CSR_MAX_BSSID_COUNT (SME_ACTIVE_LIST_CMD_TIMEOUT_VALUE/2000)
#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);