qcacld-3.0: Disable TDLS offchannel if more than 1 peer connects

Disable TDLS offchannel if number of connected peers are more than
one.
Also, re-enable offchannel if all peers are disconnected expect one.
With this change, it is possible to increase the limit of max
connected peers which was previously set as one when TDLS
Offchannel is enabled.

Change-Id: Ic0826aa32c8ef805a2df6da6c7506895cdc08a09
CRs-Fixed: 3265868
This commit is contained in:
Utkarsh Bhatnagar
2022-08-26 13:04:21 +05:30
gecommit door Madan Koyyalamudi
bovenliggende 49acb0c91d
commit ce8795375d
4 gewijzigde bestanden met toevoegingen van 43 en 5 verwijderingen

Bestand weergeven

@@ -129,7 +129,7 @@
* gEnableTDLSOffChannel - Enables off-channel support for TDLS link.
* @Min: 0
* @Max: 1
* @Default: 0
* @Default: 1
*
* This ini is used to enable/disable off-channel support for TDLS link.
*
@@ -143,7 +143,7 @@
*/
#define CFG_TDLS_OFF_CHANNEL_ENABLED CFG_INI_BOOL( \
"gEnableTDLSOffChannel", \
0, \
1, \
"Enables off-channel support for TDLS")
/*