Browse Source

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
Aditya Kodukula 2 years ago
parent
commit
cdd4422a90
1 changed files with 3 additions and 3 deletions
  1. 3 3
      components/mlme/dispatcher/inc/cfg_mlme_sap.h

+ 3 - 3
components/mlme/dispatcher/inc/cfg_mlme_sap.h

@@ -1,6 +1,6 @@
 /*
  * Copyright (c) 2012-2021 The Linux Foundation. All rights reserved.
- * Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved.
+ * Copyright (c) 2021-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
@@ -252,7 +252,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
  *
@@ -268,7 +268,7 @@
 			"gSoftApMaxPeers", \
 			1, \
 			64, \
-			32, \
+			10, \
 			CFG_VALUE_OR_DEFAULT, \
 			"max no of peers")