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
Šī revīzija ir iekļauta:
Radha Krishna Simha Jiguru
2020-04-16 08:04:13 +05:30
revīziju iesūtīja nshrivas
vecāks d111e1ef43
revīzija 8ca2521ac8
12 mainīti faili ar 248 papildinājumiem un 6 dzēšanām

Parādīt failu

@@ -1092,6 +1092,15 @@ struct hal_hw_txrx_ops qca6290_hal_hw_txrx_ops = {
NULL,
NULL,
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_6290[] = {