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
This commit is contained in:
Padma, Santhosh Kumar
2017-12-04 20:23:30 +05:30
committed by snandini
parent 66a74d85a5
commit ecbcafcb96

View File

@@ -99,9 +99,9 @@
#endif #endif
/* *************************************************************************** /* ***************************************************************************
* The MAX BSSID Count should be lower than the command timeout value and it * 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 #define CSR_CUSTOM_CONC_GO_BI 100
extern uint8_t csr_wpa_oui[][CSR_WPA_OUI_SIZE]; extern uint8_t csr_wpa_oui[][CSR_WPA_OUI_SIZE];
bool csr_is_supported_channel(tpAniSirGlobal pMac, uint8_t channelId); bool csr_is_supported_channel(tpAniSirGlobal pMac, uint8_t channelId);