qcacmn: Handle wbm_internal_error in tx completions
Handle wbm_internal_error in tx completions by releasing associated descriptors and buffers. Change-Id: I94d334c90c0514674323430fe53da72fb5424576
This commit is contained in:

committed by
nshrivas

parent
2a7ed0abd3
commit
b86ddaf205
@@ -29,6 +29,8 @@
|
||||
#define WBM_RELEASE_RING_5_TX_RATE_STATS_LSB 0
|
||||
#define WBM_RELEASE_RING_5_TX_RATE_STATS_MASK 0xffffffff
|
||||
|
||||
#define HAL_WBM_RELEASE_RING_2_BUFFER_TYPE 0
|
||||
#define HAL_WBM_RELEASE_RING_2_DESC_TYPE 1
|
||||
|
||||
/*---------------------------------------------------------------------------
|
||||
Preprocessor definitions and constants
|
||||
@@ -91,6 +93,7 @@ do { \
|
||||
#define HAL_TX_COMPLETION_DESC_BASE_LEN 12
|
||||
|
||||
#define HAL_TX_COMP_RELEASE_SOURCE_TQM 0
|
||||
#define HAL_TX_COMP_RELEASE_SOURCE_REO 2
|
||||
#define HAL_TX_COMP_RELEASE_SOURCE_FW 3
|
||||
|
||||
/* Define a place-holder release reason for FW */
|
||||
|
Reference in New Issue
Block a user