qcacld-3.0: Refactor one mlme sta INI

Based on new cfg component, refactor CFG_TX_POWER_CTRL_NAME and clean
up related legacy codes.

Change-Id: I6dd317d5065c4111b71a9fe94d9b9af1f7d3d664
CRs-Fixed: 2355918
This commit is contained in:
Wu Gao
2018-11-26 11:49:00 +08:00
committed by nshrivas
parent c8baa90f9e
commit 4f8938a510
10 changed files with 29 additions and 41 deletions

View File

@@ -375,6 +375,28 @@
CFG_VALUE_OR_DEFAULT, \
"Current RSSI")
/*
* <ini>
* gAllowTPCfromAP - Support for AP power constraint
* @Min: 0
* @Max: 1
* @Default: 1
*
* This ini controls driver to honor/dishonor power constraint from AP.
*
* Related: None.
*
* Supported Feature: Concurrency
*
* Usage: Internal/External
*
* </ini>
*/
#define CFG_TX_POWER_CTRL CFG_INI_BOOL( \
"gAllowTPCfromAP", \
1, \
"Support for AP power constraint")
#define CFG_STA_ALL \
CFG(CFG_INFRA_STA_KEEP_ALIVE_PERIOD) \
CFG(CFG_TGT_GTX_USR_CFG) \
@@ -390,6 +412,7 @@
CFG(CFG_FORCE_RSNE_OVERRIDE) \
CFG(CFG_SINGLE_TID_RC) \
CFG(CFG_WT_CNF_TIMEOUT) \
CFG(CFG_CURRENT_RSSI)
CFG(CFG_CURRENT_RSSI) \
CFG(CFG_TX_POWER_CTRL)
#endif /* CFG_MLME_STA_H__ */