diff --git a/Kbuild b/Kbuild index 6c1febe4b4..9e46b31b8e 100644 --- a/Kbuild +++ b/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) diff --git a/components/pmo/dispatcher/inc/wlan_pmo_wow_public_struct.h b/components/pmo/dispatcher/inc/wlan_pmo_wow_public_struct.h index 6e3bb0991d..78badb9e01 100644 --- a/components/pmo/dispatcher/inc/wlan_pmo_wow_public_struct.h +++ b/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 diff --git a/configs/genoa.snoc.debug_defconfig b/configs/genoa.snoc.debug_defconfig index f8acdd097f..b130271661 100644 --- a/configs/genoa.snoc.debug_defconfig +++ b/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 + ################################### diff --git a/configs/genoa.snoc.perf_defconfig b/configs/genoa.snoc.perf_defconfig index 0ea5819292..b6fd9ab836 100644 --- a/configs/genoa.snoc.perf_defconfig +++ b/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 ###################################