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
committato da nshrivas
parent 466c04dee9
commit 4bda764146
25 ha cambiato i file con 483 aggiunte e 96 eliminazioni

Vedi File

@@ -114,7 +114,15 @@ static inline bool target_if_vdev_mgr_is_panic_on_bug(void)
static inline struct wlan_lmac_if_mlme_rx_ops *
target_if_vdev_mgr_get_rx_ops(struct wlan_objmgr_psoc *psoc)
{
return &psoc->soc_cb.rx_ops.mops;
struct wlan_lmac_if_rx_ops *rx_ops;
rx_ops = wlan_psoc_get_lmac_if_rxops(psoc);
if (!rx_ops) {
qdf_err("rx_ops is NULL");
return NULL;
}
return &rx_ops->mops;
}
/**

Vedi File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2019 The Linux Foundation. All rights reserved.
* Copyright (c) 2019-2020 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -48,7 +48,15 @@ struct wmi_unified *target_if_vdev_mgr_wmi_handle_get(
static inline struct wlan_lmac_if_mlme_tx_ops *
target_if_vdev_mgr_get_tx_ops(struct wlan_objmgr_psoc *psoc)
{
return &psoc->soc_cb.tx_ops.mops;
struct wlan_lmac_if_tx_ops *tx_ops;
tx_ops = wlan_psoc_get_lmac_if_txops(psoc);
if (!tx_ops) {
mlme_err("tx_ops is NULL");
return NULL;
}
return &tx_ops->mops;
}
/**