Revert "qcacld-3.0: Make default value of ndi_max_support as 2"

Enabling ndi_max_support=2 is consuming 4 vdevs + 11 peers
in firmware when STA and NAN(+2 NDIs) are active. Max peers
allowed in firmware are 11 only and this ini configuration is
consuming all of them.
There is no provision/memory for new peer allocation even for
simple use cases like roaming(roaming needs a temporary peer).

Revert this change and set the ini ndi_max_support=2 in target
specific ini files if required to avoid the peer exhaust issue.

This reverts change: Id45147541dba057c2f3420adee43c7a56e3ee72b.

Change-Id: If655b63071b07e96b4e343b8e1bb65acd33be625
CRs-Fixed: 3120555
This commit is contained in:
Srinivas Dasari
2022-02-09 09:54:06 +05:30
committed by Madan Koyyalamudi
parent 92a76f1dcf
commit d2a4401675

View File

@@ -1,6 +1,6 @@
/*
* Copyright (c) 2018-2020 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
@@ -225,7 +225,7 @@
*
* @Min: 1
* @Max: 2
* @Default: 2
* @Default: 1
*
* Related: None
*
@@ -239,7 +239,7 @@
"ndi_max_support", \
1, \
2, \
2, \
1, \
CFG_VALUE_OR_DEFAULT, \
"Max number of NDI host supports")