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
这个提交包含在:
Utkarsh Bhatnagar
2022-08-26 13:04:21 +05:30
提交者 Madan Koyyalamudi
父节点 49acb0c91d
当前提交 ce8795375d
修改 4 个文件,包含 43 行新增5 行删除

查看文件

@@ -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")
/*