qcacmn: Add more HAL APIs in hal_api_mon.h

Add the following macros:
1. HAL_REO_CONFIG
2. HAL_RX_MSDU_DESC_INFO_GET
3. HAL_RX_LINK_DESC_MSDU0_PTR

Add the relevant function pointers to
retrieve the descriptor info from the
above mentioned macros based on a
given chipset.

Change-Id: If44ae3d91397f1b1b0c36a49ce56a2c5e719434e
CRs-Fixed: 2522133
This commit is contained in:
Venkata Sharath Chandra Manchala
2019-09-23 17:16:51 -07:00
gecommit door nshrivas
bovenliggende b7d2df16b5
commit 222b2539cb
15 gewijzigde bestanden met toevoegingen van 449 en 70 verwijderingen

Bestand weergeven

@@ -312,6 +312,20 @@ struct hal_hw_srng_config {
#define MAX_SHADOW_REGISTERS 36
/* REO parameters to be passed to hal_reo_setup */
struct hal_reo_params {
/** rx hash steering enabled or disabled */
bool rx_hash_enabled;
/** reo remap 1 register */
uint32_t remap1;
/** reo remap 2 register */
uint32_t remap2;
/** fragment destination ring */
uint8_t frag_dst_ring;
/** padding */
uint8_t padding[3];
};
struct hal_hw_txrx_ops {
/* init and setup */
@@ -420,6 +434,9 @@ struct hal_hw_txrx_ops {
uint8_t (*hal_rx_get_mac_addr2_valid)(uint8_t *buf);
uint8_t (*hal_rx_get_filter_category)(uint8_t *buf);
uint32_t (*hal_rx_get_ppdu_id)(uint8_t *buf);
void (*hal_reo_config)(struct hal_soc *soc,
uint32_t reg_val,
struct hal_reo_params *reo_params);
};
/**