qcacld-3.0: Support STA/GC/SAP/GO/ML-STA plus ll SAP concurrency

If there is existing interface STA/GC/SAP/GO/ML STA and
low latency SAP tries to come then allow only if below
condition satisfies
1. DBS hw_mode: Allow if existing interface is on 2.4 GHz
channel otherwise reject.
2. SBS hw_mode: Allow if existing interface channel and low
latency SAP channel are mutually exclusive.

Change-Id: I67a883b89f63fa581379cb303da6c11b43e65912
CRs-Fixed: 3296640
This commit is contained in:
Jyoti Kumari
2022-09-05 15:09:59 +05:30
committato da Madan Koyyalamudi
parent c6ff700c6f
commit 47e5799911
4 ha cambiato i file con 152 aggiunte e 1 eliminazioni

Vedi File

@@ -1502,6 +1502,40 @@ policy_mgr_change_hw_mode_sta_connect(struct wlan_objmgr_psoc *psoc,
bool policy_mgr_is_dbs_allowed_for_concurrency(
struct wlan_objmgr_psoc *psoc, enum QDF_OPMODE new_conn_mode);
/**
* policy_mgr_get_pcl_chlist_for_ll_sap() - Get pcl channel list for LL SAP
* @psoc: PSOC object information
* @mode: Device mode
* @vdev_id: Vdev id
* @pcl_channels: Preferred channel freq list
* @pcl_weight: Weights of the PCL
* @len: length of the PCL
*
* This function provides the preferred channel list on which the ll sap
* can come.
*
* Return: QDF_STATUS
*/
QDF_STATUS
policy_mgr_get_pcl_chlist_for_ll_sap(struct wlan_objmgr_psoc *psoc,
enum policy_mgr_con_mode mode,
uint32_t vdev_id, uint32_t *pcl_channels,
uint8_t *pcl_weight, uint32_t *len);
/**
* policy_mgr_is_ll_sap_present_in_current_mode() - Check whether LL SAP is
* present in current mode or not.
* @psoc: psoc object
* @mode: device mode
* @vdev_id: vdev id
*
* Return: true if it's present otherwise false
*/
bool
policy_mgr_is_ll_sap_present_in_current_mode(struct wlan_objmgr_psoc *psoc,
enum policy_mgr_con_mode mode,
uint32_t vdev_id);
/**
* policy_mgr_get_preferred_dbs_action_table() - get dbs action table type
* @psoc: Pointer to psoc