qcacmn: Add a change to do fast transmit completion

Lot of checks in Tx completion path are for special handlings
such as when ol stats are enabled some protective debug checks etc..
Add a logic to fast free of buffer at transmit completion.
If extended stats not enabled(Typically needed for enterprise cases)
do the buffer free faster. This is controlled through a flag.

Change-Id: I04873b5e3643d8e93e5b248fcaf23504dcb7624f
This commit is contained in:
Radha Krishna Simha Jiguru
2020-04-04 11:05:48 +05:30
committed by nshrivas
父節點 2bfeac4376
當前提交 41c0716617
共有 5 個文件被更改,包括 195 次插入64 次删除

查看文件

@@ -25,7 +25,7 @@
#define DP_TX_MAX_NUM_FRAGS 6
#define DP_TX_DESC_FLAG_ALLOCATED 0x1
#define DP_TX_DESC_FLAG_SIMPLE 0x1
#define DP_TX_DESC_FLAG_TO_FW 0x2
#define DP_TX_DESC_FLAG_FRAG 0x4
#define DP_TX_DESC_FLAG_RAW 0x8
@@ -34,6 +34,7 @@
#define DP_TX_DESC_FLAG_COMPLETED_TX 0x40
#define DP_TX_DESC_FLAG_ME 0x80
#define DP_TX_DESC_FLAG_TDLS_FRAME 0x100
#define DP_TX_DESC_FLAG_ALLOCATED 0x200
#define DP_TX_FREE_SINGLE_BUF(soc, buf) \
do { \