Преглед на файлове

qcacld-3.0: Change the range of values for Early Stop Scan feature

Change the range of values for early stop scan feature
configuration items as per firmware expectations.

CRs-Fixed: 939185
Change-Id: I7d893cd1ed44a71bffaab22121f052288b14b640
Varun Reddy Yeturu преди 9 години
родител
ревизия
ec932147b0
променени са 1 файла, в които са добавени 13 реда и са изтрити 13 реда
  1. 13 13
      core/hdd/inc/wlan_hdd_cfg.h

+ 13 - 13
core/hdd/inc/wlan_hdd_cfg.h

@@ -2723,25 +2723,25 @@ enum dot11p_mode {
 #define CFG_EARLY_STOP_SCAN_ENABLE_DEFAULT   (0)
 /*
  * Early stop scan minimum threshold is the minimum threshold
- * at which the candidate AP should be to be qualified as a
- * potential roam candidate and good enough to stop the roaming scan
+ * to be considered for stopping the scan. The algorithm starts
+ * with a scan on the greedy channel list with the maximum threshold
+ * and steps down the threshold by 20% for each further channel.
+ * It can step down on each channel but cannot go lower than the minimum
+ * threshold.
  */
 #define CFG_EARLY_STOP_SCAN_MIN_THRESHOLD           "gEarlyStopScanMinThreshold"
-#define CFG_EARLY_STOP_SCAN_MIN_THRESHOLD_MIN       (-60)
-#define CFG_EARLY_STOP_SCAN_MIN_THRESHOLD_MAX       (-40)
-#define CFG_EARLY_STOP_SCAN_MIN_THRESHOLD_DEFAULT   (-45)
+#define CFG_EARLY_STOP_SCAN_MIN_THRESHOLD_MIN       (-80)
+#define CFG_EARLY_STOP_SCAN_MIN_THRESHOLD_MAX       (-70)
+#define CFG_EARLY_STOP_SCAN_MIN_THRESHOLD_DEFAULT   (-78)
 /*
  * Early stop scan maximum threshold is the maximum threshold
- * to be considered for stopping the scan. The algorithm starts
- * with a scan on the greedy channel list with the minimum threshold
- * and steps up the threshold by 20% for each further channel.
- * It can step up on each channel but cannot exceed the maximum
- * threshold.
+ * at which the candidate AP should be to be qualified as a
+ * potential roam candidate and good enough to stop the roaming scan
  */
 #define CFG_EARLY_STOP_SCAN_MAX_THRESHOLD           "gEarlyStopScanMaxThreshold"
-#define CFG_EARLY_STOP_SCAN_MAX_THRESHOLD_MIN       (-80)
-#define CFG_EARLY_STOP_SCAN_MAX_THRESHOLD_MAX       (-70)
-#define CFG_EARLY_STOP_SCAN_MAX_THRESHOLD_DEFAULT   (-78)
+#define CFG_EARLY_STOP_SCAN_MAX_THRESHOLD_MIN       (-60)
+#define CFG_EARLY_STOP_SCAN_MAX_THRESHOLD_MAX       (-40)
+#define CFG_EARLY_STOP_SCAN_MAX_THRESHOLD_DEFAULT   (-45)
 
 /*---------------------------------------------------------------------------
    Type declarations