qcacld-3.0: Add INI to not consider TPE IE
Sometimes, the AP sends low values in the TPE IE resulting in low TX power. This causes DUT to have throughput/connection issues. Add an INI to skip over TPE IE only in 2g/5g case. TPE IE will always be considered in 6G band. Change-Id: Ia0750195bb0aabf304743e1ad89c8f6d0c9ef1a3 CRs-fixed: 2936492
这个提交包含在:
@@ -167,6 +167,31 @@
|
||||
#define CFG_USE_LOCAL_TPE CFG_INI_BOOL("use_local_tpe", false, \
|
||||
"use local or regulatory TPE")
|
||||
|
||||
/*
|
||||
* <ini>
|
||||
* skip_tpe_consideration - honoring TPE IE value in tx power calculation for
|
||||
* 2G/5G bands
|
||||
* @Min: 0
|
||||
* @Max: 1
|
||||
* @Default: 0
|
||||
*
|
||||
* This ini is to determine if the TPE IE should be considered in the Tx power
|
||||
* calculation. If the ini is set, host will consider TPE IE in case of 6GHz
|
||||
* only (skip over in 2GHz or 5GHz case). If the ini is not set, honor the TPE
|
||||
* IE values in all bands.
|
||||
*
|
||||
* Related: None
|
||||
*
|
||||
* Supported Feature: Transmit power calculation (TPC)
|
||||
*
|
||||
* Usage: External
|
||||
*
|
||||
* </ini>
|
||||
*/
|
||||
#define CFG_SKIP_TPE_CONSIDERATION CFG_INI_BOOL("skip_tpe_consideration", \
|
||||
false, \
|
||||
"consider TPE IE in tx power")
|
||||
|
||||
#define CFG_MLME_POWER_ALL \
|
||||
CFG(CFG_MAX_TX_POWER_2_4) \
|
||||
CFG(CFG_MAX_TX_POWER_5) \
|
||||
@@ -175,6 +200,7 @@
|
||||
CFG(CFG_SET_TXPOWER_LIMIT5G) \
|
||||
CFG(CFG_CURRENT_TX_POWER_LEVEL) \
|
||||
CFG(CFG_LOCAL_POWER_CONSTRAINT) \
|
||||
CFG(CFG_USE_LOCAL_TPE)
|
||||
CFG(CFG_USE_LOCAL_TPE) \
|
||||
CFG(CFG_SKIP_TPE_CONSIDERATION)
|
||||
|
||||
#endif /* __CFG_MLME_POWER_H */
|
||||
|
在新工单中引用
屏蔽一个用户