wlan: Add support to disable forwarding of BAR frames

In suspend mode, if AP sends the BAR frames then these BAR
frames are sent to host which leads to unnecessary
APPS wakeup.

Add ini support to disable the BAR frames. When this ini is set
to 1, FW will not forward the BAR frames to host when APPS is
in suspend mode.

Change-Id: Ifc4e4f3ea0c20f7073f4ee5b01b0a7681225e4b4
CRs-Fixed: 948786
diff --git a/CORE/MAC/inc/wniCfg.h b/CORE/MAC/inc/wniCfg.h
index 5888b99..34f3ac3 100644
--- a/CORE/MAC/inc/wniCfg.h
+++ b/CORE/MAC/inc/wniCfg.h
@@ -389,7 +389,8 @@
      WNI_CFG_OPTIMIZE_CA_EVENT,
      WNI_CFG_ACTIVE_PASSIVE_CON,
      WNI_CFG_EXT_SCAN_CONC_MODE,
-     WNI_CFG_ENABLE_MAC_ADDR_SPOOFING
+     WNI_CFG_ENABLE_MAC_ADDR_SPOOFING,
+     WNI_CFG_DISABLE_BAR_WAKE_UP_HOST
 };
 
 /*
@@ -1906,8 +1907,12 @@
 #define WNI_CFG_ENABLE_MAC_ADDR_SPOOFING_MAX 2
 #define WNI_CFG_ENABLE_MAC_ADDR_SPOOFING_DEF 1
 
-#define CFG_PARAM_MAX_NUM        356
-#define CFG_STA_IBUF_MAX_SIZE    290
+#define WNI_CFG_DISABLE_BAR_WAKE_UP_HOST_MIN 0
+#define WNI_CFG_DISABLE_BAR_WAKE_UP_HOST_MAX 1
+#define WNI_CFG_DISABLE_BAR_WAKE_UP_HOST_DEF 0
+
+#define CFG_PARAM_MAX_NUM        357
+#define CFG_STA_IBUF_MAX_SIZE    291
 #define CFG_STA_SBUF_MAX_SIZE    3389
 
 #define CFG_STA_MAGIC_DWORD    0xbeefbeef