|
@@ -360,6 +360,14 @@ bool ucfg_nan_is_enable_disable_in_progress(struct wlan_objmgr_psoc *psoc);
|
|
|
*/
|
|
|
bool ucfg_nan_is_sta_ndp_concurrency_allowed(struct wlan_objmgr_psoc *psoc,
|
|
|
struct wlan_objmgr_vdev *vdev);
|
|
|
+
|
|
|
+/**
|
|
|
+ * ucfg_nan_is_vdev_creation_allowed()- Get support for NAN vdev creation
|
|
|
+ * @psoc: pointer to psoc object
|
|
|
+ *
|
|
|
+ * Return: True if NAN vdev creation is allowed else false
|
|
|
+ */
|
|
|
+bool ucfg_nan_is_vdev_creation_allowed(struct wlan_objmgr_psoc *psoc);
|
|
|
#else /* WLAN_FEATURE_NAN */
|
|
|
|
|
|
static inline
|
|
@@ -411,5 +419,11 @@ bool ucfg_nan_is_sta_ndp_concurrency_allowed(struct wlan_objmgr_psoc *psoc,
|
|
|
{
|
|
|
return false;
|
|
|
}
|
|
|
+
|
|
|
+static inline
|
|
|
+bool ucfg_nan_is_vdev_creation_allowed(struct wlan_objmgr_psoc *psoc)
|
|
|
+{
|
|
|
+ return false;
|
|
|
+}
|
|
|
#endif /* WLAN_FEATURE_NAN */
|
|
|
#endif /* _NAN_UCFG_API_H_ */
|