qcacld-3.0: Disable NDPs on SAP startup

NAN_NDP+SAP concurrency is not supported. Disable all NAN_NDP
sessions on SAP startup.

Change-Id: I73284ef4f820dd15df808b9c44da5f09c6b5db26
CRs-fixed: 2524112
This commit is contained in:
Manikandan Mohan
2019-09-11 12:34:49 -07:00
committed by nshrivas
parent a3d2312fff
commit a440567c76
4 changed files with 65 additions and 25 deletions

View File

@@ -314,11 +314,13 @@ int ucfg_nan_register_wma_callbacks(struct wlan_objmgr_psoc *psoc,
* ucfg_nan_check_and_disable_unsupported_ndi: ucfg API to check if NAN Datapath
* is active on multiple NDI's and disable the unsupported concurrencies.
* @psoc: pointer to psoc object
* @force: When set forces NDI disable
*
* Return: QDF_STATUS
*/
QDF_STATUS
ucfg_nan_check_and_disable_unsupported_ndi(struct wlan_objmgr_psoc *psoc);
ucfg_nan_check_and_disable_unsupported_ndi(struct wlan_objmgr_psoc *psoc,
bool force);
/**
* ucfg_ndi_remove_entry_from_policy_mgr() - API to remove NDI entry from
@@ -342,7 +344,8 @@ static inline void ucfg_nan_disable_concurrency(struct wlan_objmgr_psoc *psoc)
}
static inline QDF_STATUS
ucfg_nan_check_and_disable_unsupported_ndi(struct wlan_objmgr_psoc *psoc)
ucfg_nan_check_and_disable_unsupported_ndi(struct wlan_objmgr_psoc *psoc,
bool force)
{
return QDF_STATUS_SUCCESS;
}