qcacmn: Add hal_rx_msdu_end_sa_idx_get API

Implement hal_rx_msdu_end_sa_idx API
based on the chipset as the macro to
retrieve sa_idx value is chipset
dependent.

Change-Id: Ib874520be9e7ad778c2a9a3c415e5c3047450b31
CRs-Fixed: 2522133
This commit is contained in:
Venkata Sharath Chandra Manchala
2019-09-20 16:18:42 -07:00
committed by nshrivas
parent 59ebd5ee0c
commit 5bf1e5a1da
15 changed files with 155 additions and 16 deletions

View File

@@ -1460,7 +1460,7 @@ static inline bool is_sa_da_idx_valid(struct dp_soc *soc,
qdf_nbuf_t nbuf)
{
if ((qdf_nbuf_is_sa_valid(nbuf) &&
(hal_rx_msdu_end_sa_idx_get(rx_tlv_hdr) >
(hal_rx_msdu_end_sa_idx_get(soc->hal_soc, rx_tlv_hdr) >
wlan_cfg_get_max_ast_idx(soc->wlan_cfg_ctx))) ||
(!qdf_nbuf_is_da_mcbc(nbuf) &&
qdf_nbuf_is_da_valid(nbuf) &&