Found 2 other functions taking a
wifi_scan_default_params_t
argument:
Set default parameters used for scanning by station. @attention The values set using this API are also used for scans used while connecting. @attention The values of maximum active scan time and passive scan time per channel are limited to 1500 milliseconds. @attention The home_chan_dwell_time needs to be a minimum of 30ms and a maximum of 150ms. @attention Set any of the parameters to 0 to indicate using the default parameters - scan_time.active.min : 0ms, scan_time.active.max : 120ms home_chan_dwell_time : 30ms scan_time.passive : 360ms @attention Default values can be retrieved using the macro WIFI_SCAN_PARAMS_DEFAULT_CONFIG() @attention Set the config parameter to NULL to reset previously set scan parameters to their default values.
Get default parameters used for scanning by station.