diff --git a/umac/scan/core/src/wlan_scan_main.h b/umac/scan/core/src/wlan_scan_main.h index 353dbebc584c..8cf508156853 100644 --- a/umac/scan/core/src/wlan_scan_main.h +++ b/umac/scan/core/src/wlan_scan_main.h @@ -75,6 +75,7 @@ #define SCAN_NUM_PROBES 2 #define SCAN_NETWORK_IDLE_TIMEOUT 0 #define HIDDEN_SSID_TIME (1*60*1000) +#define SCAN_CHAN_STATS_EVENT_ENAB (false) #else #define MAX_SCAN_CACHE_SIZE 1024 #define SCAN_ACTIVE_DWELL_TIME 105 @@ -94,6 +95,7 @@ #define SCAN_NUM_PROBES 0 #define SCAN_NETWORK_IDLE_TIMEOUT 200 #define HIDDEN_SSID_TIME (0xFFFFFFFF) +#define SCAN_CHAN_STATS_EVENT_ENAB (true) #endif #define SCAN_TIMEOUT_GRACE_PERIOD 10 diff --git a/umac/scan/dispatcher/src/wlan_scan_ucfg_api.c b/umac/scan/dispatcher/src/wlan_scan_ucfg_api.c index 8e866680d521..3e3264a26efb 100644 --- a/umac/scan/dispatcher/src/wlan_scan_ucfg_api.c +++ b/umac/scan/dispatcher/src/wlan_scan_ucfg_api.c @@ -764,6 +764,7 @@ wlan_scan_global_init(struct wlan_scan_obj *scan_obj) scan_obj->scan_def.scan_f_ofdm_rates = true; scan_obj->scan_def.scan_f_2ghz = true; scan_obj->scan_def.scan_f_5ghz = true; + scan_obj->scan_def.scan_f_chan_stat_evnt = SCAN_CHAN_STATS_EVENT_ENAB; /* scan event flags */ scan_obj->scan_def.scan_ev_started = true; scan_obj->scan_def.scan_ev_completed = true;