|
@@ -1309,13 +1309,14 @@ enum hdd_dot11_mode {
|
|
|
/*
|
|
|
* <ini>
|
|
|
* hostscan_adaptive_dwell_mode - Enable adaptive dwell mode
|
|
|
- * during host scan
|
|
|
+ * during host scan with conneciton
|
|
|
* @Min: 0
|
|
|
* @Max: 4
|
|
|
- * @Default: 1
|
|
|
+ * @Default: 2
|
|
|
*
|
|
|
* This ini will set the algo used in dwell time optimization
|
|
|
- * during host scan. see enum wmi_dwelltime_adaptive_mode.
|
|
|
+ * during host scan with connection.
|
|
|
+ * See enum wmi_dwelltime_adaptive_mode.
|
|
|
* Acceptable values for this:
|
|
|
* 0: Default (Use firmware default mode)
|
|
|
* 1: Conservative optimization
|
|
@@ -1334,7 +1335,38 @@ enum hdd_dot11_mode {
|
|
|
#define CFG_ADAPTIVE_SCAN_DWELL_MODE_NAME "hostscan_adaptive_dwell_mode"
|
|
|
#define CFG_ADAPTIVE_SCAN_DWELL_MODE_MIN (0)
|
|
|
#define CFG_ADAPTIVE_SCAN_DWELL_MODE_MAX (4)
|
|
|
-#define CFG_ADAPTIVE_SCAN_DWELL_MODE_DEFAULT (1)
|
|
|
+#define CFG_ADAPTIVE_SCAN_DWELL_MODE_DEFAULT (2)
|
|
|
+
|
|
|
+/*
|
|
|
+ * <ini>
|
|
|
+ * hostscan_adaptive_dwell_mode_no_conn - Enable adaptive dwell mode
|
|
|
+ * during host scan without connection
|
|
|
+ * @Min: 0
|
|
|
+ * @Max: 4
|
|
|
+ * @Default: 1
|
|
|
+ *
|
|
|
+ * This ini will set the algo used in dwell time optimization
|
|
|
+ * during host scan without connection.
|
|
|
+ * See enum wmi_dwelltime_adaptive_mode.
|
|
|
+ * Acceptable values for this:
|
|
|
+ * 0: Default (Use firmware default mode)
|
|
|
+ * 1: Conservative optimization
|
|
|
+ * 2: Moderate optimization
|
|
|
+ * 3: Aggressive optimization
|
|
|
+ * 4: Static
|
|
|
+ *
|
|
|
+ * Related: None
|
|
|
+ *
|
|
|
+ * Supported Feature: Scan
|
|
|
+ *
|
|
|
+ * Usage: External
|
|
|
+ *
|
|
|
+ * </ini>
|
|
|
+ */
|
|
|
+#define CFG_ADAPTIVE_SCAN_DWELL_MODE_NC_NAME "hostscan_adaptive_dwell_mode_no_conn"
|
|
|
+#define CFG_ADAPTIVE_SCAN_DWELL_MODE_NC_MIN (0)
|
|
|
+#define CFG_ADAPTIVE_SCAN_DWELL_MODE_NC_MAX (4)
|
|
|
+#define CFG_ADAPTIVE_SCAN_DWELL_MODE_NC_DEFAULT (1)
|
|
|
|
|
|
/*
|
|
|
* <ini>
|
|
@@ -14626,6 +14658,7 @@ struct hdd_config {
|
|
|
uint8_t dp_trace_config[DP_TRACE_CONFIG_STRING_LENGTH];
|
|
|
bool adaptive_dwell_mode_enabled;
|
|
|
enum wmi_dwelltime_adaptive_mode scan_adaptive_dwell_mode;
|
|
|
+ enum wmi_dwelltime_adaptive_mode scan_adaptive_dwell_mode_nc;
|
|
|
enum wmi_dwelltime_adaptive_mode roamscan_adaptive_dwell_mode;
|
|
|
enum wmi_dwelltime_adaptive_mode extscan_adaptive_dwell_mode;
|
|
|
enum wmi_dwelltime_adaptive_mode pnoscan_adaptive_dwell_mode;
|