qcacld-3.0: Enable roaming on both STAs in primary iface usecase

set_primary_vdev usecase in STA+STA concurrency is to use that
interface(e.g. wlan0) over the other interface(i.e. wlan1) for
data transfer.
Non-primary vdev use case is to check the quality of that link
and decide if data can be switched to it and make it primary.
It may get disabled if it's not going to become primary STA after
measuring the link quality for sometime or with few APs.

Enable roaming on non-primary vdev also to find better AP.

Change-Id: I3205f1ee1b7da4aa813955308730949ccc70941f
CRs-Fixed: 3219633
This commit is contained in:
Srinivas Dasari
2022-06-13 22:30:02 +05:30
committed by Madan Koyyalamudi
parent 5691619e21
commit 7c1083a4ba
3 changed files with 42 additions and 10 deletions

View File

@@ -1106,6 +1106,18 @@ QDF_STATUS wlan_mlme_set_primary_interface(struct wlan_objmgr_psoc *psoc,
*/
QDF_STATUS wlan_mlme_set_default_primary_iface(struct wlan_objmgr_psoc *psoc);
/**
* wlan_mlme_is_primary_interface_configured() - Check if primary iface is set
* @psoc: pointer to psoc object
*
* Check if primary iface is configured from userspace through vendor command.
* Return true if it's configured. If it's not configured, default value would
* be 0xFF and return false then.
*
* Return: True or False
*/
bool wlan_mlme_is_primary_interface_configured(struct wlan_objmgr_psoc *psoc);
/**
* wlan_mlme_get_mcc_duty_cycle_percentage() - Get primary STA iface duty
* cycle percentage