qcacmn: Add hal_rx_msdu_end_l3_hdr_padding_get API
Implement hal_rx_msdu_end_l3_hdr_padding_get API based on the chipset as the macro to retrieve sa_idx value is chipset dependent. Change-Id: Ice1fc2d70e339dc1d80fa6f34f37c5a7aa074be5 CRs-Fixed: 2522133
此提交包含在:

提交者
nshrivas

父節點
43d563277d
當前提交
f05b2ae5c2
@@ -1601,7 +1601,7 @@ void dp_rx_deliver_to_stack_no_peer(struct dp_soc *soc, qdf_nbuf_t nbuf)
|
||||
|
||||
rx_tlv_hdr = qdf_nbuf_data(nbuf);
|
||||
l2_hdr_offset =
|
||||
hal_rx_msdu_end_l3_hdr_padding_get(rx_tlv_hdr);
|
||||
hal_rx_msdu_end_l3_hdr_padding_get(soc->hal_soc, rx_tlv_hdr);
|
||||
|
||||
msdu_len = QDF_NBUF_CB_RX_PKT_LEN(nbuf);
|
||||
pkt_len = msdu_len + l2_hdr_offset + RX_PKT_TLVS_LEN;
|
||||
@@ -2045,7 +2045,8 @@ done:
|
||||
next = nbuf->next;
|
||||
} else {
|
||||
l2_hdr_offset =
|
||||
hal_rx_msdu_end_l3_hdr_padding_get(rx_tlv_hdr);
|
||||
hal_rx_msdu_end_l3_hdr_padding_get(soc->hal_soc,
|
||||
rx_tlv_hdr);
|
||||
|
||||
msdu_len = QDF_NBUF_CB_RX_PKT_LEN(nbuf);
|
||||
pkt_len = msdu_len + l2_hdr_offset + RX_PKT_TLVS_LEN;
|
||||
|
新增問題並參考
封鎖使用者