aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Machek <[email protected]>2018-09-25 16:56:53 +0300
committerKalle Valo <[email protected]>2018-09-27 21:20:36 +0300
commit3baafeffa48a12b3cec9a0b6d4049fba02d53cea (patch)
tree5ccc5df2901bdde54443a71d487ef44ddfa4773d
parent2823c8716c687d6c7e261a3a02b3cab43809fe9c (diff)
iwlwifi: 1000: set the TFD queue size
.max_tfd_queue_size was ommited for 1000 card serries leading to oops in swiotlb. Fixes: 7b3e42ea2ead ("iwlwifi: support multiple tfd queue max sizes for different devices") Tested-by: Randy Dunlap <[email protected]> Signed-off-by: Pavel Machek <[email protected]> Signed-off-by: Emmanuel Grumbach <[email protected]> Signed-off-by: Luca Coelho <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
-rw-r--r--drivers/net/wireless/intel/iwlwifi/cfg/1000.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/cfg/1000.c b/drivers/net/wireless/intel/iwlwifi/cfg/1000.c
index 591687984962..497fd766d87c 100644
--- a/drivers/net/wireless/intel/iwlwifi/cfg/1000.c
+++ b/drivers/net/wireless/intel/iwlwifi/cfg/1000.c
@@ -51,6 +51,7 @@
static const struct iwl_base_params iwl1000_base_params = {
.num_of_queues = IWLAGN_NUM_QUEUES,
+ .max_tfd_queue_size = 256,
.eeprom_size = OTP_LOW_IMAGE_SIZE,
.pll_cfg = true,
.max_ll_items = OTP_MAX_LL_ITEMS_1000,