qcacld-3.0: Get the firmware capability NAN_VDEV_SUPPORT
Firmware advertises service capability bit NAN_VDEV_SUPPORT for separate NAN vdev creation. This capability can be used to create separate interface for NAN discovery and process corresponding commands from userspace. Change-Id: I45573c94ee2d966afc1e207c9eefc146ff43320f CRs-Fixed: 2592019
This commit is contained in:

committed by
nshrivas

parent
95c0e0d020
commit
4c50119c27
@@ -1032,3 +1032,16 @@ bool ucfg_nan_is_sta_ndp_concurrency_allowed(struct wlan_objmgr_psoc *psoc,
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
bool ucfg_nan_is_vdev_creation_allowed(struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
struct nan_psoc_priv_obj *psoc_nan_obj;
|
||||
|
||||
psoc_nan_obj = nan_get_psoc_priv_obj(psoc);
|
||||
if (!psoc_nan_obj) {
|
||||
nan_err("psoc_nan_obj is null");
|
||||
return false;
|
||||
}
|
||||
|
||||
return psoc_nan_obj->nan_caps.nan_vdev_allowed;
|
||||
}
|
||||
|
Reference in New Issue
Block a user