wifi: iwlwifi: be less aggressive with re-probe
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 5 Feb 2025 12:55:41 +0000 (14:55 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 11 Feb 2025 10:59:47 +0000 (11:59 +0100)
commit1bbc086f49b436ec6773ce48864c80cd682888e8
treebe9f4504bf945099e2243ad17d1530b3bc9776fb
parentc9afb4cf6d2fe1b34e95b1d1db695d6054a7dc35
wifi: iwlwifi: be less aggressive with re-probe

Re-probing if we had 2 firmware crash within 3 minutes is really too
aggressive. Drastically reduce the threshold to 7 seconds.
After 7 seconds, a new firmware crash will be considered "new" and not
cause a PCI re-probe.
This allows to pass tests that cause a firmware crash every 10 seconds
and expect to see no impact on the traffic.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20250205145347.38f912b047f4.I03f0c10ae9e7ecea639431f3e089b757cc8a4347@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/iwl-trans.c