mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
qcacmn: Split Tx and Rx indication handling
Add support to handle Tx completion processing and Rx processing into different NAPI threads/contexts for Lithium DP Change-Id: I4f5c6ef3ce969ce457e26cf3e8305df1ae782f09
This commit is contained in:
parent
4db72ac87b
commit
a59b5607c6
5 changed files with 30 additions and 12 deletions
|
|
@ -145,6 +145,13 @@ static const int tx_ring_mask[WLAN_CFG_INT_NUM_CONTEXTS] = {
|
|||
WLAN_CFG_TX_RING_MASK_3};
|
||||
|
||||
static const int rx_ring_mask[WLAN_CFG_INT_NUM_CONTEXTS] = {
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
WLAN_CFG_RX_RING_MASK_0,
|
||||
WLAN_CFG_RX_RING_MASK_1,
|
||||
WLAN_CFG_RX_RING_MASK_2,
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@
|
|||
#define NUM_RXDMA_RINGS_PER_PDEV 2
|
||||
#else
|
||||
#define MAX_PDEV_CNT 3
|
||||
#define WLAN_CFG_INT_NUM_CONTEXTS 7
|
||||
#define WLAN_CFG_INT_NUM_CONTEXTS 11
|
||||
#define WLAN_CFG_RXDMA1_ENABLE 1
|
||||
/*
|
||||
* This mask defines how many transmit frames account for 1 NAPI work unit
|
||||
|
|
@ -75,8 +75,6 @@
|
|||
/* Miscellaneous configuration */
|
||||
#define MAX_IDLE_SCATTER_BUFS 16
|
||||
#define DP_MAX_IRQ_PER_CONTEXT 12
|
||||
#define DP_MAX_INTERRUPT_CONTEXTS 8
|
||||
#define DP_MAX_INTERRUPT_CONTEXTS 8
|
||||
#define MAX_HTT_METADATA_LEN 32
|
||||
#define MAX_NUM_PEER_ID_PER_PEER 8
|
||||
#define DP_MAX_TIDS 17
|
||||
|
|
|
|||
Loading…
Reference in a new issue