qcacmn: Add HIF CE RX support to WBUFF

Currently, WBUFF is being used only for WMI TX buffers.
Add HIF CE RX buffers support to WBUFF in an effort to re-use
the copy engine RX buffers instead of freeing/allocating buffers
for every CE RX transaction. This fixes the problem of CE RX
memory fragmentation.

Change-Id: Id9c043a5c5d0882a7994fa03cd8c335555d46b8d
CRs-Fixed: 3534539
This commit is contained in:
Manikanta Pubbisetty
2023-06-15 16:02:25 +05:30
committed by Rahul Choudhary
szülő 9b27c6e104
commit cbe8170798
8 fájl változott, egészen pontosan 240 új sor hozzáadva és 37 régi sor törölve

Fájl megtekintése

@@ -26,9 +26,7 @@
#define _I_WBUFF_H
#include <qdf_nbuf.h>
/* Number of pools supported per module */
#define WBUFF_MAX_POOLS 4
#include <wbuff.h>
#define WBUFF_MODULE_ID_SHIFT 4
#define WBUFF_MODULE_ID_BITMASK 0xF0