qcacld-3.0: Disable OCE in FW if SAP/ GO has any clients

Disable OCE in STA vdev if any sta gets associated to SAP/GO.
This will improve the scan results in STA interface.
Without this fix firmware will do probe request deferral for 15ms
out of 28 ms , so 15ms is gone and rest is not sufficient dwell
time to get all AP probe responses.

Change-Id: Ie6f79c86025c53360c792c740a963ed8a1d9b936
CRs-Fixed: 2443190
This commit is contained in:
Bala Venkatesh
2019-04-04 17:41:58 +05:30
committed by nshrivas
parent 3a7c3400aa
commit accb9ddbfc
7 changed files with 170 additions and 2 deletions

View File

@@ -782,6 +782,14 @@ QDF_STATUS wlan_mlme_get_oce_sta_enabled_info(struct wlan_objmgr_psoc *psoc,
QDF_STATUS wlan_mlme_get_oce_sap_enabled_info(struct wlan_objmgr_psoc *psoc,
bool *value);
/**
* wlan_mlme_update_oce_flags() - Update the oce flags to FW
* @pdev: pointer to pdev object
*
* Return: void
*/
void wlan_mlme_update_oce_flags(struct wlan_objmgr_pdev *pdev);
#ifdef WLAN_FEATURE_11AX
/**
* wlan_mlme_cfg_get_he_ul_mumimo() - Get the HE Ul Mumio