Browse Source

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
Srinivas Dasari 2 years ago
parent
commit
780d285267
1 changed files with 2 additions and 2 deletions
  1. 2 2
      components/mlme/dispatcher/inc/cfg_mlme_reg.h

+ 2 - 2
components/mlme/dispatcher/inc/cfg_mlme_reg.h

@@ -293,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.
@@ -308,7 +308,7 @@
  */
 #define CFG_ENABLE_PENDING_CHAN_LIST_REQ CFG_INI_BOOL( \
 			"enable_pending_list_req", \
-			0, \
+			1, \
 			"Enable Pending list req")
 
 /*