From 4366deab014723b96bf4b24c713deca80a1772a2 Mon Sep 17 00:00:00 2001 From: Edayilliam Jayadev Date: Fri, 22 Sep 2017 18:05:09 +0530 Subject: [PATCH] qcacmn: Enable chan stat event by default for WIN CRs-Fixed: 2114541 Change-Id: I38f022f7af1ac4dfb6c87f3a9b056495bfc16e83 --- umac/scan/core/src/wlan_scan_main.h | 2 ++ umac/scan/dispatcher/src/wlan_scan_ucfg_api.c | 1 + 2 files changed, 3 insertions(+) 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;