qcacld-3.0: Add INI to config tx retry threshold

Add gTxAggSwRetry for tx aggregation case, and
Add gTxNonAggSwRetry for non tx aggregation case.

Change-Id: I92265fb4e279eaf63c45f0134f997df02bca8737
CRs-Fixed: 2436305
This commit is contained in:
Paul Zhang
2019-04-12 17:11:14 +08:00
committed by nshrivas
parent 560708b1bb
commit a25f75a841
9 changed files with 137 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2012-2018 The Linux Foundation. All rights reserved.
* Copyright (c) 2012-2019 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
@@ -397,7 +397,56 @@
0, \
CFG_VALUE_OR_DEFAULT, \
"Tx non aggregation retry value for VO")
/*
* <ini>
* gTxAggSwRetry - Configure Tx aggregation sw retry
* @Min: 0
* @Max: 64
* @Default: 0
*
* gTxAggSwRetry gives an option to configure Tx aggregation sw
* retry. This can be useful in debugging throughput issues.
*
* Related: None
*
* Supported Feature: STA
*
* Usage: External
*
* </ini>
*/
#define CFG_TX_AGGR_SW_RETRY CFG_INI_UINT( \
"gTxAggSwRetry", \
0, \
64, \
0, \
CFG_VALUE_OR_DEFAULT, \
"Tx aggregation retry value")
/*
* <ini>
* gTxNonAggSwRetry - Configure Tx non aggregation sw retry
* @Min: 0
* @Max: 64
* @Default: 0
*
* gTxNonAggSwRetry gives an option to configure Tx non aggregation sw
* retry. This can be useful in debugging throughput issues.
*
* Related: None
*
* Supported Feature: STA
*
* Usage: External
*
* </ini>
*/
#define CFG_TX_NON_AGGR_SW_RETRY CFG_INI_UINT( \
"gTxNonAggSwRetry", \
0, \
64, \
0, \
CFG_VALUE_OR_DEFAULT, \
"Tx non aggregation retry value")
/*
* <ini>
* gSapMaxInactivityOverride - Configure
@@ -459,10 +508,12 @@
CFG(CFG_TX_AGGR_SW_RETRY_BK) \
CFG(CFG_TX_AGGR_SW_RETRY_VI) \
CFG(CFG_TX_AGGR_SW_RETRY_VO) \
CFG(CFG_TX_AGGR_SW_RETRY) \
CFG(CFG_TX_NON_AGGR_SW_RETRY_BE) \
CFG(CFG_TX_NON_AGGR_SW_RETRY_BK) \
CFG(CFG_TX_NON_AGGR_SW_RETRY_VI) \
CFG(CFG_TX_NON_AGGR_SW_RETRY_VO) \
CFG(CFG_TX_NON_AGGR_SW_RETRY) \
CFG(CFG_SAP_QOS_UAPSD)
#endif /* __CFG_MLME_QOS_H */