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:

committad av
nshrivas

förälder
d111e1ef43
incheckning
8ca2521ac8
@@ -5055,15 +5055,15 @@ dp_rxdma_ring_sel_cfg(struct dp_soc *soc)
|
||||
/*Not subscribing rx_pkt_header*/
|
||||
htt_tlv_filter.rx_header_offset = 0;
|
||||
htt_tlv_filter.rx_mpdu_start_offset =
|
||||
HAL_RX_PKT_TLV_MPDU_START_OFFSET(soc->hal_soc);
|
||||
hal_rx_mpdu_start_offset_get(soc->hal_soc);
|
||||
htt_tlv_filter.rx_mpdu_end_offset =
|
||||
HAL_RX_PKT_TLV_MPDU_END_OFFSET(soc->hal_soc);
|
||||
hal_rx_mpdu_end_offset_get(soc->hal_soc);
|
||||
htt_tlv_filter.rx_msdu_start_offset =
|
||||
HAL_RX_PKT_TLV_MSDU_START_OFFSET(soc->hal_soc);
|
||||
hal_rx_msdu_start_offset_get(soc->hal_soc);
|
||||
htt_tlv_filter.rx_msdu_end_offset =
|
||||
HAL_RX_PKT_TLV_MSDU_END_OFFSET(soc->hal_soc);
|
||||
hal_rx_msdu_end_offset_get(soc->hal_soc);
|
||||
htt_tlv_filter.rx_attn_offset =
|
||||
HAL_RX_PKT_TLV_ATTN_OFFSET(soc->hal_soc);
|
||||
hal_rx_attn_offset_get(soc->hal_soc);
|
||||
|
||||
for (i = 0; i < MAX_PDEV_CNT; i++) {
|
||||
struct dp_pdev *pdev = soc->pdev_list[i];
|
||||
|
Referens i nytt ärende
Block a user