qcacld-3.0: Add support to config concurrent dual sta policy

Add support to configure the concurrent session policies
when multiple STA ifaces are getting active via the
CONCURRENT_DUAL_STA_POLICY vendor command.

Possible values associated with this vendor command are:
1. QCA_WLAN_CONCURRENT_STA_POLICY_PREFER_PRIMARY:
This indicates host to give preference to the Primary
STA interface while selecting the connection policies
(e.g., BSSID, Band, TX/RX chains, etc).

2. QCA_WLAN_CONCURRENT_STA_POLICY_UNBIASED:
This indicates connection policies for the subsequent STA
connection shall be chosen to balance with the existing
concurrent STA's performance.

Change-Id: I56994a182bb54adca57c3fc8fce9963b5db37b79
CRs-Fixed: 2915718
This commit is contained in:
abhinav kumar
2021-04-04 17:52:20 +05:30
committed by Madan Koyyalamudi
parent 838fc0c3bf
commit 31df4c4960
5 changed files with 165 additions and 5 deletions

View File

@@ -270,6 +270,16 @@ QDF_STATUS wlan_mlme_get_band_capability(struct wlan_objmgr_psoc *psoc,
QDF_STATUS wlan_mlme_set_band_capability(struct wlan_objmgr_psoc *psoc,
uint32_t band_capability);
/**
* wlan_mlme_set_dual_sta_policy() - Set the dual sta config
* @psoc: pointer to psoc object
* @dual_sta_config: Value to be set from the caller
*
* Return: QDF Status
*/
QDF_STATUS wlan_mlme_set_dual_sta_policy(struct wlan_objmgr_psoc *psoc,
uint8_t dual_sta_config);
/**
* wlan_mlme_get_prevent_link_down() - Get the prevent link down config
* @psoc: pointer to psoc object