From 6259b1cb1cbc69e43031ccb33f884ef59f12c2e4 Mon Sep 17 00:00:00 2001 From: Nitesh Shah Date: Mon, 5 Sep 2016 15:50:53 +0530 Subject: [PATCH] qcacld-3.0: Modify timer and threshold ini parameters in TDLS Propagation from qcacld-2.0 to qcacld-3.0. 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 (cherry picked from commit f9fe1c7d3a55caf8cf263f280508a91f0fe06a96) (cherry picked from commit 388cc4379009f9e7a09fbfec6a846bcc80452d43) --- core/hdd/inc/wlan_hdd_cfg.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/hdd/inc/wlan_hdd_cfg.h b/core/hdd/inc/wlan_hdd_cfg.h index 4a85734d1569..a863846b1a99 100644 --- a/core/hdd/inc/wlan_hdd_cfg.h +++ b/core/hdd/inc/wlan_hdd_cfg.h @@ -1784,14 +1784,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_MAX_DISCOVERY_ATTEMPT "gTDLSMaxDiscoveryAttempt" #define CFG_TDLS_MAX_DISCOVERY_ATTEMPT_MIN (1)