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
diff --git a/Kbuild b/Kbuild
index 6c1febe..9e46b31 100644
--- a/Kbuild
+++ b/Kbuild
@@ -1950,6 +1950,9 @@
 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 6e3bb09..78badb9 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 f8acdd0..b130271 100644
--- a/configs/genoa.snoc.debug_defconfig
+++ b/configs/genoa.snoc.debug_defconfig
@@ -175,4 +175,7 @@
 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 0ea5819..b6fd9ab 100644
--- a/configs/genoa.snoc.perf_defconfig
+++ b/configs/genoa.snoc.perf_defconfig
@@ -182,5 +182,7 @@
 CONFIG_CFG_NUM_TX_RX_HISTOGRAM := 16
 CONFIG_CFG_NUM_RX_IND_RECORD := 1024
 
+# WoW filer configs
+CONFIG_CFG_PMO_WOW_FILTERS_MAX := 16
 
 ###################################