Просмотр исходного кода

qcacld-3.0: Add Kbuild config for no of WoW filter

Total 16 number of WoW filters are PoRed for Genoa.
Define CONFIG_PMO_WOW_FILTERS in genoa defconfigs with value 16.

Change-Id: Iba3d9875c954b32a3f22cfd639f4508beb36a5d5
CRs-Fixed: 2257033
Rachit Kankane 6 лет назад
Родитель
Сommit
8863cba926

+ 3 - 0
Kbuild

@@ -1950,6 +1950,9 @@ ifdef CONFIG_CFG_NUM_RX_IND_RECORD
 ccflags-y += -DOL_RX_INDICATION_MAX_RECORDS=$(CONFIG_CFG_NUM_RX_IND_RECORD)
 endif
 
+ifdef CONFIG_CFG_PMO_WOW_FILTERS_MAX
+ccflags-y += -DPMO_WOW_FILTERS_MAX=$(CONFIG_CFG_PMO_WOW_FILTERS_MAX)
+endif
 
 KBUILD_CPPFLAGS += $(cppflags-y)
 

+ 2 - 0
components/pmo/dispatcher/inc/wlan_pmo_wow_public_struct.h

@@ -28,7 +28,9 @@
 
 #define _WLAN_PMO_WOW_PUBLIC_STRUCT_H_
 
+#ifndef PMO_WOW_FILTERS_MAX
 #define PMO_WOW_FILTERS_MAX             22
+#endif
 
 #define PMO_WOWL_PTRN_MAX_SIZE          146
 #define PMO_WOWL_PTRN_MASK_MAX_SIZE      19

+ 3 - 0
configs/genoa.snoc.debug_defconfig

@@ -175,4 +175,7 @@ CONFIG_ENABLE_SMMU_S1_TRANSLATION := y
 endif
 endif
 
+# WoW filter configs
+CONFIG_CFG_PMO_WOW_FILTERS_MAX := 16
+
 ###################################

+ 2 - 0
configs/genoa.snoc.perf_defconfig

@@ -182,5 +182,7 @@ CONFIG_CFG_NUM_WMI_MGMT_EVENT_HISTORY := 16
 CONFIG_CFG_NUM_TX_RX_HISTOGRAM := 16
 CONFIG_CFG_NUM_RX_IND_RECORD := 1024
 
+# WoW filer configs
+CONFIG_CFG_PMO_WOW_FILTERS_MAX := 16
 
 ###################################