mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
fix(wifi) : Made changes to scan and doing it group decreasing scan time and increasing throughput
This commit is contained in:
@@ -199,7 +199,8 @@ typedef enum {
|
|||||||
.scan_time.active.min = WIFI_ACTIVE_SCAN_MIN_DEFAULT_TIME, \
|
.scan_time.active.min = WIFI_ACTIVE_SCAN_MIN_DEFAULT_TIME, \
|
||||||
.scan_time.active.max = WIFI_ACTIVE_SCAN_MAX_DEFAULT_TIME, \
|
.scan_time.active.max = WIFI_ACTIVE_SCAN_MAX_DEFAULT_TIME, \
|
||||||
.scan_time.passive = WIFI_PASSIVE_SCAN_DEFAULT_TIME, \
|
.scan_time.passive = WIFI_PASSIVE_SCAN_DEFAULT_TIME, \
|
||||||
.home_chan_dwell_time = WIFI_SCAN_HOME_CHANNEL_DWELL_DEFAULT_TIME\
|
.home_chan_dwell_time = WIFI_SCAN_HOME_CHANNEL_DWELL_DEFAULT_TIME, \
|
||||||
|
.max_offchan_duration_ms = 0 \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -265,6 +266,7 @@ typedef struct {
|
|||||||
typedef struct {
|
typedef struct {
|
||||||
wifi_scan_time_t scan_time; /**< Scan time per channel */
|
wifi_scan_time_t scan_time; /**< Scan time per channel */
|
||||||
uint8_t home_chan_dwell_time;/**< Time spent at home channel between scanning consecutive channels.*/
|
uint8_t home_chan_dwell_time;/**< Time spent at home channel between scanning consecutive channels.*/
|
||||||
|
uint16_t max_offchan_duration_ms; /**< Maximum accumulated off-channel scan duration before returning to home channel (0 = use WIFI_ACTIVE_SCAN_MAX_DEFAULT_TIME, range: 1-4500ms). */
|
||||||
} wifi_scan_default_params_t;
|
} wifi_scan_default_params_t;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
+1
-1
Submodule components/esp_wifi/lib updated: 9e91edcb2e...c765fc78f0
@@ -199,7 +199,8 @@ typedef enum {
|
|||||||
.scan_time.active.min = WIFI_ACTIVE_SCAN_MIN_DEFAULT_TIME, \
|
.scan_time.active.min = WIFI_ACTIVE_SCAN_MIN_DEFAULT_TIME, \
|
||||||
.scan_time.active.max = WIFI_ACTIVE_SCAN_MAX_DEFAULT_TIME, \
|
.scan_time.active.max = WIFI_ACTIVE_SCAN_MAX_DEFAULT_TIME, \
|
||||||
.scan_time.passive = WIFI_PASSIVE_SCAN_DEFAULT_TIME, \
|
.scan_time.passive = WIFI_PASSIVE_SCAN_DEFAULT_TIME, \
|
||||||
.home_chan_dwell_time = WIFI_SCAN_HOME_CHANNEL_DWELL_DEFAULT_TIME\
|
.home_chan_dwell_time = WIFI_SCAN_HOME_CHANNEL_DWELL_DEFAULT_TIME, \
|
||||||
|
.max_offchan_duration_ms = 0 \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -265,6 +266,7 @@ typedef struct {
|
|||||||
typedef struct {
|
typedef struct {
|
||||||
wifi_scan_time_t scan_time; /**< Scan time per channel */
|
wifi_scan_time_t scan_time; /**< Scan time per channel */
|
||||||
uint8_t home_chan_dwell_time;/**< Time spent at home channel between scanning consecutive channels.*/
|
uint8_t home_chan_dwell_time;/**< Time spent at home channel between scanning consecutive channels.*/
|
||||||
|
uint16_t max_offchan_duration_ms; /**< Maximum accumulated off-channel scan duration before returning to home channel (0 = use WIFI_ACTIVE_SCAN_MAX_DEFAULT_TIME, range: 1-4500ms). */
|
||||||
} wifi_scan_default_params_t;
|
} wifi_scan_default_params_t;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user