From 0423e33f55a0b695d9bb9bb0c798204de37178d5 Mon Sep 17 00:00:00 2001 From: Jianmin Zhu Date: Sun, 21 Apr 2019 14:26:28 +0800 Subject: [PATCH] qcacld-3.0: Disable adaptive dwell scan for Roaming by default 1. There is a need for STA to find better AP to connect to, so this becomes priority over total scan duration. 2. Typically there are very few channel numbers to scan (with FW CHAN MAP) therefore any penalty with higher dwell time is compensated with the lesser number of channel. Only in case of not finding a candidate FW does full scan but that probability might reduce if AP is found in first CHAN map scan. Change-Id: Ib923c2af9b92a1465730a861a2b56393dc3d8668 CRs-Fixed: 2431846 --- components/mlme/dispatcher/inc/cfg_mlme_lfr.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/mlme/dispatcher/inc/cfg_mlme_lfr.h b/components/mlme/dispatcher/inc/cfg_mlme_lfr.h index d18a42c956cc..f20db59ff370 100644 --- a/components/mlme/dispatcher/inc/cfg_mlme_lfr.h +++ b/components/mlme/dispatcher/inc/cfg_mlme_lfr.h @@ -535,7 +535,7 @@ * roamscan_adaptive_dwell_mode - Sets dwell time adaptive mode * @Min: 0 * @Max: 4 - * @Default: 1 + * @Default: 4 * * This parameter will set the algo used in dwell time optimization during * roam scan. see enum scan_dwelltime_adaptive_mode. @@ -558,7 +558,7 @@ "roamscan_adaptive_dwell_mode", \ 0, \ 4, \ - 1, \ + 4, \ CFG_VALUE_OR_DEFAULT, \ "Sets dwell time adaptive mode")