浏览代码

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
Jia Ding 5 年之前
父节点
当前提交
c215494e1b
共有 2 个文件被更改,包括 5 次插入0 次删除
  1. 4 0
      Kbuild
  2. 1 0
      configs/default_defconfig

+ 4 - 0
Kbuild

@@ -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

+ 1 - 0
configs/default_defconfig

@@ -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)