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 65b21c27a9dc..fbf7357a560f 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 @@ -1,5 +1,6 @@ /* * Copyright (c) 2020-2021, The Linux Foundation. All rights reserved. + * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -703,6 +704,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 @@ -733,6 +735,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 20847eebe623..4d09037a3fe9 100644 --- a/components/wmi/src/wmi_unified_roam_tlv.c +++ b/components/wmi/src/wmi_unified_roam_tlv.c @@ -1,5 +1,6 @@ /* * Copyright (c) 2013-2021, The Linux Foundation. All rights reserved. + * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -2329,6 +2330,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; diff --git a/core/sme/src/csr/csr_api_roam.c b/core/sme/src/csr/csr_api_roam.c index 7a3b00c5916e..7a13f642836d 100644 --- a/core/sme/src/csr/csr_api_roam.c +++ b/core/sme/src/csr/csr_api_roam.c @@ -18725,6 +18725,8 @@ csr_cm_roam_scan_offload_fill_scan_params( /* Parameters updated after association is complete */ wlan_scan_cfg_get_passive_dwelltime(mac->psoc, &scan_params->dwell_time_passive); + wlan_scan_cfg_get_min_dwelltime_6g(mac->psoc, + &scan_params->min_dwell_time_6ghz); /* * Here is the formula, * T(HomeAway) = N * T(dwell) + (N+1) * T(cs)