qcacld-3.0: Add initial checks for TDLS concurrencies

Check if TDLS is allowed for the current existing concurrency
combination. In below combinations, TDLS is not allowed:
1. MCC on STA vdev
2. STA + STA
3. Total connection count > 3
4. No STA vdev exists

If existing TDLS connection exists when 4th port is coming up,
then teardown the TDLS connection and disable off channel.

Change-Id: Iabe174bedecfa6147bd9de3cb2a3716b63145456
CRs-Fixed: 3435864
This commit is contained in:
Pragaspathi Thilagaraj
2023-02-08 03:53:48 +05:30
committed by Madan Koyyalamudi
父節點 c92b309cfa
當前提交 37a1c90ea3
共有 4 個文件被更改,包括 128 次插入86 次删除

查看文件

@@ -54,7 +54,7 @@
#define WLAN_TDLS_PREFERRED_OFF_CHANNEL_NUM_MAX 165
#define WLAN_TDLS_PREFERRED_OFF_CHANNEL_NUM_DEF 36
#define WLAN_TDLS_PREFERRED_OFF_CHANNEL_FRQ_DEF 5180
#define WLAN_TDLS_MAX_CONCURRENT_VDEV_SUPPORTED 3
#define AC_PRIORITY_NUM 4