For WDI 1.0 MCC TX, wlan driver is involved for TX and skb is provided from IPA driver. With SMMU enabled, dma_addr is of IPA domain. In such case, wlan driver needs to do DMA map itself. After doing DMA map, an offset of frag_header and ipa_header is added to the iova and skb->cb is updated with the new iova. After TX completion, skb DMA unmap is done but with the iova of the above offset included, which leads to unmapped iova error. Fix is to recalculate the iova and update skb->cb with new iova, which has frag_header and ipa_header length removed. Change-Id: I7d04e9b01fbd973601ee9e4e74c6bf4dd3d0f7bb CRs-Fixed: 2338049 |
||
---|---|---|
.. | ||
htt | ||
ol/inc | ||
txrx | ||
txrx3.0 |