From 2ccd9e6c57bb2c42d4a7ee846cc652787c70dc46 Mon Sep 17 00:00:00 2001 From: Kabilan Kannan Date: Sun, 29 Nov 2015 16:04:05 -0800 Subject: [PATCH] qcacld-3.0: Change TDLS default teardown parameters qcacld-2.0 to qcacld-3.0 propagation. Current TDLS default teardown interval does not work in all the scenarios. Hence, change the default teadown interval to 5 seconds and default TDLS idle packet threshold to 3 to support all TDLS use cases. Change-Id: Idf8b4cd02963d24350a1322ac4c7465fbfc7204f CRs-Fixed: 936003 --- core/hdd/inc/wlan_hdd_cfg.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/hdd/inc/wlan_hdd_cfg.h b/core/hdd/inc/wlan_hdd_cfg.h index ce3d8c4f10e9..2d4deeda24c7 100644 --- a/core/hdd/inc/wlan_hdd_cfg.h +++ b/core/hdd/inc/wlan_hdd_cfg.h @@ -1560,13 +1560,13 @@ typedef enum { #define CFG_TDLS_IDLE_TIMEOUT "gTDLSIdleTimeout" #define CFG_TDLS_IDLE_TIMEOUT_MIN (500) #define CFG_TDLS_IDLE_TIMEOUT_MAX (40000) -#define CFG_TDLS_IDLE_TIMEOUT_DEFAULT (2000) +#define CFG_TDLS_IDLE_TIMEOUT_DEFAULT (5000) #define CFG_TDLS_IDLE_PACKET_THRESHOLD "gTDLSIdlePacketThreshold" #define CFG_TDLS_IDLE_PACKET_THRESHOLD_MIN (0) #define CFG_TDLS_IDLE_PACKET_THRESHOLD_MAX (40000) -#define CFG_TDLS_IDLE_PACKET_THRESHOLD_DEFAULT (1) +#define CFG_TDLS_IDLE_PACKET_THRESHOLD_DEFAULT (3) #define CFG_TDLS_RSSI_TRIGGER_THRESHOLD "gTDLSRSSITriggerThreshold" #define CFG_TDLS_RSSI_TRIGGER_THRESHOLD_MIN (-120)