Merge "qcacmn: Add target_if ops init for offhchan txrx"
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

commit
a821b5d58f
@@ -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;
|
||||
}
|
||||
|
@@ -497,6 +497,18 @@ struct wlan_lmac_if_target_tx_ops {
|
||||
bool (*tgt_is_tgt_type_qca9888)(uint32_t);
|
||||
};
|
||||
|
||||
#ifdef WLAN_OFFCHAN_TXRX_ENABLE
|
||||
/**
|
||||
* struct wlan_lmac_if_offchan_txrx_ops - Function pointers to check target
|
||||
* capabilities related to offchan txrx.
|
||||
* @offchan_data_tid_support: To check if target supports seperate tid for
|
||||
* offchan data tx.
|
||||
*/
|
||||
struct wlan_lmac_if_offchan_txrx_ops {
|
||||
bool (*offchan_data_tid_support)(struct wlan_objmgr_pdev *pdev);
|
||||
};
|
||||
#endif
|
||||
|
||||
/**
|
||||
* struct wlan_lmac_if_tx_ops - south bound tx function pointers
|
||||
* @mgmt_txrx_tx_ops: mgmt txrx tx ops
|
||||
@@ -551,6 +563,9 @@ struct wlan_lmac_if_tx_ops {
|
||||
#endif
|
||||
struct wlan_lmac_if_mlme_tx_ops mops;
|
||||
struct wlan_lmac_if_target_tx_ops target_tx_ops;
|
||||
#ifdef WLAN_OFFCHAN_TXRX_ENABLE
|
||||
struct wlan_lmac_if_offchan_txrx_ops offchan_txrx_ops;
|
||||
#endif
|
||||
};
|
||||
|
||||
/**
|
||||
|
Viittaa uudesa ongelmassa
Block a user