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
此提交包含在:
Gururaj Pandurangi
2020-03-19 16:41:55 -07:00
提交者 nshrivas
父節點 c257f188fc
當前提交 71a63998bf
共有 10 個檔案被更改,包括 11 行新增58 行删除

查看文件

@@ -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)

查看文件

@@ -1980,7 +1980,6 @@ struct mlme_power_usage {
* @power_usage: power usage mode, min, max, mod
* @tx_power_2g: limit tx power in 2.4 ghz
* @tx_power_5g: limit tx power in 5 ghz
* @max_tx_power: WLAN max tx power
* @current_tx_power_level: current tx power level
* @local_power_constraint: local power constraint
*/
@@ -1992,7 +1991,6 @@ struct wlan_mlme_power {
struct mlme_power_usage power_usage;
uint8_t tx_power_2g;
uint8_t tx_power_5g;
uint8_t max_tx_power;
uint8_t current_tx_power_level;
uint8_t local_power_constraint;
};