]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: pcie: set LTR to avoid completion timeout
authorJohannes Berg <johannes.berg@intel.com>
Sat, 7 Nov 2020 08:50:10 +0000 (10:50 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 10 Nov 2020 18:45:35 +0000 (20:45 +0200)
commit2225fda2ad5bc6f87e1777c2d5ac29b9cae59ed3
tree04ff3e121024dc108ac919126c813f0701726bd8
parent084e0531121a05a8c6dd4f29c16e6190d4c1fbf1
iwlwifi: pcie: set LTR to avoid completion timeout

On some platforms, the preset values aren't correct and then we may
get a completion timeout in the firmware. Change the LTR configuration
to avoid that. The firmware will do some more complex reinit of this
later, but for the boot process we use ~250usec.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/iwlwifi.20201107104557.d83d591c05ba.I42885c9fb500bc08b9a4c07c4ff3d436cc7a3c84@changeid
drivers/net/wireless/intel/iwlwifi/iwl-csr.h
drivers/net/wireless/intel/iwlwifi/pcie/ctxt-info-gen3.c