qcacmn: Unmap before changing skb data

In cases like Tx capture or per packet info, need to unmap
before skb is touched. Add wrapper function to do the same.

Change-Id: I0d13b2d90c80972f346f85960b1297511771516b
This commit is contained in:
Manoj Ekbote
2021-01-19 13:59:43 -08:00
committed by snandini
parent 459084ce35
commit 01ce9c0032
2 changed files with 34 additions and 5 deletions

View File

@@ -45,6 +45,7 @@
#define DP_TX_DESC_FLAG_TDLS_FRAME 0x100
#define DP_TX_DESC_FLAG_ALLOCATED 0x200
#define DP_TX_DESC_FLAG_MESH_MODE 0x400
#define DP_TX_DESC_FLAG_UNMAP_DONE 0x800
#define DP_TX_EXT_DESC_FLAG_METADATA_VALID 0x1