From adc00907702bab85399efbd8fd674d915dbc1e5c Mon Sep 17 00:00:00 2001 From: Varun Reddy Yeturu Date: Thu, 5 Jul 2018 07:55:24 -0700 Subject: [PATCH] qcacld-3.0: Change the minimum value for twt_congestion_timeout Change the minimum acceptable value for twt_congestion_timeout to Zero. This also indicates that it will be a host triggered TWT. Change-Id: I827afc2d360f13990f6261388692b0d49a98b2f0 CRs-Fixed: 2272549 --- core/hdd/inc/wlan_hdd_cfg.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/core/hdd/inc/wlan_hdd_cfg.h b/core/hdd/inc/wlan_hdd_cfg.h index e41929c9dc3f..29fcd3cd8087 100644 --- a/core/hdd/inc/wlan_hdd_cfg.h +++ b/core/hdd/inc/wlan_hdd_cfg.h @@ -11473,13 +11473,15 @@ enum hdd_wext_control { /* * * twt_congestion_timeout - Target wake time congestion timeout. - * @Min: 10 + * @Min: 0 * @Max: 10000 * @Default: 100 * * STA uses this timer to continuously monitor channel congestion levels to * decide whether to start or stop TWT. This ini is used to configure the * target wake time congestion timeout value in the units of milliseconds. + * A value of Zero indicates that this is a host triggered TWT and all the + * necessary configuration for TWT will be directed from the host. * * Related: NA * @@ -11490,7 +11492,7 @@ enum hdd_wext_control { * */ #define CFG_TWT_CONGESTION_TIMEOUT_NAME "twt_congestion_timeout" -#define CFG_TWT_CONGESTION_TIMEOUT_MIN (10) +#define CFG_TWT_CONGESTION_TIMEOUT_MIN (0) #define CFG_TWT_CONGESTION_TIMEOUT_MAX (10000) #define CFG_TWT_CONGESTION_TIMEOUT_DEFAULT (100)