qcacmn: Enable chan stat event by default for WIN

CRs-Fixed: 2114541
Change-Id: I38f022f7af1ac4dfb6c87f3a9b056495bfc16e83
This commit is contained in:
Edayilliam Jayadev 2017-09-22 18:05:09 +05:30 • committed by snandini
commit 4366deab01
2 changed files with 3 additions and 0 deletions

View file

@ -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

View file

@ -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;