qcacmn: bkpressure control time event
add debug prints and a custom timer for how long to wait to receive next bk pressure event message. Change-Id: I5a736b0f134cd179990de536da02967db3e39774 CRs-Fixed: 3273427
This commit is contained in:

committed by
Madan Koyyalamudi

orang tua
0602fba425
melakukan
734657149e
@@ -90,6 +90,8 @@
|
||||
#define WLAN_CFG_IPA_UC_RX_IND_RING_COUNT 0
|
||||
#endif /* IPA_OFFLOAD */
|
||||
|
||||
#define WLAN_CFG_TIME_CONTROL_BP 3000
|
||||
|
||||
#if defined(WLAN_MAX_PDEVS) && (WLAN_MAX_PDEVS == 1)
|
||||
#define WLAN_CFG_PER_PDEV_RX_RING 0
|
||||
#define WLAN_CFG_PER_PDEV_LMAC_RING 0
|
||||
@@ -162,6 +164,9 @@
|
||||
#define WLAN_CFG_TX_RING_SIZE_MIN 512
|
||||
#define WLAN_CFG_TX_RING_SIZE_MAX 0x80000
|
||||
|
||||
#define WLAN_CFG_TIME_CONTROL_BP_MIN 3000
|
||||
#define WLAN_CFG_TIME_CONTROL_BP_MAX 1800000
|
||||
|
||||
#define WLAN_CFG_TX_COMP_RING_SIZE_MIN 512
|
||||
#define WLAN_CFG_TX_COMP_RING_SIZE_MAX 0x80000
|
||||
|
||||
@@ -679,6 +684,13 @@
|
||||
WLAN_CFG_PER_PDEV_LMAC_RING_MAX, \
|
||||
WLAN_CFG_PER_PDEV_LMAC_RING, \
|
||||
CFG_VALUE_OR_DEFAULT, "DP pdev LMAC ring")
|
||||
|
||||
#define CFG_DP_TIME_CONTROL_BP \
|
||||
CFG_INI_UINT("dp_time_control_bp", \
|
||||
WLAN_CFG_TIME_CONTROL_BP_MIN,\
|
||||
WLAN_CFG_TIME_CONTROL_BP_MAX,\
|
||||
WLAN_CFG_TIME_CONTROL_BP,\
|
||||
CFG_VALUE_OR_DEFAULT, "DP time control back pressure")
|
||||
/*
|
||||
* <ini>
|
||||
* dp_rx_pending_hl_threshold - High threshold of frame number to start
|
||||
@@ -1719,6 +1731,7 @@
|
||||
CFG(CFG_DP_TX_RING_SIZE) \
|
||||
CFG(CFG_DP_NSS_COMP_RING_SIZE) \
|
||||
CFG(CFG_DP_PDEV_LMAC_RING) \
|
||||
CFG(CFG_DP_TIME_CONTROL_BP) \
|
||||
CFG(CFG_DP_BASE_HW_MAC_ID) \
|
||||
CFG(CFG_DP_RX_HASH) \
|
||||
CFG(CFG_DP_TSO) \
|
||||
|
Reference in New Issue
Block a user