]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: pcie: set LTR on more devices
authorJohannes Berg <johannes.berg@intel.com>
Fri, 15 Jan 2021 11:05:54 +0000 (13:05 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 25 Jan 2021 13:53:03 +0000 (15:53 +0200)
commit7baf7bbb00d841d991a86c27dce153ada64cf14e
tree9b9069b75677fd9a4309ebff5b4cd1994070ff05
parent854c3fa67783f02df81b2477f200234f0be9d1f4
iwlwifi: pcie: set LTR on more devices

To avoid completion timeouts during device boot, set up the
LTR timeouts on more devices - similar to what we had before
for AX210.

This also corrects the AX210 workaround to be done only on
discrete (non-integrated) devices, otherwise the registers
have no effect.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Fixes: 7697ab98440e ("iwlwifi: pcie: set LTR to avoid completion timeout")
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/iwlwifi.20210115130252.fb819e19530b.I0396f82922db66426f52fbb70d32a29c8fd66951@changeid
drivers/net/wireless/intel/iwlwifi/iwl-prph.h
drivers/net/wireless/intel/iwlwifi/pcie/ctxt-info-gen3.c