From cab9317d71cc8a858c04afa697c6deabcf5f67e6 Mon Sep 17 00:00:00 2001 From: Liangwei Dong Date: Mon, 11 Jan 2021 22:56:30 -0800 Subject: [PATCH] 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 --- components/mlme/dispatcher/inc/cfg_mlme_generic.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/components/mlme/dispatcher/inc/cfg_mlme_generic.h b/components/mlme/dispatcher/inc/cfg_mlme_generic.h index cb8078eefb..be1779d090 100644 --- a/components/mlme/dispatcher/inc/cfg_mlme_generic.h +++ b/components/mlme/dispatcher/inc/cfg_mlme_generic.h @@ -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 * 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 * @Min: 0x0 * @Max: 0x53 - * @Default: 0x49 + * @Default: 0x52 * * 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 * retries are capped to 3, connection retries are capped to 2 and roam Auth * 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 * BIT[0:2] AUTH retries @@ -774,7 +775,7 @@ enum monitor_mode_concurrency { * */ #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") /*