qcacld-3.0: Add support for LL_LT_SAP_MODE in policy mgr

Currently PM_LL_LT_SAP_MODE is not handled in policy manager.
With this change add support for PM_LL_LT_SAP_MODE in the policy
manager.

Change-Id: Icfbb3a95dc65225fc7dad5df7dca9306a5029402
CRs-Fixed: 3536491
This commit is contained in:
Ashish Kumar Dhanotiya
2023-06-21 11:09:38 +05:30
committed by Rahul Choudhary
parent 84a9b935b3
commit fe6d7d0625
14 changed files with 142 additions and 161 deletions

View File

@@ -1256,8 +1256,7 @@ QDF_STATUS nan_discovery_pre_enable(struct wlan_objmgr_pdev *pdev,
goto pre_enable_failure;
}
if (policy_mgr_mode_specific_connection_count(psoc, PM_SAP_MODE,
NULL) &&
if ((policy_mgr_get_sap_mode_count(psoc, NULL)) &&
!policy_mgr_nan_sap_pre_enable_conc_check(psoc, PM_NAN_DISC_MODE,
nan_ch_freq)) {
nan_debug("NAN not enabled due to concurrency constraints");