qcacld-3.0: Change INI sae_connect_retries defalut 0x52

Change "sae_connect_retries" to 0x52 to increase SAE retries:
1 roam auth retry, 2 auth retry and 2 full connection retry.

Change-Id: I5b11dd07abfccfca9529ba9350e326dbf4c23a7a
CRs-Fixed: 2846440
This commit is contained in:
Liangwei Dong
2021-01-11 22:56:30 -08:00
committed by snandini
parent aab8afc43d
commit cab9317d71

View File

@@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2012-2020 The Linux Foundation. All rights reserved. * Copyright (c) 2012-2021 The Linux Foundation. All rights reserved.
* *
* Permission to use, copy, modify, and/or distribute this software for * Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the * any purpose with or without fee is hereby granted, provided that the
@@ -740,13 +740,14 @@ enum monitor_mode_concurrency {
* timeout to same AP and auth retries during roaming * timeout to same AP and auth retries during roaming
* @Min: 0x0 * @Min: 0x0
* @Max: 0x53 * @Max: 0x53
* @Default: 0x49 * @Default: 0x52
* *
* This ini is used to set max auth retry in auth phase of roaming and initial * This ini is used to set max auth retry in auth phase of roaming and initial
* connection and max connection retry in case of assoc timeout. MAX Auth * connection and max connection retry in case of assoc timeout. MAX Auth
* retries are capped to 3, connection retries are capped to 2 and roam Auth * retries are capped to 3, connection retries are capped to 2 and roam Auth
* retry is capped to 1. * retry is capped to 1.
* Default is 0x49 i.e. 1 retry each. * Default is 0x52 i.e. 1 roam auth retry, 2 auth retry and 2 full connection
* retry.
* *
* Bits Retry Type * Bits Retry Type
* BIT[0:2] AUTH retries * BIT[0:2] AUTH retries
@@ -774,7 +775,7 @@ enum monitor_mode_concurrency {
* </ini> * </ini>
*/ */
#define CFG_SAE_CONNECION_RETRIES CFG_INI_UINT("sae_connect_retries", \ #define CFG_SAE_CONNECION_RETRIES CFG_INI_UINT("sae_connect_retries", \
0, 0x53, 0x49, CFG_VALUE_OR_DEFAULT, \ 0, 0x53, 0x52, CFG_VALUE_OR_DEFAULT, \
"Bit mask to retry Auth and full connection on assoc timeout to same AP for SAE connection") "Bit mask to retry Auth and full connection on assoc timeout to same AP for SAE connection")
/* /*