qcacld-3.0: Enable NAN datapath based on target capability
qcacld-2.0 to qcacld3.0 propagation
Configure NAN datapath capability of the driver based on
the target device capability.
CRs-Fixed: 962367
Change-Id: I99eac7ae3ae495347208e3849e2383e999dcc125
diff --git a/core/hdd/src/wlan_hdd_nan_datapath.h b/core/hdd/src/wlan_hdd_nan_datapath.h
index 82427da..112cc0a 100644
--- a/core/hdd/src/wlan_hdd_nan_datapath.h
+++ b/core/hdd/src/wlan_hdd_nan_datapath.h
@@ -28,14 +28,28 @@
#define __WLAN_HDD_NAN_DATAPATH_H
struct hdd_context_s;
+struct wma_tgt_cfg;
+struct hdd_config;
#ifdef WLAN_FEATURE_NAN_DATAPATH
void hdd_ndp_print_ini_config(struct hdd_context_s *hdd_ctx);
+void hdd_nan_datapath_enable(struct hdd_config *cfg_ini, bool enable);
+void hdd_nan_datapath_target_config(struct hdd_context_s *hdd_ctx,
+ struct wma_tgt_cfg *cfg);
+
#else
static inline void hdd_ndp_print_ini_config(struct hdd_context_s *hdd_ctx)
{
}
+static inline void hdd_nan_datapath_enable(struct hdd_config *cfg_ini,
+ bool enable)
+{
+}
+static inline void hdd_nan_datapath_target_config(struct hdd_context_s *hdd_ctx,
+ struct wma_tgt_cfg *cfg)
+{
+}
+
#endif /* WLAN_FEATURE_NAN_DATAPATH */
#endif /* __WLAN_HDD_NAN_DATAPATH_H */
-