qcacld-3.0: Add handling for four port connection

Add support to handle 2 sap and 1 ml sta link.
Currently, get pcl fails for fourth connection when
2 sap link and 1 ml sta link is present due to which
fourth connection is not allowed as pcl len is becoming 0.

Fix is to add handling for fourth connection when existing
concurrency is P2P/SAP + P2P+SAP + 1 ML STA link.

Change-Id: Ief969018da14096f758fea4bd06d17e7e8d039b7
CRs-Fixed: 3219328
This commit is contained in:
Sheenam Monga
2022-06-13 15:42:01 +05:30
committed by Madan Koyyalamudi
parent c560d12988
commit 8076b56e37
5 changed files with 238 additions and 39 deletions

View File

@@ -814,7 +814,7 @@ QDF_STATUS if_mgr_validate_candidate(struct wlan_objmgr_vdev *vdev,
* disabled in peer assoc.
*/
if (!wlan_vdev_mlme_is_mlo_link_vdev(vdev) &&
!policy_mgr_allow_concurrency(psoc, mode, chan_freq,
!policy_mgr_is_concurrency_allowed(psoc, mode, chan_freq,
HW_MODE_20_MHZ, conc_ext_flags)) {
ifmgr_info("Concurrency not allowed for this channel freq %d bssid "QDF_MAC_ADDR_FMT", selecting next",
chan_freq,