Merge branch 'bugfix/split_scan' into 'master'

Made changes to scan and doing it group decreasing scan time

Closes WIFIBUG-684, WIFIBUG-1163, WIFIBUG-1148, WIFIBUG-761, WIFIBUG-1680, and WIFI-5292

See merge request espressif/esp-idf!38252
This commit is contained in:
Jiang Jiang Jian
2026-08-26 11:41:40 +08:00
3 changed files with 7 additions and 3 deletions

View File

@@ -199,7 +199,8 @@ typedef enum {
.scan_time.active.min = WIFI_ACTIVE_SCAN_MIN_DEFAULT_TIME, \
.scan_time.active.max = WIFI_ACTIVE_SCAN_MAX_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 {
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.*/
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;
/**

View File

@@ -199,7 +199,8 @@ typedef enum {
.scan_time.active.min = WIFI_ACTIVE_SCAN_MIN_DEFAULT_TIME, \
.scan_time.active.max = WIFI_ACTIVE_SCAN_MAX_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 {
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.*/
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;
/**