mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
qcacld-3.0: Define max number of keep alive pattern at one place
Currently there are 2 places where max number of keep live pattern are defined: 1. #define WMA_MAXNUM_PERIODIC_TX_PTRNS 6 And it can be configured by CONFIG_CFG_MAX_PERIODIC_TX_PTRNS. 2. #define MAXNUM_PERIODIC_TX_PTRNS 6 And it is hard coded value. It is possible to have different values defined on some platform, so we might give tgt_cfg->num_keep_alive_pattern value as 2, but still allow more than 2 keep alive patterns adding to target, where assert might happen. Fix it by defining max number of keep alive pattern at one place. Change-Id: I70ec3fa2e56a39cf8086750d966d95e41b2b75a7 CRs-Fixed: 2745443
This commit is contained in:
parent
0366e32999
commit
73574ad2d8
4 changed files with 4 additions and 9 deletions
2
Kbuild
2
Kbuild
|
|
@ -3411,7 +3411,7 @@ ccflags-y += -DCFG_TGT_DEFAULT_ROAM_OFFLOAD_MAX_VDEV=$(CONFIG_CFG_ROAM_OFFLOAD_M
|
|||
endif
|
||||
|
||||
ifdef CONFIG_CFG_MAX_PERIODIC_TX_PTRNS
|
||||
ccflags-y += -DWMA_MAXNUM_PERIODIC_TX_PTRNS=$(CONFIG_CFG_MAX_PERIODIC_TX_PTRNS)
|
||||
ccflags-y += -DMAXNUM_PERIODIC_TX_PTRNS=$(CONFIG_CFG_MAX_PERIODIC_TX_PTRNS)
|
||||
endif
|
||||
|
||||
ifdef CONFIG_CFG_MAX_STA_VDEVS
|
||||
|
|
|
|||
Loading…
Reference in a new issue