Browse Source

qcacld-3.0: Make PCL mandatory for ACS

Currently the driver has the default ini of
PCL policy to select SAP channel as optional,
which leads to ACS on a band where the STA is
present, hence a waste of time, because SAP anyways
has to move to STA channel.

Fix is to make the PCL mandatory, so that the driver
doesn't waste time in ACS, and returns the best channel
of STA, to turn on hotspot fast.

Change-Id: Id9d3dd60e93c9df9e3c65ad8583d8d90058094f8
CRs-Fixed: 2395581
gaurank kathpalia 6 years ago
parent
commit
37b4636b42
1 changed files with 3 additions and 3 deletions
  1. 3 3
      components/mlme/dispatcher/inc/cfg_mlme_acs.h

+ 3 - 3
components/mlme/dispatcher/inc/cfg_mlme_acs.h

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2012-2018 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2012-2019 The Linux Foundation. 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
@@ -130,7 +130,7 @@
  * acs_policy - External ACS policy control
  * @Min: 0
  * @Max: 1
- * @Default: 0
+ * @Default: 1
  *
  * Values are per enum hdd_external_acs_policy.
  *
@@ -152,7 +152,7 @@
 
 #define CFG_EXTERNAL_ACS_POLICY CFG_INI_BOOL( \
 		"acs_policy", \
-		0, \
+		1, \
 		"External ACS Policy Control")
 
 #define CFG_ACS_ALL \