mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 17:08:10 +00:00
wifi: iwlwifi: mvm: reduce maximum RX A-MPDU size
Since 1024 isn't being tested right now, allow only 512 for now. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Gregory Greenman <gregory.greenman@intel.com> Link: https://lore.kernel.org/r/20230830112059.6e80366716ad.I19022084ac978b9960b12b205c052a83ab141203@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
3d6d21b292
commit
09212dd727
3 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
|
||||
/*
|
||||
* Copyright (C) 2005-2014, 2019-2021 Intel Corporation
|
||||
* Copyright (C) 2005-2014, 2019-2021, 2023 Intel Corporation
|
||||
* Copyright (C) 2013-2015 Intel Mobile Communications GmbH
|
||||
* Copyright (C) 2016-2017 Intel Deutschland GmbH
|
||||
*/
|
||||
|
@ -76,7 +76,7 @@ enum iwl_tx_queue_cfg_actions {
|
|||
TX_QUEUE_CFG_TFD_SHORT_FORMAT = BIT(1),
|
||||
};
|
||||
|
||||
#define IWL_DEFAULT_QUEUE_SIZE_EHT (1024 * 4)
|
||||
#define IWL_DEFAULT_QUEUE_SIZE_EHT (512 * 4)
|
||||
#define IWL_DEFAULT_QUEUE_SIZE_HE 1024
|
||||
#define IWL_DEFAULT_QUEUE_SIZE 256
|
||||
#define IWL_MGMT_QUEUE_SIZE 16
|
||||
|
|
|
@ -1136,7 +1136,7 @@ iwl_op_mode_mvm_start(struct iwl_trans *trans, const struct iwl_cfg *cfg,
|
|||
return NULL;
|
||||
|
||||
if (trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_BZ)
|
||||
max_agg = IEEE80211_MAX_AMPDU_BUF_EHT;
|
||||
max_agg = 512;
|
||||
else
|
||||
max_agg = IEEE80211_MAX_AMPDU_BUF_HE;
|
||||
|
||||
|
|
|
@ -827,7 +827,7 @@ static int iwl_mvm_get_queue_size(struct ieee80211_sta *sta)
|
|||
if (!link)
|
||||
continue;
|
||||
|
||||
/* support for 1k ba size */
|
||||
/* support for 512 ba size */
|
||||
if (link->eht_cap.has_eht &&
|
||||
max_size < IWL_DEFAULT_QUEUE_SIZE_EHT)
|
||||
max_size = IWL_DEFAULT_QUEUE_SIZE_EHT;
|
||||
|
|
Loading…
Reference in a new issue