mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
qcacmn: Add Cached Descriptor support for DP SRNGs
Add support to configure any HAL SRNG descriptor to be allocated from cached memory area. This is to optimize of CPU cycles spent on uncached memory accesses. Also added prefetch of cached descriptors Change-Id: I2544e8596d48e2f5549bf687a764c16d73397545 CRs-fixed: 2267945
This commit is contained in:
parent
e8aab3b8ca
commit
ab234e56f6
10 changed files with 214 additions and 96 deletions
|
|
@ -24,6 +24,7 @@
|
|||
* or platform configuration
|
||||
*/
|
||||
#if defined(CONFIG_MCL)
|
||||
#define WLAN_CFG_DST_RING_CACHED_DESC 0
|
||||
#define MAX_PDEV_CNT 1
|
||||
#define WLAN_CFG_INT_NUM_CONTEXTS 7
|
||||
#define WLAN_CFG_RXDMA1_ENABLE 1
|
||||
|
|
@ -38,6 +39,7 @@
|
|||
|
||||
#define NUM_RXDMA_RINGS_PER_PDEV 2
|
||||
#else
|
||||
#define WLAN_CFG_DST_RING_CACHED_DESC 1
|
||||
#define MAX_PDEV_CNT 3
|
||||
#define WLAN_CFG_INT_NUM_CONTEXTS 11
|
||||
#define WLAN_CFG_RXDMA1_ENABLE 1
|
||||
|
|
|
|||
Loading…
Reference in a new issue