wlan: IBSS HeartBeat offload.

HeartBeat implementation has been offloaded for most of the device
modes except Ad-Hoc. The HB offload is a requirement not to wakeup
the host processor for connectivity actions.

CRs-Fixed: 517100
Change-Id: If41fd2dd86d5941231e999c5a4b9d3b99602c110
diff --git a/CORE/HDD/inc/wlan_hdd_cfg.h b/CORE/HDD/inc/wlan_hdd_cfg.h
index ac5412f..04b1a01 100644
--- a/CORE/HDD/inc/wlan_hdd_cfg.h
+++ b/CORE/HDD/inc/wlan_hdd_cfg.h
@@ -1801,6 +1801,14 @@
 #define CFG_FLEX_CONNECT_POWER_FACTOR_MAX           ( 9 )
 #define CFG_FLEX_CONNECT_POWER_FACTOR_DEFAULT       ( 0 )
 
+/*
+ * Enable heart beat monitoring offload to FW
+ */
+#define CFG_ENABLE_HEART_BEAT_OFFLOAD          "gEnableIbssHeartBeatOffload"
+#define CFG_ENABLE_HEART_BEAT_OFFLOAD_MIN      ( 0 )
+#define CFG_ENABLE_HEART_BEAT_OFFLOAD_MAX      ( 1 )
+#define CFG_ENABLE_HEART_BEAT_OFFLOAD_DEFAULT  ( 1 )
+
 /*--------------------------------------------------------------------------- 
   Type declarations
   -------------------------------------------------------------------------*/ 
@@ -2183,6 +2191,7 @@
    v_BOOL_t                    fEnableAdaptRxDrain;
    v_BOOL_t                    enableOxygenNwk;
    v_U8_t                      flexConnectPowerFactor;
+   v_BOOL_t                    enableIbssHeartBeatOffload;
 } hdd_config_t;
 /*--------------------------------------------------------------------------- 
   Function declarations and documenation