From acaf8a9c4ce02393734495a918888ebe8cb3fbba Mon Sep 17 00:00:00 2001 From: Ganesh Kondabattini Date: Wed, 19 Jul 2017 11:53:09 +0530 Subject: [PATCH] qcacld-3.0: Change the min and default values of gTDLSEnableDeferTime Driver is disabling the tdls for 5s from the last p2p-listen request received. This is leading to tdls connection failure even after p2p find has been stopped. So reducing the min and default timer values 500ms and 2s respectively. CRs-Fixed: 2078933 Change-Id: Id1ab3945d029de8154aede403b354aec99f4cd79 --- core/hdd/inc/wlan_hdd_cfg.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/hdd/inc/wlan_hdd_cfg.h b/core/hdd/inc/wlan_hdd_cfg.h index e6be0a72409f..9b7236b34aaf 100644 --- a/core/hdd/inc/wlan_hdd_cfg.h +++ b/core/hdd/inc/wlan_hdd_cfg.h @@ -6413,9 +6413,9 @@ enum hdd_link_speed_rpt_type { /* * * gTDLSEnableDeferTime - Timer to defer for enabling TDLS on P2P listen. - * @Min: 2000 + * @Min: 500 * @Max: 6000 - * @Default: 5000 + * @Default: 2000 * * This ini is used to set the timer to defer for enabling TDLS on P2P * listen (value in milliseconds). @@ -6429,9 +6429,9 @@ enum hdd_link_speed_rpt_type { * */ #define CFG_TDLS_ENABLE_DEFER_TIMER "gTDLSEnableDeferTime" -#define CFG_TDLS_ENABLE_DEFER_TIMER_MIN (2000) +#define CFG_TDLS_ENABLE_DEFER_TIMER_MIN (500) #define CFG_TDLS_ENABLE_DEFER_TIMER_MAX (6000) -#define CFG_TDLS_ENABLE_DEFER_TIMER_DEFAULT (5000) +#define CFG_TDLS_ENABLE_DEFER_TIMER_DEFAULT (2000) /* Enable/Disable LPWR Image(cMEM uBSP) Transition */ #define CFG_ENABLE_LPWR_IMG_TRANSITION_NAME "gEnableLpwrImgTransition"