qcacld-3.0: Cleanup instances of CFG_MAX_TX_POWER

Remove max_tx_power from wlan_mlme_power struct
and ini_tx_power from lim_max_tx_pwr_attr struct
and all their instances.

Change-Id: I982a15b71b64d368b623128e04f09a8f3bf4f5ec
CRs-Fixed: 2645922
This commit is contained in:
Gururaj Pandurangi
2020-03-19 16:41:55 -07:00
committed by nshrivas
parent c257f188fc
commit 71a63998bf
10 changed files with 11 additions and 58 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2012-2019 The Linux Foundation. All rights reserved.
* Copyright (c) 2012-2020 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
@@ -116,31 +116,6 @@
CFG_VALUE_OR_DEFAULT, \
"power limit 5g")
/*
* <ini>
* gTxPowerCap - WLAN max tx power
* @Min: 0
* @Max: 128
* @Default: 128
*
* This ini is used to configure the device max tx power.
*
* Related: None.
*
* Supported Feature: Concurrency
*
* Usage: Internal/External
*
* </ini>
*/
#define CFG_MAX_TX_POWER CFG_INI_UINT( \
"gTxPowerCap", \
0, \
128, \
128, \
CFG_VALUE_OR_DEFAULT, \
"WLAN max tx power")
/*
* <cfg>
* current_tx_power_level - current tx power level
@@ -177,7 +152,6 @@
CFG(CFG_POWER_USAGE) \
CFG(CFG_SET_TXPOWER_LIMIT2G) \
CFG(CFG_SET_TXPOWER_LIMIT5G) \
CFG(CFG_MAX_TX_POWER) \
CFG(CFG_CURRENT_TX_POWER_LEVEL) \
CFG(CFG_LOCAL_POWER_CONSTRAINT)