Преглед изворни кода

qcacld-3.0: Add changes to add chan stats flag based on config

Currently driver is not sending channel stats flag in scan even
if gEnableSNRMonitoring configuation is enabled.

Add changes to add WMI_SCAN_CHAN_STAT_EVENT in scan flag if
gEnableSNRMonitoring is enabled

CRs-Fixed: 2031304
Change-Id: Ibc887f1030c86441aa7b3ccbddfcc3bb30c8640a
Kapil Gupta пре 8 година
родитељ
комит
fa9a8c6269
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      core/hdd/src/wlan_hdd_main.c

+ 1 - 0
core/hdd/src/wlan_hdd_main.c

@@ -11000,6 +11000,7 @@ static int hdd_update_scan_config(hdd_context_t *hdd_ctx)
 	scan_cfg.conc_idle_time = cfg->idle_time_conc;
 	scan_cfg.scan_cache_aging_time = cfg->scanAgingTimeout;
 	scan_cfg.scan_dwell_time_mode = cfg->scan_adaptive_dwell_mode;
+	scan_cfg.is_snr_monitoring_enabled = cfg->fEnableSNRMonitoring;
 
 	hdd_update_pno_config(&scan_cfg.pno_cfg, cfg);