summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNitesh Shah <niteshs@qti.qualcomm.com>2016-06-03 14:46:06 +0530
committerAnjaneedevi Kapparapu <akappa@codeaurora.org>2016-06-15 16:01:51 +0530
commit6cc4e76c2dbf42f6628c258bc542a6ddee6dbb21 (patch)
treea0a6dd16c690f6e4ad535509ddb500d46f8138a4
parent7df6f9c3302f8da9ab62a753f9e29945b513c19d (diff)
qcacld-2.0: Modify timer and threshold ini parameters in TDLS
While initiating TDLS connection, overflow occurs when the minimum time for TDLS stats is less than 1000 ms. To avoid the overflow, the default time is kept as 2000 ms and minimum time as 1000 ms. To improve the TDLS discovery, packet threshold is changed to 40 packets. Change-Id: Ibbb422c739b5927c5f2d788712f376a1cfa42930 CRs-Fixed: 1020247
-rw-r--r--CORE/HDD/inc/wlan_hdd_cfg.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/CORE/HDD/inc/wlan_hdd_cfg.h b/CORE/HDD/inc/wlan_hdd_cfg.h
index 55ead60a0f10..515e61f1e43d 100644
--- a/CORE/HDD/inc/wlan_hdd_cfg.h
+++ b/CORE/HDD/inc/wlan_hdd_cfg.h
@@ -2109,14 +2109,14 @@ typedef enum
#define CFG_TDLS_IMPLICIT_TRIGGER_DEFAULT ( 0 )
#define CFG_TDLS_TX_STATS_PERIOD "gTDLSTxStatsPeriod"
-#define CFG_TDLS_TX_STATS_PERIOD_MIN ( 10 )
+#define CFG_TDLS_TX_STATS_PERIOD_MIN (1000)
#define CFG_TDLS_TX_STATS_PERIOD_MAX ( 4294967295UL )
-#define CFG_TDLS_TX_STATS_PERIOD_DEFAULT (500)
+#define CFG_TDLS_TX_STATS_PERIOD_DEFAULT (2000)
#define CFG_TDLS_TX_PACKET_THRESHOLD "gTDLSTxPacketThreshold"
#define CFG_TDLS_TX_PACKET_THRESHOLD_MIN ( 0 )
#define CFG_TDLS_TX_PACKET_THRESHOLD_MAX ( 4294967295UL )
-#define CFG_TDLS_TX_PACKET_THRESHOLD_DEFAULT (10)
+#define CFG_TDLS_TX_PACKET_THRESHOLD_DEFAULT (40)
#define CFG_TDLS_DISCOVERY_PERIOD "gTDLSDiscoveryPeriod"
#define CFG_TDLS_DISCOVERY_PERIOD_MIN ( 5000 )