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:

committed by
Madan Koyyalamudi

parent
5691619e21
commit
7c1083a4ba
@@ -2651,6 +2651,15 @@ QDF_STATUS wlan_mlme_set_primary_interface(struct wlan_objmgr_psoc *psoc,
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
bool wlan_mlme_is_primary_interface_configured(struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
uint8_t dual_sta_config = 0xFF;
|
||||
|
||||
wlan_mlme_get_dual_sta_policy(psoc, &dual_sta_config);
|
||||
return (dual_sta_config ==
|
||||
QCA_WLAN_CONCURRENT_STA_POLICY_PREFER_PRIMARY);
|
||||
}
|
||||
|
||||
int wlan_mlme_get_mcc_duty_cycle_percentage(struct wlan_objmgr_pdev *pdev)
|
||||
{
|
||||
struct wlan_objmgr_psoc *psoc = NULL;
|
||||
|
Reference in New Issue
Block a user