qcacmn: remove dependency of public files from wlan_objmgr_psoc_obj.h

Remove dependency of wlan_lmac_if_def headerfiles from
wlan_objmgr_psoc_obj.h

Change-Id: Ibe2f22c4b4f22b15eef201d1a42844ccf2931fef
This commit is contained in:
Neha Bisht
2020-04-06 15:12:52 +05:30
committed by nshrivas
orang tua 466c04dee9
melakukan 4bda764146
25 mengubah file dengan 483 tambahan dan 96 penghapusan

Melihat File

@@ -38,7 +38,14 @@
static inline struct wlan_target_if_dcs_rx_ops *
target_if_dcs_get_rx_ops(struct wlan_objmgr_psoc *psoc)
{
return &psoc->soc_cb.rx_ops.dcs_rx_ops;
struct wlan_lmac_if_rx_ops *rx_ops;
rx_ops = wlan_psoc_get_lmac_if_rxops(psoc);
if (!rx_ops) {
target_if_err("rx_ops is NULL");
return NULL;
}
return &rx_ops->dcs_rx_ops;
}
/**
@@ -52,7 +59,14 @@ target_if_dcs_get_rx_ops(struct wlan_objmgr_psoc *psoc)
static inline struct wlan_target_if_dcs_tx_ops *
target_if_dcs_get_tx_ops(struct wlan_objmgr_psoc *psoc)
{
return &psoc->soc_cb.tx_ops.dcs_tx_ops;
struct wlan_lmac_if_tx_ops *tx_ops;
tx_ops = wlan_psoc_get_lmac_if_txops(psoc);
if (!tx_ops) {
target_if_err("tx_ops is NULL");
return NULL;
}
return &tx_ops->dcs_tx_ops;
}
/**