Browse Source

qcacmn: Enable chan stat event by default for WIN

CRs-Fixed: 2114541
Change-Id: I38f022f7af1ac4dfb6c87f3a9b056495bfc16e83
Edayilliam Jayadev 7 years ago
parent
commit
4366deab01

+ 2 - 0
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

+ 1 - 0
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;