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
Cette révision appartient à :
Radha Krishna Simha Jiguru
2020-04-16 08:04:13 +05:30
révisé par nshrivas
Parent d111e1ef43
révision 8ca2521ac8
12 fichiers modifiés avec 248 ajouts et 6 suppressions

Voir le fichier

@@ -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[] = {