From 7a3a40a77a9804b4d06e925375f3c7e4ac1add73 Mon Sep 17 00:00:00 2001 From: Vinod Kumar Myadam Date: Wed, 7 Dec 2022 15:57:42 +0530 Subject: [PATCH] qcacld-3.0: Change default value of gSoftApMaxPeers In the current driver implementation, the default ini value of gSoftApMaxPeers is set to 32, but for mobile devices, FW can only support 10 SAP peers at max. Hence, change the default value of gSoftApMaxPeers to 10. Change-Id: I8c5a2a8422f02bb464a11d823f8528ebb88bb34c CRs-Fixed: 3227078 --- components/mlme/dispatcher/inc/cfg_mlme_sap.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/components/mlme/dispatcher/inc/cfg_mlme_sap.h b/components/mlme/dispatcher/inc/cfg_mlme_sap.h index 894b6e9edf13..146ebb5b4cd0 100644 --- a/components/mlme/dispatcher/inc/cfg_mlme_sap.h +++ b/components/mlme/dispatcher/inc/cfg_mlme_sap.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 @@ -261,7 +262,7 @@ * gSoftApMaxPeers - Set Max peers connected for SAP * @Min: 1 * @Max: 64 - * @Default: 32 + * @Default: 10 * * This ini is used to set Max peers connected for SAP * @@ -277,7 +278,7 @@ "gSoftApMaxPeers", \ 1, \ 64, \ - 32, \ + 10, \ CFG_VALUE_OR_DEFAULT, \ "max no of peers")