qcacld-3.0: Configure callback function for monitor mode traffic
Configure HDD callback function to process packets received in
monitor mode for lithium based chipsets.
Change-Id: I8c742a10c00e667736400a064f17bbb7144521e4
CRs-Fixed: 1113187
diff --git a/core/hdd/src/wlan_hdd_rx_monitor.h b/core/hdd/src/wlan_hdd_rx_monitor.h
index e657870..161b8a1 100644
--- a/core/hdd/src/wlan_hdd_rx_monitor.h
+++ b/core/hdd/src/wlan_hdd_rx_monitor.h
@@ -28,5 +28,22 @@
#ifndef __WLAN_HDD_RX_MONITOR_H
#define __WLAN_HDD_RX_MONITOR_H
+struct ol_txrx_ops;
+
+#if defined(QCA_WIFI_QCA6290)
+void hdd_monitor_set_rx_monitor_cb(struct ol_txrx_ops *txrx,
+ ol_txrx_rx_mon_fp rx_monitor_cb);
+
+void hdd_rx_monitor_callback(ol_osif_vdev_handle vdev,
+ qdf_nbuf_t mpdu,
+ void *rx_status);
+#else
+static void hdd_monitor_set_rx_monitor_cb(struct ol_txrx_ops *txrx,
+ ol_txrx_rx_mon_fp rx_monitor_cb){ }
+static void hdd_rx_monitor_callback(ol_osif_vdev_handle vdev,
+ qdf_nbuf_t mpdu,
+ void *rx_status){ }
+#endif /* CONFIG_LITHIUM */
+
#endif /* __WLAN_HDD_RX_MONITOR_H */