qcacld-3.0: Rename nan_disable_support to nan_conc_controlled_by_host

nan_disable_support is the firmware capability to allow host to
disable NAN. So that host can disable NAN in any unsupported
concurrencies. This was actually introduced to handle
NAN concurrencies. Rename the capability flag and corresponding
APIs across host driver to resemble the functionality.

Change-Id: I24805194fdb855040bcc518acc96459ee7cb5128
CRs-Fixed: 2729984
This commit is contained in:
Srinivas Dasari
2020-05-20 00:21:51 +05:30
committed by nshrivas
parent 64664352f2
commit d296457502
6 changed files with 15 additions and 13 deletions

View File

@@ -565,7 +565,7 @@ void ucfg_nan_set_tgt_caps(struct wlan_objmgr_psoc *psoc,
psoc_priv->nan_caps = *nan_caps;
}
bool ucfg_is_nan_disable_supported(struct wlan_objmgr_psoc *psoc)
bool ucfg_is_nan_conc_control_supported(struct wlan_objmgr_psoc *psoc)
{
struct nan_psoc_priv_obj *psoc_priv;
@@ -575,7 +575,7 @@ bool ucfg_is_nan_disable_supported(struct wlan_objmgr_psoc *psoc)
return false;
}
return (psoc_priv->nan_caps.nan_disable_supported == 1);
return (psoc_priv->nan_caps.nan_conc_control == 1);
}
bool ucfg_is_nan_dbs_supported(struct wlan_objmgr_psoc *psoc)
@@ -799,7 +799,7 @@ void ucfg_nan_disable_concurrency(struct wlan_objmgr_psoc *psoc)
return;
}
if (!ucfg_is_nan_disable_supported(psoc))
if (!ucfg_is_nan_conc_control_supported(psoc))
return;
qdf_spin_lock_bh(&psoc_priv->lock);