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
부모 d111e1ef43
커밋 8ca2521ac8
12개의 변경된 파일248개의 추가작업 그리고 6개의 파일을 삭제

파일 보기

@@ -1128,6 +1128,14 @@ struct hal_hw_txrx_ops qca6390_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_6390[] = {