qcacld-3.0: Address corner scenarios for dual sta roaming

Address below corner scenarios for dual sta roaming:

1. Initialize primary interface vdev id
with WLAN_UMAC_VDEV_ID_MAX.

2. Enable roaming while processing set primary interface
vendor command irrespective of dual sta roam policy.

3. Disable mcc_adaptive_scheduler before sending
WMI_RESMGR_ADAPTIVE_OCS_ENABLE_DISABLE_CMDID to FW and
enable it if host receives dual sta policy as unbiased.

Change-Id: I8e5254c6f9053bd5fe7f925af4b577e76c9b9a2e
CRs-Fixed: 2928870
This commit is contained in:
abhinav kumar
2021-04-21 22:39:34 +05:30
committed by Madan Koyyalamudi
parent 18dc7adec9
commit 9ca87d9490
6 changed files with 133 additions and 25 deletions

View File

@@ -1198,6 +1198,15 @@ QDF_STATUS
ucfg_mlme_get_roam_bmiss_final_bcnt(struct wlan_objmgr_psoc *psoc,
uint8_t *val);
/**
* ucfg_mlme_get_dual_sta_roaming_enabled() - Get dual sta roaming enable flag
* @psoc: pointer to psoc object
*
* Return: true if dual sta roaming allowed in fw
*/
bool
ucfg_mlme_get_dual_sta_roaming_enabled(struct wlan_objmgr_psoc *psoc);
/**
* ucfg_mlme_get_roam_bmiss_first_bcnt() - Get roam bmiss final count
* @psoc: pointer to psoc object