Kaynağa Gözat

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
Varun Reddy Yeturu 6 yıl önce
ebeveyn
işleme
adc0090770
1 değiştirilmiş dosya ile 4 ekleme ve 2 silme
  1. 4 2
      core/hdd/inc/wlan_hdd_cfg.h

+ 4 - 2
core/hdd/inc/wlan_hdd_cfg.h

@@ -11473,13 +11473,15 @@ enum hdd_wext_control {
 /*
  * <ini>
  * 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 {
  * </ini>
  */
 #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)