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:
@@ -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
|
||||
|
@@ -1807,6 +1807,22 @@ QDF_STATUS ucfg_mlme_get_oce_sap_enabled_info(struct wlan_objmgr_psoc *psoc,
|
||||
return wlan_mlme_get_oce_sap_enabled_info(psoc, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* ucfg_mlme_update_oce_flags: Update the OCE flags
|
||||
*
|
||||
* @pdev: pointer to pdev object
|
||||
*
|
||||
* Inline UCFG API to be used by HDD/OSIF callers to update the
|
||||
* OCE feature flags
|
||||
*
|
||||
* Return: void
|
||||
*/
|
||||
static inline
|
||||
void ucfg_mlme_update_oce_flags(struct wlan_objmgr_pdev *pdev)
|
||||
{
|
||||
wlan_mlme_update_oce_flags(pdev);
|
||||
}
|
||||
|
||||
/**
|
||||
* ucfg_mlme_is_ap_prot_enabled() - Check if sap is enabled
|
||||
* @psoc: pointer to psoc object
|
||||
|
Reference in New Issue
Block a user