qcacld-3.0: Add config option for max clients allowed

Add a config option to set maximum number of clients allowed.
And set max clients allowed to 64 on SDXPRAIRIE platform.

Change-Id: I4f475abbf5fba8d01f4121e55a87324fdd2d5d70
CRs-Fixed: 2692639
This commit is contained in:
Jia Ding 2020-04-28 10:37:56 +08:00 committed by nshrivas
parent 8cce2a2f7f
commit c215494e1b
2 changed files with 5 additions and 0 deletions

4
Kbuild
View File

@ -3450,6 +3450,10 @@ cppflags-$(CONFIG_WLAN_SEND_DSCP_UP_MAP_TO_FW) += -DWLAN_SEND_DSCP_UP_MAP_TO_FW
cppflags-$(CONFIG_SMMU_S1_UNMAP) += -DCONFIG_SMMU_S1_UNMAP
cppflags-$(CONFIG_HIF_CPU_PERF_AFFINE_MASK) += -DHIF_CPU_PERF_AFFINE_MASK
ifdef CONFIG_MAX_CLIENTS_ALLOWED
ccflags-y += -DWLAN_MAX_CLIENTS_ALLOWED=$(CONFIG_MAX_CLIENTS_ALLOWED)
endif
KBUILD_CPPFLAGS += $(cppflags-y)
# Currently, for versions of gcc which support it, the kernel Makefile

View File

@ -1026,6 +1026,7 @@ ifeq ($(CONFIG_ARCH_SDXPRAIRIE), y)
CONFIG_DIRECT_BUF_RX_ENABLE := n
CONFIG_WMI_DBR_SUPPORT := n
CONFIG_MAX_CLIENTS_ALLOWED := 64
endif
ifneq ($(CONFIG_HIF_USB), y)