From 13ebd82e917875e4cb3ba3994c1449b059f06cdc Mon Sep 17 00:00:00 2001 From: Abhinav Kumar Date: Thu, 21 Nov 2019 01:25:20 +0530 Subject: [PATCH] qcacld-3.0: Make Stick time value to zero by default MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Roaming to new AP is depends on the periodic scan which occurs every 10sec in fw. Due to the default value of sticky time (btm_sticky_time) to BTM AP is 5 min, periodic roaming scan gets disabled in fw till sticky timer expiry. So FW won’t trigger a periodic scan for 5 min, in case of roaming to new AP by BTM. In case if STA roams to new AP by BTM and Disassociation Timer expires before Stick time, DUT is not able to roam to a candidate AP till Stick time expiry. In order to allow roaming just after disassociation timer expiry, Make Stick time value to zero by default. Change-Id: I0de09ec7134d543a9c934a03941bcdb57b983dc9 CRs-Fixed: 2566842 --- components/mlme/dispatcher/inc/cfg_mlme_btm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/mlme/dispatcher/inc/cfg_mlme_btm.h b/components/mlme/dispatcher/inc/cfg_mlme_btm.h index 2ac6123ead19..56353fe1b82f 100644 --- a/components/mlme/dispatcher/inc/cfg_mlme_btm.h +++ b/components/mlme/dispatcher/inc/cfg_mlme_btm.h @@ -168,7 +168,7 @@ * btm_sticky_time - Stick time after roaming to new AP by BTM * @Min: 0 * @Max: 0x0000FFFF - * @Default: 300 + * @Default: 0 * * This ini is used to configure Stick time after roaming to new AP by BTM. * Unit: seconds @@ -183,7 +183,7 @@ "btm_sticky_time", \ 0, \ 0x0000FFFF, \ - 300, \ + 0, \ CFG_VALUE_OR_DEFAULT, \ "configure Stick time after roaming to new AP by BTM")