qcacmn: Expose the external APIs from MLO global shared memory handling
Expose the following APIs from MLO global shared memory handling - APIs required by the REO logic - APIs required to invoke the MLO global shared memory parsing Change-Id: Ia2fb0b0fee5d3904bae8cd70ce3364360d5ea16e CRs-Fixed: 3014343
This commit is contained in:

committed by
Madan Koyyalamudi

parent
97fe9889b6
commit
b0384b31da
@@ -25,6 +25,7 @@
|
||||
#include <qdf_types.h>
|
||||
#include <wlan_objmgr_psoc_obj.h>
|
||||
#include <wlan_mgmt_txrx_rx_reo_utils_api.h>
|
||||
#include <wlan_mgmt_txrx_rx_reo_tgt_api.h>
|
||||
#include <wlan_lmac_if_api.h>
|
||||
#include <wlan_lmac_if_def.h>
|
||||
#include <wmi_unified_param.h>
|
||||
@@ -32,11 +33,27 @@
|
||||
#ifdef WLAN_MGMT_RX_REO_SUPPORT
|
||||
|
||||
#define MGMT_RX_REO_SNAPSHOT_READ_RETRY_LIMIT (5)
|
||||
#define REO_SNAPSHOT_GET_VALID(l) (1)
|
||||
#define REO_SNAPSHOT_GET_MGMT_PKT_CTR(l) (1)
|
||||
#define REO_SNAPSHOT_GET_REDUNDANT_MGMT_PKT_CTR(h) (1)
|
||||
#define REO_SNAPSHOT_IS_CONSISTENT(c, rc) (1)
|
||||
#define REO_SNAPSHOT_GET_GLOBAL_TIMESTAMP(l, h) (1)
|
||||
|
||||
/**
|
||||
* target_if_get_mgmt_rx_reo_low_level_ops() - Get low-level ops of management
|
||||
* rx-reorder module
|
||||
* @psoc: Pointer to psoc object
|
||||
*
|
||||
* Return: Pointer to management rx-reorder low-level ops
|
||||
*/
|
||||
static inline struct wlan_lmac_if_mgmt_rx_reo_low_level_ops *
|
||||
target_if_get_mgmt_rx_reo_low_level_ops(struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
struct wlan_lmac_if_mgmt_rx_reo_tx_ops *mgmt_rx_reo_tx_ops;
|
||||
|
||||
mgmt_rx_reo_tx_ops = wlan_psoc_get_mgmt_rx_reo_txops(psoc);
|
||||
if (!mgmt_rx_reo_tx_ops) {
|
||||
mgmt_txrx_err("txops is null for mgmt rx reo module");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
return &mgmt_rx_reo_tx_ops->low_level_ops;
|
||||
}
|
||||
|
||||
/**
|
||||
* target_if_mgmt_rx_reo_register_event_handlers() - Register management
|
||||
|
Reference in New Issue
Block a user