mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
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
This commit is contained in:
parent
e777bf84d1
commit
c2f45cf1d9
1 changed files with 3 additions and 2 deletions
|
|
@ -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")
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue