qcacmn: Add hal_rx_mpdu_get_addr1 API
Implement hal_rx_mpdu_get_addr1 API based on the chipset as the macro to retrieve addr1 value is chipset dependent. Change-Id: I7ed88f2243d397c9d605a08d3b93e17f0004c63d CRs-Fixed: 2522133
This commit is contained in:

committed by
nshrivas

vanhempi
25ba7b8c4f
commit
e3ae3193f9
@@ -942,8 +942,8 @@ dp_rx_defrag_nwifi_to_8023(struct dp_soc *soc,
|
||||
|
||||
switch (((fc & 0xff00) >> 8) & IEEE80211_FC1_DIR_MASK) {
|
||||
case IEEE80211_FC1_DIR_NODS:
|
||||
hal_rx_mpdu_get_addr1(rx_desc_info,
|
||||
&mac_addr.raw[0]);
|
||||
hal_rx_mpdu_get_addr1(soc->hal_soc, rx_desc_info,
|
||||
&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,
|
||||
@@ -962,8 +962,8 @@ dp_rx_defrag_nwifi_to_8023(struct dp_soc *soc,
|
||||
QDF_MAC_ADDR_SIZE);
|
||||
break;
|
||||
case IEEE80211_FC1_DIR_FROMDS:
|
||||
hal_rx_mpdu_get_addr1(rx_desc_info,
|
||||
&mac_addr.raw[0]);
|
||||
hal_rx_mpdu_get_addr1(soc->hal_soc, rx_desc_info,
|
||||
&mac_addr.raw[0]);
|
||||
qdf_mem_copy(eth_hdr->dest_addr, &mac_addr.raw[0],
|
||||
QDF_MAC_ADDR_SIZE);
|
||||
hal_rx_mpdu_get_addr3(rx_desc_info,
|
||||
|
Viittaa uudesa ongelmassa
Block a user