qcacmn: Add hal_rx_mpdu_get_addr2 API

Implement hal_rx_mpdu_get_addr2 API
based on the chipset as
the macro to retrieve addr2 value is
chipset dependent.

Change-Id: I4026db892d4f2f41db72c50f780ba898b8a17fa7
CRs-Fixed: 2522133
此提交包含在:
Venkata Sharath Chandra Manchala
2019-09-21 14:29:40 -07:00
提交者 nshrivas
父節點 e3ae3193f9
當前提交 a81a2fed42
共有 15 個檔案被更改,包括 317 行新增47 行删除

查看文件

@@ -946,8 +946,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_addr2(rx_desc_info,
&mac_addr.raw[0]);
hal_rx_mpdu_get_addr2(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;
@@ -956,8 +956,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_addr2(rx_desc_info,
&mac_addr.raw[0]);
hal_rx_mpdu_get_addr2(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;