qcacld-3.0: Support Low Latency SAP + STA/GC concurrency

Add a support to check if low latency SAP is present on 5 GHz
channel then do not allow STA/GC to connect on 5 GHz for
both gaming and lossless audio profile.

Change-Id: I8e1c62dfea3c27306e338392448f5cc6eed912aa
CRs-Fixed: 3302763
This commit is contained in:
Jyoti Kumari
2022-08-10 15:30:21 +05:30
committed by Madan Koyyalamudi
orang tua 50245e6aa7
melakukan 8a1899b457
3 mengubah file dengan 50 tambahan dan 0 penghapusan

Melihat File

@@ -4614,4 +4614,17 @@ QDF_STATUS policy_mgr_get_sbs_cfg(struct wlan_objmgr_psoc *psoc, bool *sbs);
*/
qdf_freq_t policy_mgr_get_ll_sap_freq(struct wlan_objmgr_psoc *psoc);
/**
* policy_mgr_is_ll_sap_concurrency_valid() - Function to check whether
* low latency SAP + STA/SAP/GC/GO concurrency allowed or not
* @psoc: PSOC object
* @freq: Channel frequency
* @mode: Device mode
*
* Return: True if concurrency are allowed otherwise false
*
*/
bool policy_mgr_is_ll_sap_concurrency_valid(struct wlan_objmgr_psoc *psoc,
qdf_freq_t freq,
enum policy_mgr_con_mode mode);
#endif /* __WLAN_POLICY_MGR_API_H */