1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/wireless/intel/iwlwifi/pcie
Johannes Berg d8d6639702 iwlwifi: pcie: indicate correct RB size to device
In the context info, we need to indicate the correct RB size
to the device so that it will not think we have 4k when we
only use 2k. This seems to not have caused any issues right
now, likely because the hardware no longer supports putting
multiple entries into a single RB, and practically all of
the entries should be smaller than 2k.

Nevertheless, it's a bug, and we must advertise the right
size to the device.

Note that right now we can only tell it 2k vs. 4k, so for
the cases where we have more, still use 4k. This needs to
be fixed by the firmware first.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Fixes: cfdc20efeb ("iwlwifi: pcie: use partial pages if applicable")
Cc: stable@vger.kernel.org # v5.6
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/iwlwifi.20200417100405.ae6cd345764f.I0985c55223decf70182b9ef1d8edf4179f537853@changeid
2020-04-21 15:39:02 +03:00
..
ctxt-info-gen3.c iwlwifi: pcie: indicate correct RB size to device 2020-04-21 15:39:02 +03:00
ctxt-info.c wireless-drivers-next patches for v5.6 2020-01-27 11:25:36 +01:00
drv.c iwlwifi: remove support for QnJ HR FPGA 2020-03-27 08:12:50 +02:00
internal.h iwlwifi: pcie: make iwl_pcie_cmdq_reclaim static 2020-03-27 08:12:53 +02:00
rx.c iwlwifi: move integrated, extra_phy and soc_latency to trans_cfg 2020-03-27 08:12:48 +02:00
trans-gen2.c First set of patches intended for v5.6 2020-01-26 12:10:02 +02:00
trans.c iwlwifi: move integrated, extra_phy and soc_latency to trans_cfg 2020-03-27 08:12:48 +02:00
tx-gen2.c iwlwifi: pcie: actually release queue memory in TVQM 2020-04-21 15:39:00 +03:00
tx.c iwlwifi: pcie: make iwl_pcie_cmdq_reclaim static 2020-03-27 08:12:53 +02:00