TDLS: feature enhancement for discovery and teardown

1. TDLS teardown based on configurable TX and RX idle period and packet
count threshold
2. TDLS teardown when RSSI is below configurable threshold(default=-75dbm)
3. iwpriv command to enable/disable TDLS at run time
4. Send discovery request to peer once it is added to PL
5. Send discovery request when Tx thruput criteria is met

Change-Id: I54136bace39d33c1a23bd7118632dbcfb5e16780
CRs-fixed: 448202
diff --git a/CORE/HDD/inc/wlan_hdd_main.h b/CORE/HDD/inc/wlan_hdd_main.h
index 21ecdd2..944bbde 100644
--- a/CORE/HDD/inc/wlan_hdd_main.h
+++ b/CORE/HDD/inc/wlan_hdd_main.h
@@ -76,6 +76,9 @@
 #ifdef ANI_MANF_DIAG
 #include <wlan_hdd_ftm.h>
 #endif
+#ifdef FEATURE_WLAN_TDLS
+#include "wlan_hdd_tdls.h"
+#endif
 /*--------------------------------------------------------------------------- 
   Preprocessor definitions and constants
   -------------------------------------------------------------------------*/
@@ -953,8 +956,10 @@
         is invoked*/
    v_BOOL_t is_dynamic_channel_range_set;
 
-#ifdef WLAN_OPEN_SOURCE
    struct wake_lock sap_wake_lock;
+
+#ifdef FEATURE_WLAN_TDLS
+    eTDLSSupportMode tdls_mode;
 #endif
 };