qcacld-3.0: Add support to consider XR profile for low latency sap

For low latency SAP, scan is not allowed on same MAC on which
SAP is up. So, consider HOST_CONCURRENT_AP_POLICY_XR when scan
list is required to be updated for low latency ap profile.

Change-Id: I6e25cd67298c16dee211edf6526be101054bd787
CRs-Fixed: 3404641
This commit is contained in:
Sheenam Monga
2023-01-31 16:44:18 +05:30
committed by Madan Koyyalamudi
orang tua 87365a626b
melakukan f24422305a

Melihat File

@@ -9719,7 +9719,9 @@ qdf_freq_t policy_mgr_get_ll_sap_freq(struct wlan_objmgr_psoc *psoc)
wlan_objmgr_vdev_release_ref(sap_vdev, WLAN_POLICY_MGR_ID);
if (profile == HOST_CONCURRENT_AP_POLICY_GAMING_AUDIO ||
profile == HOST_CONCURRENT_AP_POLICY_LOSSLESS_AUDIO_STREAMING) {
profile ==
HOST_CONCURRENT_AP_POLICY_LOSSLESS_AUDIO_STREAMING ||
profile == HOST_CONCURRENT_AP_POLICY_XR) {
is_ll_sap_present = true;
break;
}
@@ -9747,7 +9749,7 @@ bool policy_mgr_is_ll_sap_concurrency_valid(struct wlan_objmgr_psoc *psoc,
/*
* Scenario: When low latency SAP with 5GHz channel(whose
* profile is set as gaming or lossless audio) is present
* profile is set as gaming or lossless audio or XR) is present
* on SBS/DBS hardware and the other interface like
* STA/SAP/GC/GO trying to form connection.
* Allow connection on those freq which are mutually exclusive