1
0

qcacmn: Increase the max rx descriptors to 16K

Currently the max number of rx descriptors, via INI,
is 4096, which is not sufficient if the number of
entries in rx buffer refill ring is increased.

Hence the set the max allowed number of rx descriptors
to 16K, which is also the max allowed entries in the
rx buffers refill ring.

Change-Id: I287a3f47525179ebf8de65e2f8310a961881916b
CRs-Fixed: 3224590
Este cometimento está contido em:
Rakesh Pillai
2022-06-22 02:03:19 -07:00
cometido por Madan Koyyalamudi
ascendente b11cdd3210
cometimento 06c5d97195

Ver ficheiro

@@ -316,7 +316,7 @@
#define WLAN_CFG_RXDMA_REFILL_RING_SIZE 4096
#define WLAN_CFG_RXDMA_REFILL_RING_SIZE_MIN 16
#define WLAN_CFG_RXDMA_REFILL_RING_SIZE_MAX 8192
#define WLAN_CFG_RXDMA_REFILL_RING_SIZE_MAX 16384
#define WLAN_CFG_TX_DESC_LIMIT_0 0
#define WLAN_CFG_TX_DESC_LIMIT_0_MIN 4096
@@ -380,7 +380,7 @@
#define WLAN_CFG_RX_SW_DESC_WEIGHT_SIZE_MAX 1
#define WLAN_CFG_RX_SW_DESC_NUM_SIZE 4096
#define WLAN_CFG_RX_SW_DESC_NUM_SIZE_MIN 1024
#define WLAN_CFG_RX_SW_DESC_NUM_SIZE_MAX 4096
#define WLAN_CFG_RX_SW_DESC_NUM_SIZE_MAX 16384
/**
* For low memory AP cases using 1 will reduce the rx descriptors memory req