From b8d7dc010c8b762a056642565b83dd57a526db50 Mon Sep 17 00:00:00 2001 From: Liangwei Dong Date: Wed, 11 May 2022 16:47:22 +0800 Subject: [PATCH] qcacld-3.0: Tune normalize_acs_weight for 6 GHz non-PSC CH In new framework the 6 GHz preferred SAP ACS config file will contain 5 GHz channels, to avoid 6 GHz non-PSC being set to MAX weight value and 5 GHz channels selected easily, here set normalize_acs_weight to 90 for non-PSC channel of 6 GHz, 40 for 2 GHz and 5 GHz channels. Change-Id: I5e89339d0fd4e3c190dd2ead1ec87d12ff197691 CRs-Fixed: 3186587 --- components/mlme/dispatcher/inc/cfg_mlme_acs.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/mlme/dispatcher/inc/cfg_mlme_acs.h b/components/mlme/dispatcher/inc/cfg_mlme_acs.h index 1f96b0c1d15d..9232bd5cd9bb 100644 --- a/components/mlme/dispatcher/inc/cfg_mlme_acs.h +++ b/components/mlme/dispatcher/inc/cfg_mlme_acs.h @@ -1,5 +1,6 @@ /* * Copyright (c) 2012-2020 The Linux Foundation. All rights reserved. + * Copyright (c) 2022 Qualcomm Innovation Center, Inc. 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 @@ -176,7 +177,7 @@ "normalize_acs_weight", \ 0, \ ACS_WEIGHT_MAX_STR_LEN, \ - "5945-7125=0, 5975=100, 6055=100, 6135=100, 6215=100, 6295=100, 6375=100, 6615=100, 6695=100, 6775=100, 6855=100", \ + "2407-5875=40, 5945-7125=90, 5975=100, 6055=100, 6135=100, 6215=100, 6295=100, 6375=100, 6615=100, 6695=100, 6775=100, 6855=100", \ "Used to specify the channel weights") /*