diff --git a/components/umac/mlme/connection_mgr/core/src/wlan_cm_roam_offload.c b/components/umac/mlme/connection_mgr/core/src/wlan_cm_roam_offload.c index ccb77818b0..afe8ea4b2f 100644 --- a/components/umac/mlme/connection_mgr/core/src/wlan_cm_roam_offload.c +++ b/components/umac/mlme/connection_mgr/core/src/wlan_cm_roam_offload.c @@ -2231,6 +2231,8 @@ cm_roam_scan_offload_fill_scan_params(struct wlan_objmgr_psoc *psoc, /* Parameters updated after association is complete */ wlan_scan_cfg_get_passive_dwelltime(psoc, &scan_params->dwell_time_passive); + wlan_scan_cfg_get_min_dwelltime_6g(psoc, + &scan_params->min_dwell_time_6ghz); /* * Here is the formula, * T(HomeAway) = N * T(dwell) + (N+1) * T(cs) diff --git a/components/umac/mlme/connection_mgr/dispatcher/inc/wlan_cm_roam_public_struct.h b/components/umac/mlme/connection_mgr/dispatcher/inc/wlan_cm_roam_public_struct.h index 707c64c89a..6aa492f2d5 100644 --- a/components/umac/mlme/connection_mgr/dispatcher/inc/wlan_cm_roam_public_struct.h +++ b/components/umac/mlme/connection_mgr/dispatcher/inc/wlan_cm_roam_public_struct.h @@ -1276,6 +1276,7 @@ struct wlan_roam_fils_params { * @vdev_id: vdev id * @dwell_time_passive: dwell time in msec on passive channels * @dwell_time_active: dwell time in msec on active channels + * @min_dwell_time_6ghz: minimum dwell time in msec for 6 GHz channel * @burst_duration: Burst duration time in msec * @min_rest_time: min time in msec on the BSS channel,only valid if atleast * one VDEV is active @@ -1306,6 +1307,7 @@ struct wlan_roam_scan_params { uint32_t vdev_id; uint32_t dwell_time_passive; uint32_t dwell_time_active; + uint32_t min_dwell_time_6ghz; uint32_t burst_duration; uint32_t min_rest_time; uint32_t max_rest_time; diff --git a/components/wmi/src/wmi_unified_roam_tlv.c b/components/wmi/src/wmi_unified_roam_tlv.c index be358042e2..bbdc69dac0 100644 --- a/components/wmi/src/wmi_unified_roam_tlv.c +++ b/components/wmi/src/wmi_unified_roam_tlv.c @@ -4047,6 +4047,7 @@ wmi_fill_rso_start_scan_tlv(struct wlan_roam_scan_offload_params *rso_req, scan_tlv->dwell_time_active = src_scan_params->dwell_time_active; scan_tlv->dwell_time_passive = src_scan_params->dwell_time_passive; + scan_tlv->min_dwell_time_6ghz = src_scan_params->min_dwell_time_6ghz; scan_tlv->burst_duration = src_scan_params->burst_duration; scan_tlv->min_rest_time = src_scan_params->min_rest_time; scan_tlv->max_rest_time = src_scan_params->max_rest_time;