diff --git a/umac/scan/dispatcher/inc/wlan_scan_public_structs.h b/umac/scan/dispatcher/inc/wlan_scan_public_structs.h index 00ff1ecf6527..a258b447b2d6 100644 --- a/umac/scan/dispatcher/inc/wlan_scan_public_structs.h +++ b/umac/scan/dispatcher/inc/wlan_scan_public_structs.h @@ -936,6 +936,7 @@ struct pno_user_cfg { * @conc_min_rest_time: default concurrent min rest time * @conc_idle_time: default concurrent idle time * @scan_cache_aging_time: default scan cache aging time + * @is_snr_monitoring_enabled: whether snr monitoring enabled or not * @scan_dwell_time_mode: Adaptive dweltime mode * @pno_cfg: Pno related config params */ @@ -948,6 +949,7 @@ struct scan_user_cfg { uint32_t conc_min_rest_time; uint32_t conc_idle_time; uint32_t scan_cache_aging_time; + bool is_snr_monitoring_enabled; enum scan_dwelltime_adaptive_mode scan_dwell_time_mode; struct pno_user_cfg pno_cfg; }; diff --git a/umac/scan/dispatcher/src/wlan_scan_ucfg_api.c b/umac/scan/dispatcher/src/wlan_scan_ucfg_api.c index 173d1d4d1661..22954baf0d2d 100644 --- a/umac/scan/dispatcher/src/wlan_scan_ucfg_api.c +++ b/umac/scan/dispatcher/src/wlan_scan_ucfg_api.c @@ -930,6 +930,7 @@ QDF_STATUS ucfg_scan_update_user_config(struct wlan_objmgr_psoc *psoc, scan_def->conc_idle_time = scan_cfg->conc_idle_time; scan_def->scan_cache_aging_time = scan_cfg->scan_cache_aging_time; scan_def->adaptive_dwell_time_mode = scan_cfg->scan_dwell_time_mode; + scan_def->scan_f_chan_stat_evnt = scan_cfg->is_snr_monitoring_enabled; return ucfg_scan_update_pno_config(&scan_obj->pno_cfg, &scan_cfg->pno_cfg);