From 6cc4e76c2dbf42f6628c258bc542a6ddee6dbb21 Mon Sep 17 00:00:00 2001 From: Nitesh Shah Date: Fri, 3 Jun 2016 14:46:06 +0530 Subject: 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 --- 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 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 ) -- cgit v1.2.3