qcacmn: Add hal_rx_mpdu_start_sw_peer_id_get API
Implement hal_rx_mpdu_start_sw_peer_id API based on the chipset as the macro to retrieve sw_peer_id value is chipset dependent. Change-Id: Ifebaf2430731f5e0593dde4789d721e9fe7ce7c1 CRs-Fixed: 2522133
This commit is contained in:

committed by
nshrivas

parent
2a52d3426c
commit
96ed623043
@@ -1456,7 +1456,8 @@ done:
|
||||
uint8_t *tlv_hdr;
|
||||
rx_tlv_hdr = qdf_nbuf_data(nbuf);
|
||||
|
||||
peer_id = hal_rx_mpdu_start_sw_peer_id_get(rx_tlv_hdr);
|
||||
peer_id = hal_rx_mpdu_start_sw_peer_id_get(soc->hal_soc,
|
||||
rx_tlv_hdr);
|
||||
peer = dp_peer_find_by_id(soc, peer_id);
|
||||
|
||||
/*
|
||||
@@ -1507,7 +1508,8 @@ done:
|
||||
if (hal_rx_msdu_end_first_msdu_get(soc->hal_soc,
|
||||
rx_tlv_hdr)) {
|
||||
peer_id =
|
||||
hal_rx_mpdu_start_sw_peer_id_get(rx_tlv_hdr);
|
||||
hal_rx_mpdu_start_sw_peer_id_get(soc->hal_soc,
|
||||
rx_tlv_hdr);
|
||||
tid =
|
||||
hal_rx_mpdu_start_tid_get(hal_soc, rx_tlv_hdr);
|
||||
}
|
||||
|
Reference in New Issue
Block a user