mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
qcacld-3.0: Limit the IPA tx buffer for Genoa
In order to improve the Genoa DBS KPI, need to increase the IPA tx complete ring size from 1024 to 2048. And the tx buffer count also will increase from 1023(1024-1) to 2047(2048-1) according. But in fact, as for wlan fw, it just only reserve 1500(1100 for 5G, 400 for 2.4G) tx desc for packets from IPA, so some tx buffer will not used here, which will waste memory. So to save some memory, export CONFIG_LIMIT_IPA_TX_BUFFER for platform configuration to limit the max IPA tx buffer count Change-Id: Id5d4c5a220b588747f3d1981627f6253d7c3305b
This commit is contained in:
parent
e1d285c75e
commit
075cb24e55
2 changed files with 48 additions and 30 deletions
4
Kbuild
4
Kbuild
|
|
@ -3535,6 +3535,10 @@ ifdef CONFIG_BEACON_TX_OFFLOAD_MAX_VDEV
|
|||
ccflags-y += -DCFG_TGT_DEFAULT_BEACON_TX_OFFLOAD_MAX_VDEV=$(CONFIG_BEACON_TX_OFFLOAD_MAX_VDEV)
|
||||
endif
|
||||
|
||||
ifdef CONFIG_LIMIT_IPA_TX_BUFFER
|
||||
ccflags-y += -DLIMIT_IPA_TX_BUFFER=$(CONFIG_LIMIT_IPA_TX_BUFFER)
|
||||
endif
|
||||
|
||||
ifdef CONFIG_LOCK_STATS_ON
|
||||
ccflags-y += -DQDF_LOCK_STATS=1
|
||||
ccflags-y += -DQDF_LOCK_STATS_DESTROY_PRINT=0
|
||||
|
|
|
|||
Loading…
Reference in a new issue