summaryrefslogtreecommitdiff
path: root/target_if
diff options
context:
space:
mode:
authorKiran Venkatappa <kiranv@codeaurora.org>2017-11-17 17:01:26 +0530
committersnandini <snandini@codeaurora.org>2017-12-04 03:25:30 -0800
commit303c1f655ecefa7a99719a21e586a96db74fcc26 (patch)
tree1fa0db8e2da4d1d25e25f3760924b348d9b1a796 /target_if
parent1d3e52959710f8efb6238571f36b899dee043ce0 (diff)
downloadqca-wfi-host-cmn-303c1f655ecefa7a99719a21e586a96db74fcc26.tar.gz
qcacmn: Add target_if ops init for offhchan txrx
offchan txrx module should query target to know offchan_data_tid support. Add target_if ops for offchan module to query this. Change-Id: I8bca8bbaa5c68eb42daf025235b50a5b512d6911 CRs-Fixed: 2145450
Diffstat (limited to 'target_if')
-rw-r--r--target_if/core/src/target_if_main.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/target_if/core/src/target_if_main.c b/target_if/core/src/target_if_main.c
index 13665837c..d49e5c456 100644
--- a/target_if/core/src/target_if_main.c
+++ b/target_if/core/src/target_if_main.c
@@ -54,6 +54,9 @@
#ifdef QCA_SUPPORT_SON
#include <target_if_son.h>
#endif
+#ifdef WLAN_OFFCHAN_TXRX_ENABLE
+#include <target_if_offchan_txrx_api.h>
+#endif
static struct target_if_ctx *g_target_if_ctx;
@@ -116,6 +119,13 @@ QDF_STATUS target_if_close(void)
return QDF_STATUS_SUCCESS;
}
+#ifndef WLAN_OFFCHAN_TXRX_ENABLE
+static void target_if_offchan_txrx_ops_register(
+ struct wlan_lmac_if_tx_ops *tx_ops)
+{
+}
+#endif /* WLAN_OFFCHAN_TXRX_ENABLE */
+
#ifndef WLAN_ATF_ENABLE
static void target_if_atf_tx_ops_register(struct wlan_lmac_if_tx_ops *tx_ops)
{
@@ -258,6 +268,8 @@ QDF_STATUS target_if_register_umac_tx_ops(struct wlan_lmac_if_tx_ops *tx_ops)
target_if_target_tx_ops_register(tx_ops);
+ target_if_offchan_txrx_ops_register(tx_ops);
+
/* Converged UMAC components to register their TX-ops here */
return QDF_STATUS_SUCCESS;
}