qcacld-3.0: Set the default SW retry limit value to 16

Set the default software retry limit value to 16 and fix the typo
in configuring the non aggregation software retry limit.

Change-Id: Ia6ef7cc39f47ef91c2c338e48561e0275445750f
CRs-Fixed: 2599467
This commit is contained in:
Kiran Kumar Lokere
2020-01-09 15:23:09 -08:00
committed by nshrivas
parent 0de5a1e7dd
commit 4dd5c4f06b
2 changed files with 6 additions and 6 deletions

View File

@@ -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 * Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the * any purpose with or without fee is hereby granted, provided that the
@@ -402,7 +402,7 @@
* gTxAggSwRetry - Configure Tx aggregation sw retry * gTxAggSwRetry - Configure Tx aggregation sw retry
* @Min: 0 * @Min: 0
* @Max: 64 * @Max: 64
* @Default: 0 * @Default: 16
* *
* gTxAggSwRetry gives an option to configure Tx aggregation sw * gTxAggSwRetry gives an option to configure Tx aggregation sw
* retry. This can be useful in debugging throughput issues. * retry. This can be useful in debugging throughput issues.
@@ -419,7 +419,7 @@
"gTxAggSwRetry", \ "gTxAggSwRetry", \
0, \ 0, \
64, \ 64, \
0, \ 16, \
CFG_VALUE_OR_DEFAULT, \ CFG_VALUE_OR_DEFAULT, \
"Tx aggregation retry value") "Tx aggregation retry value")
/* /*
@@ -427,7 +427,7 @@
* gTxNonAggSwRetry - Configure Tx non aggregation sw retry * gTxNonAggSwRetry - Configure Tx non aggregation sw retry
* @Min: 0 * @Min: 0
* @Max: 64 * @Max: 64
* @Default: 0 * @Default: 16
* *
* gTxNonAggSwRetry gives an option to configure Tx non aggregation sw * gTxNonAggSwRetry gives an option to configure Tx non aggregation sw
* retry. This can be useful in debugging throughput issues. * retry. This can be useful in debugging throughput issues.
@@ -444,7 +444,7 @@
"gTxNonAggSwRetry", \ "gTxNonAggSwRetry", \
0, \ 0, \
64, \ 64, \
0, \ 16, \
CFG_VALUE_OR_DEFAULT, \ CFG_VALUE_OR_DEFAULT, \
"Tx non aggregation retry value") "Tx non aggregation retry value")
/* /*

View File

@@ -2592,7 +2592,7 @@ QDF_STATUS wma_post_vdev_create_setup(struct wlan_objmgr_vdev *vdev)
status = wma_set_sw_retry_threshold( status = wma_set_sw_retry_threshold(
vdev_id, vdev_id,
qos_aggr->tx_non_aggr_sw_retry_threshold, qos_aggr->tx_non_aggr_sw_retry_threshold,
WMI_PDEV_PARAM_AGG_SW_RETRY_TH); WMI_PDEV_PARAM_NON_AGG_SW_RETRY_TH);
if (QDF_IS_STATUS_ERROR(status)) if (QDF_IS_STATUS_ERROR(status))
WMA_LOGE("failed to set sw retry threshold tx non aggr(status = %d)", WMA_LOGE("failed to set sw retry threshold tx non aggr(status = %d)",
status); status);