qcacld-3.0: Change AFC enable static configure to INI configure

Currently if host enable AFC in WMI INIT CMD, target will trigger AFC
request if current country has AP SP reg rules. We have changed regdb
on specific SP to enable AFC test, to not affect other SP which shares
regdb and FW, introduce INI to control AFC enable/disable for
flexibility.

And because currently no country support AP SP reg rule per spec,
so disable AFC by default.

Change-Id: I0e5eb2dac0a8df01635437fe8353ca5431ae5d2a
CRs-Fixed: 3393896
This commit is contained in:
Will Huang
2023-02-01 12:48:27 +08:00
committed by Madan Koyyalamudi
parent 2435db353d
commit e5e71efe2c
2 changed files with 10 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
/*
* Copyright (c) 2012-2021 The Linux Foundation. All rights reserved.
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
* Copyright (c) 2022-2023 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
@@ -333,7 +333,7 @@
* enable_6ghz_sp_pwrmode_supp - Enable 6Ghz SP power mode
* @Min: 0
* @Max: 1
* @Default: 1
* @Default: 0
*
* This cfg is used to control support of 6Ghz SP power mode.
*
@@ -342,8 +342,8 @@
* Supported Feature: SAP
*
*/
#define CFG_6GHZ_SP_POWER_MODE_SUPP CFG_BOOL( \
"enable_6ghz_sp_pwrmode_supp", true, \
#define CFG_6GHZ_SP_POWER_MODE_SUPP CFG_INI_BOOL( \
"enable_6ghz_sp_pwrmode_supp", false, \
"Enable support for SP Power mode in 6GHz")
/*