]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
iwlwifi: mvm: Increase the scan timeout guard to 30 seconds
authorIlan Peer <ilan.peer@intel.com>
Fri, 10 Dec 2021 07:06:21 +0000 (09:06 +0200)
committerPaolo Pisati <paolo.pisati@canonical.com>
Fri, 28 Jan 2022 10:03:09 +0000 (11:03 +0100)
commit156b2104b4186d0fe9c74bdd81fb882f9893f531
treee94bceddf143cfae37f2759477285e57f1ea54ab
parenteed411fc569133617bcbfe41eb7c1e841919c481
iwlwifi: mvm: Increase the scan timeout guard to 30 seconds

BugLink: https://bugs.launchpad.net/bugs/1959376
commit ced50f1133af12f7521bb777fcf4046ca908fb77 upstream.

With the introduction of 6GHz channels the scan guard timeout should
be adjusted to account for the following extreme case:

- All 6GHz channels are scanned passively: 58 channels.
- The scan is fragmented with the following parameters: 3 fragments,
  95 TUs suspend time, 44 TUs maximal out of channel time.

The above would result with scan time of more than 24 seconds. Thus,
set the timeout to 30 seconds.

Cc: stable@vger.kernel.org
Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20211210090244.3c851b93aef5.I346fa2e1d79220a6770496e773c6f87a2ad9e6c4@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
drivers/net/wireless/intel/iwlwifi/mvm/scan.c