qcacld-3.0: Add support to configure 6G roam scan dwell time
Add ini support to configure 6GHz active and passive scan dwell time and send this to firmware to be used for LFR scans via WMI_ROAM_SCAN_MODE. Based on these values, firmware will use host sent values else use hardcoded values. Currently firmware uses hardcoded values to configure 6Ghz roam scan dwell time. With this change user can configure it using INI. Change-Id: I90e79ad59eef7f73faa0b9dfd2d38b65aca12285 CRs-Fixed: 3116861
This commit is contained in:

committed by
Madan Koyyalamudi

parent
c6e91b67f8
commit
aaf60192cf
@@ -4002,6 +4002,10 @@ wmi_fill_rso_start_scan_tlv(struct wlan_roam_scan_offload_params *rso_req,
|
||||
scan_tlv->idle_time = src_scan_params->idle_time;
|
||||
scan_tlv->n_probes = src_scan_params->n_probes;
|
||||
scan_tlv->scan_ctrl_flags |= src_scan_params->scan_ctrl_flags;
|
||||
scan_tlv->dwell_time_active_6ghz =
|
||||
src_scan_params->dwell_time_active_6ghz;
|
||||
scan_tlv->dwell_time_passive_6ghz =
|
||||
src_scan_params->dwell_time_passive_6ghz;
|
||||
|
||||
WMI_SCAN_SET_DWELL_MODE(scan_tlv->scan_ctrl_flags,
|
||||
src_scan_params->rso_adaptive_dwell_mode);
|
||||
@@ -4014,8 +4018,10 @@ wmi_fill_rso_start_scan_tlv(struct wlan_roam_scan_offload_params *rso_req,
|
||||
scan_tlv->scan_ctrl_flags_ext |=
|
||||
WMI_SCAN_DBS_POLICY_DEFAULT;
|
||||
|
||||
wmi_debug("RSO_CFG: dwell time: active %d passive %d, minrest %d max rest %d repeat probe time %d probe_spacing:%d",
|
||||
wmi_debug("RSO_CFG: dwell time: active %d passive %d, active 6g %d passive 6g %d, minrest %d max rest %d repeat probe time %d probe_spacing:%d",
|
||||
scan_tlv->dwell_time_active, scan_tlv->dwell_time_passive,
|
||||
scan_tlv->dwell_time_active_6ghz,
|
||||
scan_tlv->dwell_time_passive_6ghz,
|
||||
scan_tlv->min_rest_time, scan_tlv->max_rest_time,
|
||||
scan_tlv->repeat_probe_time, scan_tlv->probe_spacing_time);
|
||||
wmi_debug("RSO_CFG: ctrl_flags:0x%x probe_delay:%d max_scan_time:%d idle_time:%d n_probes:%d",
|
||||
|
Reference in New Issue
Block a user