qcacmn: Get Rx TLV offsets from structure

Size of the TLVs have changed across generation of chipsets
Offset values need to be configured into DMA register for preheader DMA
Added APIs to get offsets of each TLV based on chip type

Change-Id: Ic011332cbf3a1017f324f246e47c9e2c91441c70
This commit is contained in:
Radha Krishna Simha Jiguru
2020-04-16 08:04:13 +05:30
committed by nshrivas
parent d111e1ef43
commit 8ca2521ac8
12 changed files with 248 additions and 6 deletions

View File

@@ -1424,6 +1424,14 @@ struct hal_hw_txrx_ops qca6750_hal_hw_txrx_ops = {
NULL,
NULL,
NULL,
NULL,
/* rx - TLV struct offsets */
hal_rx_msdu_end_offset_get_generic,
hal_rx_attn_offset_get_generic,
hal_rx_msdu_start_offset_get_generic,
hal_rx_mpdu_start_offset_get_generic,
hal_rx_mpdu_end_offset_get_generic
};
struct hal_hw_srng_config hw_srng_table_6750[] = {