qcacld-3.0: Add MLME CFG items of QOS aggregation configs
Add the following QOS tx/rx aggregation related ini configs to MLME CFG: 1. CFG_TX_AGGREGATION_SIZE 2. CFG_TX_AGGREGATION_SIZEBE 3. CFG_TX_AGGREGATION_SIZEBK 4. CFG_TX_AGGREGATION_SIZEVI 5. CFG_TX_AGGREGATION_SIZEVO 6. CFG_RX_AGGREGATION_SIZE 7. CFG_TX_AGGR_SW_RETRY_BE 8. CFG_TX_AGGR_SW_RETRY_BK 9. CFG_TX_AGGR_SW_RETRY_VI 10. CFG_TX_AGGR_SW_RETRY_VO 11. CFG_SAP_MAX_INACTIVITY_OVERRIDE_NAME Change-Id: I209a29695b08375796e02985e90332a3bd3c5b96 CRs-Fixed: 2313294
This commit is contained in:

committed by
nshrivas

parent
04cc7c2128
commit
17afb8410c
337
components/mlme/dispatcher/inc/cfg_qos.h
Normal file
337
components/mlme/dispatcher/inc/cfg_qos.h
Normal file
@@ -0,0 +1,337 @@
|
||||
/*
|
||||
* Copyright (c) 2012-2018 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
|
||||
* above copyright notice and this permission notice appear in all
|
||||
* copies.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
|
||||
* WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
|
||||
* WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
|
||||
* AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
|
||||
* DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
|
||||
* PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
||||
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/**
|
||||
* DOC: This file contains centralized definitions of QOS related
|
||||
* converged configurations.
|
||||
*/
|
||||
|
||||
#ifndef __CFG_MLME_QOS_H
|
||||
#define __CFG_MLME_QOS_H
|
||||
|
||||
/*
|
||||
* <ini>
|
||||
* gTxAggregationSize - Gives an option to configure Tx aggregation size
|
||||
* in no of MPDUs
|
||||
* @Min: 0
|
||||
* @Max: 64
|
||||
* @Default: 64
|
||||
*
|
||||
* gTxAggregationSize gives an option to configure Tx aggregation size
|
||||
* in no of MPDUs.This can be useful in debugging throughput issues
|
||||
*
|
||||
* Related: None
|
||||
*
|
||||
* Supported Feature: STA
|
||||
*
|
||||
* Usage: Internal/External
|
||||
*
|
||||
* </ini>
|
||||
*/
|
||||
#define CFG_TX_AGGREGATION_SIZE CFG_INI_UINT( \
|
||||
"gTxAggregationSize", \
|
||||
0, \
|
||||
64, \
|
||||
64, \
|
||||
CFG_VALUE_OR_DEFAULT, \
|
||||
"Tx Aggregation size value")
|
||||
|
||||
/*
|
||||
* <ini>
|
||||
* gTxAggregationSizeBE - To configure Tx aggregation size for BE queue
|
||||
* in no of MPDUs
|
||||
* @Min: 0
|
||||
* @Max: 64
|
||||
* @Default: 0
|
||||
*
|
||||
* gTxAggregationSizeBE gives an option to configure Tx aggregation size
|
||||
* for BE queue in no of MPDUs.This can be useful in debugging
|
||||
* throughput issues
|
||||
*
|
||||
* Related: None
|
||||
*
|
||||
* Supported Feature: STA
|
||||
*
|
||||
* Usage: Internal
|
||||
*
|
||||
* </ini>
|
||||
*/
|
||||
#define CFG_TX_AGGREGATION_SIZEBE CFG_INI_UINT( \
|
||||
"gTxAggregationSizeBE", \
|
||||
0, \
|
||||
64, \
|
||||
0, \
|
||||
CFG_VALUE_OR_DEFAULT, \
|
||||
"Tx Aggregation size value BE")
|
||||
|
||||
/*
|
||||
* <ini>
|
||||
* gTxAggregationSizeBK - To configure Tx aggregation size for BK queue
|
||||
* in no of MPDUs
|
||||
* @Min: 0
|
||||
* @Max: 64
|
||||
* @Default: 0
|
||||
*
|
||||
* gTxAggregationSizeBK gives an option to configure Tx aggregation size
|
||||
* for BK queue in no of MPDUs.This can be useful in debugging
|
||||
* throughput issues
|
||||
*
|
||||
* Related: None
|
||||
*
|
||||
* Supported Feature: STA
|
||||
*
|
||||
* Usage: Internal
|
||||
*
|
||||
* </ini>
|
||||
*/
|
||||
#define CFG_TX_AGGREGATION_SIZEBK CFG_INI_UINT( \
|
||||
"gTxAggregationSizeBK", \
|
||||
0, \
|
||||
64, \
|
||||
0, \
|
||||
CFG_VALUE_OR_DEFAULT, \
|
||||
"Tx Aggregation size value BK")
|
||||
|
||||
/*
|
||||
* <ini>
|
||||
* gTxAggregationSizeVI - To configure Tx aggregation size for VI queue
|
||||
* in no of MPDUs
|
||||
* @Min: 0
|
||||
* @Max: 64
|
||||
* @Default: 0
|
||||
*
|
||||
* gTxAggregationSizeVI gives an option to configure Tx aggregation size
|
||||
* for VI queue in no of MPDUs.This can be useful in debugging
|
||||
* throughput issues
|
||||
*
|
||||
* Related: None
|
||||
*
|
||||
* Supported Feature: STA
|
||||
*
|
||||
* Usage: Internal
|
||||
*
|
||||
* </ini>
|
||||
*/
|
||||
#define CFG_TX_AGGREGATION_SIZEVI CFG_INI_UINT( \
|
||||
"gTxAggregationSizeVI", \
|
||||
0, \
|
||||
64, \
|
||||
0, \
|
||||
CFG_VALUE_OR_DEFAULT, \
|
||||
"Tx Aggregation size value for VI")
|
||||
|
||||
/*
|
||||
* <ini>
|
||||
* gTxAggregationSizeVO - To configure Tx aggregation size for VO queue
|
||||
* in no of MPDUs
|
||||
* @Min: 0
|
||||
* @Max: 64
|
||||
* @Default: 0
|
||||
*
|
||||
* gTxAggregationSizeVO gives an option to configure Tx aggregation size
|
||||
* for BE queue in no of MPDUs.This can be useful in debugging
|
||||
* throughput issues
|
||||
*
|
||||
* Related: None
|
||||
*
|
||||
* Supported Feature: STA
|
||||
*
|
||||
* Usage: Internal
|
||||
*
|
||||
* </ini>
|
||||
*/
|
||||
#define CFG_TX_AGGREGATION_SIZEVO CFG_INI_UINT( \
|
||||
"gTxAggregationSizeVO", \
|
||||
0, \
|
||||
64, \
|
||||
0, \
|
||||
CFG_VALUE_OR_DEFAULT, \
|
||||
"Tx Aggregation size value for VO")
|
||||
|
||||
/*
|
||||
* <ini>
|
||||
* gRxAggregationSize - Gives an option to configure Rx aggregation size
|
||||
* in no of MPDUs
|
||||
* @Min: 1
|
||||
* @Max: 64
|
||||
* @Default: 64
|
||||
*
|
||||
* gRxAggregationSize gives an option to configure Rx aggregation size
|
||||
* in no of MPDUs. This can be useful in debugging throughput issues
|
||||
*
|
||||
* Related: None
|
||||
*
|
||||
* Supported Feature: STA
|
||||
*
|
||||
* Usage: Internal/External
|
||||
*
|
||||
* </ini>
|
||||
*/
|
||||
#define CFG_RX_AGGREGATION_SIZE CFG_INI_UINT( \
|
||||
"gRxAggregationSize", \
|
||||
1, \
|
||||
64, \
|
||||
64, \
|
||||
CFG_VALUE_OR_DEFAULT, \
|
||||
"Rx Aggregation size value")
|
||||
|
||||
/*
|
||||
* <ini>
|
||||
* gTxAggSwRetryBE - Configure Tx aggregation sw retry for BE
|
||||
* @Min: 0
|
||||
* @Max: 64
|
||||
* @Default: 0
|
||||
*
|
||||
* gTxAggSwRetryBE gives an option to configure Tx aggregation sw
|
||||
* retry for BE. This can be useful in debugging throughput issues.
|
||||
*
|
||||
* Related: None
|
||||
*
|
||||
* Supported Feature: STA
|
||||
*
|
||||
* Usage: Internal
|
||||
*
|
||||
* </ini>
|
||||
*/
|
||||
#define CFG_TX_AGGR_SW_RETRY_BE CFG_INI_UINT( \
|
||||
"gTxAggSwRetryBE", \
|
||||
0, \
|
||||
64, \
|
||||
0, \
|
||||
CFG_VALUE_OR_DEFAULT, \
|
||||
"Tx aggregation retry value for BE")
|
||||
|
||||
/*
|
||||
* <ini>
|
||||
* gTxAggSwRetryBK - Configure Tx aggregation sw retry for BK
|
||||
* @Min: 0
|
||||
* @Max: 64
|
||||
* @Default: 0
|
||||
*
|
||||
* gTxAggSwRetryBK gives an option to configure Tx aggregation sw
|
||||
* retry for BK. This can be useful in debugging throughput issues.
|
||||
*
|
||||
* Related: None
|
||||
*
|
||||
* Supported Feature: STA
|
||||
*
|
||||
* Usage: Internal
|
||||
*
|
||||
* </ini>
|
||||
*/
|
||||
#define CFG_TX_AGGR_SW_RETRY_BK CFG_INI_UINT( \
|
||||
"gTxAggSwRetryBK", \
|
||||
0, \
|
||||
64, \
|
||||
0, \
|
||||
CFG_VALUE_OR_DEFAULT, \
|
||||
"Tx aggregation retry value for BK")
|
||||
|
||||
/*
|
||||
* <ini>
|
||||
* gTxAggSwRetryVI - Configure Tx aggregation sw retry for VI
|
||||
* @Min: 0
|
||||
* @Max: 64
|
||||
* @Default: 0
|
||||
*
|
||||
* gTxAggSwRetryVI gives an option to configure Tx aggregation sw
|
||||
* retry for VI. This can be useful in debugging throughput issues.
|
||||
*
|
||||
* Related: None
|
||||
*
|
||||
* Supported Feature: STA
|
||||
*
|
||||
* Usage: Internal
|
||||
*
|
||||
* </ini>
|
||||
*/
|
||||
#define CFG_TX_AGGR_SW_RETRY_VI CFG_INI_UINT( \
|
||||
"gTxAggSwRetryVI", \
|
||||
0, \
|
||||
64, \
|
||||
0, \
|
||||
CFG_VALUE_OR_DEFAULT, \
|
||||
"Tx aggregation retry value for VI")
|
||||
|
||||
/*
|
||||
* <ini>
|
||||
* gTxAggSwRetryVO - Configure Tx aggregation sw retry for VO
|
||||
* @Min: 0
|
||||
* @Max: 64
|
||||
* @Default: 0
|
||||
*
|
||||
* gTxAggSwRetryVO gives an option to configure Tx aggregation sw
|
||||
* retry for VO. This can be useful in debugging throughput issues.
|
||||
*
|
||||
* Related: None
|
||||
*
|
||||
* Supported Feature: STA
|
||||
*
|
||||
* Usage: Internal
|
||||
*
|
||||
* </ini>
|
||||
*/
|
||||
#define CFG_TX_AGGR_SW_RETRY_VO CFG_INI_UINT( \
|
||||
"gTxAggSwRetryVO", \
|
||||
0, \
|
||||
64, \
|
||||
0, \
|
||||
CFG_VALUE_OR_DEFAULT, \
|
||||
"Tx aggregation retry value for VO")
|
||||
|
||||
/*
|
||||
* <ini>
|
||||
* gSapMaxInactivityOverride - Configure
|
||||
* @Min: 0
|
||||
* @Max: 1
|
||||
* @Default: 0
|
||||
*
|
||||
* This parameter will avoid updating ap_sta_inactivity from hostapd.conf
|
||||
* file. If a station does not send anything in ap_max_inactivity seconds, an
|
||||
* empty data frame is sent to it in order to verify whether it is
|
||||
* still in range. If this frame is not ACKed, the station will be
|
||||
* disassociated and then deauthenticated. This feature is used to
|
||||
* clear station table of old entries when the STAs move out of the
|
||||
* range.
|
||||
*
|
||||
* Related: None
|
||||
*
|
||||
* Supported Feature: SAP
|
||||
*
|
||||
* Usage: Internal/External
|
||||
* </ini>
|
||||
*/
|
||||
#define CFG_SAP_MAX_INACTIVITY_OVERRIDE CFG_INI_BOOL( \
|
||||
"gSapMaxInactivityOverride", \
|
||||
0, \
|
||||
"SAP maximum inactivity override flag")
|
||||
|
||||
#define CFG_QOS_ALL \
|
||||
CFG(CFG_TX_AGGREGATION_SIZE) \
|
||||
CFG(CFG_TX_AGGREGATION_SIZEBE) \
|
||||
CFG(CFG_TX_AGGREGATION_SIZEBK) \
|
||||
CFG(CFG_TX_AGGREGATION_SIZEVI) \
|
||||
CFG(CFG_TX_AGGREGATION_SIZEVO) \
|
||||
CFG(CFG_RX_AGGREGATION_SIZE) \
|
||||
CFG(CFG_TX_AGGR_SW_RETRY_BE) \
|
||||
CFG(CFG_TX_AGGR_SW_RETRY_BK) \
|
||||
CFG(CFG_TX_AGGR_SW_RETRY_VI) \
|
||||
CFG(CFG_TX_AGGR_SW_RETRY_VO) \
|
||||
CFG(CFG_SAP_MAX_INACTIVITY_OVERRIDE)
|
||||
|
||||
#endif /* __CFG_MLME_QOS_H */
|
Reference in New Issue
Block a user