diff options
author | Johannes Berg <johannes.berg@intel.com> | 2022-03-04 13:21:25 +0200 |
---|---|---|
committer | Luca Coelho <luciano.coelho@intel.com> | 2022-03-10 09:23:28 +0200 |
commit | bb16ffd561b60638108f1cc97b08f18270468678 (patch) | |
tree | 4fbdbc6b5c553d3d978c729b4433e5e16fb33750 | |
parent | 7b9f485091a5755f6e0a7dd3725f3b312768ecd0 (diff) | |
download | linux-bb16ffd561b60638108f1cc97b08f18270468678.tar.bz2 |
iwlwifi: use 4k queue size for Bz A-step
There's a hardware bug in Bz A-step that can be worked
around by using 4k queue size, so do that.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20220304131517.10ea0e115d05.Idfb3706133bf3b15f1f68f1145e77e89947449d1@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
-rw-r--r-- | drivers/net/wireless/intel/iwlwifi/queue/tx.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/queue/tx.c b/drivers/net/wireless/intel/iwlwifi/queue/tx.c index 42e631cc16e8..726185d6fab8 100644 --- a/drivers/net/wireless/intel/iwlwifi/queue/tx.c +++ b/drivers/net/wireless/intel/iwlwifi/queue/tx.c @@ -1199,6 +1199,10 @@ int iwl_txq_dyn_alloc(struct iwl_trans *trans, u32 flags, u32 sta_mask, }; int ret; + if (trans->trans_cfg->device_family == IWL_DEVICE_FAMILY_BZ && + trans->hw_rev_step == SILICON_A_STEP) + size = 4096; + txq = iwl_txq_dyn_alloc_dma(trans, size, timeout); if (IS_ERR(txq)) return PTR_ERR(txq); |