qcacmn: Add hal_rx_mpdu_get_addr4 API

Implement hal_rx_mpdu_get_addr4 API based
on the chipset as the macro to retrieve
addr4 value is chipset dependent.

Change-Id: Ie35d01de1619a8ab540bb1b2019a15b436efb7d4
CRs-Fixed: 2522133
This commit is contained in:
Venkata Sharath Chandra Manchala
2019-09-21 15:13:47 -07:00
committato da nshrivas
parent 7c868259ff
commit aa7628361e
15 ha cambiato i file con 309 aggiunte e 27 eliminazioni

Vedi File

@@ -977,8 +977,8 @@ dp_rx_defrag_nwifi_to_8023(struct dp_soc *soc,
&mac_addr.raw[0]);
qdf_mem_copy(eth_hdr->dest_addr, &mac_addr.raw[0],
QDF_MAC_ADDR_SIZE);
hal_rx_mpdu_get_addr4(rx_desc_info,
&mac_addr.raw[0]);
hal_rx_mpdu_get_addr4(soc->hal_soc, rx_desc_info,
&mac_addr.raw[0]);
qdf_mem_copy(eth_hdr->src_addr, &mac_addr.raw[0],
QDF_MAC_ADDR_SIZE);
break;