qcacmn: Query HIF for FastPath support

Data Path bypasses transport layer for better throughput's.
Instead of dereferencing HIF structures, query HIF for fastpath
mode support

Change-Id: Icba897c9405084f1c14c7db4059527a96d841736
CRs-Fixed: 967765
diff --git a/hif/src/hif_main.c b/hif/src/hif_main.c
index 4c8fc53..f6d42a5 100644
--- a/hif/src/hif_main.c
+++ b/hif/src/hif_main.c
@@ -866,3 +866,30 @@
 {
 	return &scn->target_info;
 }
+
+#if defined(FEATURE_LRO)
+/**
+ * hif_lro_flush_cb_register - API to register for LRO Flush Callback
+ * @scn: HIF Context
+ * @handler: Function pointer to be called by HIF
+ * @data: Private data to be used by the module registering to HIF
+ *
+ * Return: void
+ */
+void hif_lro_flush_cb_register(struct ol_softc *scn,
+				void (handler)(void *), void *data)
+{
+	ce_lro_flush_cb_register(scn, handler, data);
+}
+
+/**
+ * hif_lro_flush_cb_deregister - API to deregister for LRO Flush Callbacks
+ * @scn: HIF Context
+ *
+ * Return: void
+ */
+void hif_lro_flush_cb_deregister(struct ol_softc *scn)
+{
+	ce_lro_flush_cb_deregister(scn);
+}
+#endif