mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 06:03:36 -04:00
qcacmn: Enable chan stat event by default for WIN
CRs-Fixed: 2114541 Change-Id: I38f022f7af1ac4dfb6c87f3a9b056495bfc16e83
This commit is contained in:
parent
41ac5cf9a7
commit
4366deab01
2 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue