All of lore.kernel.org
 help / color / mirror / Atom feed
From: Luca Coelho <luca@coelho.fi>
To: kvalo@kernel.org
Cc: luca@coelho.fi, linux-wireless@vger.kernel.org
Subject: [PATCH 11/11] iwlwifi: mvm: Increase the scan timeout guard to 30 seconds
Date: Fri, 10 Dec 2021 09:06:21 +0200	[thread overview]
Message-ID: <iwlwifi.20211210090244.3c851b93aef5.I346fa2e1d79220a6770496e773c6f87a2ad9e6c4@changeid> (raw)
In-Reply-To: <20211210070621.236783-1-luca@coelho.fi>

From: Ilan Peer <ilan.peer@intel.com>

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>
---
 drivers/net/wireless/intel/iwlwifi/mvm/scan.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/scan.c b/drivers/net/wireless/intel/iwlwifi/mvm/scan.c
index 54ec5eb6c763..693afd78bc66 100644
--- a/drivers/net/wireless/intel/iwlwifi/mvm/scan.c
+++ b/drivers/net/wireless/intel/iwlwifi/mvm/scan.c
@@ -2513,7 +2513,7 @@ static int iwl_mvm_check_running_scans(struct iwl_mvm *mvm, int type)
 	return -EIO;
 }
 
-#define SCAN_TIMEOUT 20000
+#define SCAN_TIMEOUT 30000
 
 void iwl_mvm_scan_timeout_wk(struct work_struct *work)
 {
-- 
2.34.1


      parent reply	other threads:[~2021-12-10  7:06 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-10  7:06 [PATCH 00/11] iwlwifi: updates intended for v5.17 2021-12-10 part 1 Luca Coelho
2021-12-10  7:06 ` [PATCH 01/11] iwlwifi: fix Bz NMI behaviour Luca Coelho
2021-12-10  7:06 ` [PATCH 02/11] iwlwifi: fw: remove dead error log code Luca Coelho
2021-12-10  7:06 ` [PATCH 03/11] iwlwifi: pcie: add jacket bit to device configuration parsing Luca Coelho
2021-12-10  7:06 ` [PATCH 04/11] iwlwifi: Read the correct addresses when getting the crf id Luca Coelho
2021-12-10  7:06 ` [PATCH 05/11] iwlwifi: mvm: support revision 1 of WTAS table Luca Coelho
2021-12-10  7:06 ` [PATCH 06/11] iwlwifi: mvm: Add list of OEMs allowed to use TAS Luca Coelho
2021-12-10  7:06 ` [PATCH 07/11] iwlwifi: add support for BNJ HW Luca Coelho
2021-12-10  7:06 ` [PATCH 08/11] iwlwifi: mvm: rfi: update rfi table Luca Coelho
2021-12-10  7:06 ` [PATCH 09/11] iwlwifi: rs: add support for TLC config command ver 4 Luca Coelho
2021-12-10  7:06 ` [PATCH 10/11] iwlwifi: recognize missing PNVM data and then log filename Luca Coelho
2021-12-10  7:06 ` Luca Coelho [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=iwlwifi.20211210090244.3c851b93aef5.I346fa2e1d79220a6770496e773c6f87a2ad9e6c4@changeid \
    --to=luca@coelho.fi \
    --cc=kvalo@kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.