From c2f45cf1d9be701707445980b6b0baeee67702a6 Mon Sep 17 00:00:00 2001 From: Srinivas Dasari Date: Thu, 21 Jul 2022 17:04:02 +0530 Subject: [PATCH] qcacld-3.0: Enable the ini param enable_pending_list_req by default Firmware aborts the ongoing scan upon receiving new scan channel list (through WMI_SCAN_CHAN_LIST_CMDID). Channel list might get updated from userspace through commands like country code change, power level change(SET_FCC_CHANNEL),... It affects the features that are dependent on that scan, e.g. ongoing connection, p2p find, etc.. Few frames might be stuck in firmware as the scan is canceled. It's recommended to defer the scan channel list update till the current scan is done. This is already supported and guarded through the ini param enable_pending_list_req but disabled by default. Enable the ini param to make sure above scenarios are not affected due to channel list update. Change-Id: I4176bb6a03657cf32f0c099b72254d61207ea6ca CRs-Fixed: 3250137 --- components/mlme/dispatcher/inc/cfg_mlme_reg.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/components/mlme/dispatcher/inc/cfg_mlme_reg.h b/components/mlme/dispatcher/inc/cfg_mlme_reg.h index c28c119db46b..24c6f54a4d0f 100644 --- a/components/mlme/dispatcher/inc/cfg_mlme_reg.h +++ b/components/mlme/dispatcher/inc/cfg_mlme_reg.h @@ -1,5 +1,6 @@ /* * Copyright (c) 2012-2020 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 @@ -292,7 +293,7 @@ * enable_pending_list_req - Sets Pending channel List Req. * @Min: 0 * @Max: 1 - * @Default: 0 + * @Default: 1 * * This option enables/disables SCAN_CHAN_LIST_CMDID channel list command to FW * till the current scan is complete. @@ -307,7 +308,7 @@ */ #define CFG_ENABLE_PENDING_CHAN_LIST_REQ CFG_INI_BOOL( \ "enable_pending_list_req", \ - 0, \ + 1, \ "Enable Pending list req") /*