Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3563296pxb; Mon, 24 Jan 2022 12:17:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJwEoiDZEMrAt/Us5I7h1kyhOMx4FJXPhcu2XFn95BaeHSJL+gS6tPAxoDWg3Jb/yIJQwr9I X-Received: by 2002:a17:902:e550:b0:14b:6dc8:b2f4 with SMTP id n16-20020a170902e55000b0014b6dc8b2f4mr1265294plf.56.1643055473029; Mon, 24 Jan 2022 12:17:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643055473; cv=none; d=google.com; s=arc-20160816; b=odNKUhgRzx171zBocm2QUUROiGHxAgiL8ZFw/EVO25733684IsIvcoHusoqqBHTTfR w5XAbmW1gDpYBgh3GQ3zjAkcfjSnhr6lgx8fkI9T+6f/qHQziyOZnlOaLl81cNpUCFY/ pzSuUdgE6kYpqM9Itaps4QKu7MkiF8WMNclsERnkAHn9801sPKpAE2taI5pYLfn1DyUu uukkD2iGwumvouMs0IomdRlJmCltXzekgJU/DhDqY38HBDmk5FbwKK6dMkm7fAHL0nik bkhfLXxIU2OO6zECocsvyg3/nKMRYeWR/36NU2ML9JxslTDvyI8yH38Hma7YDkQcdYWq lDcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Fnl9dCrWM1xk2Oh6lLiwuxLl6U8exM0OvguONiJ8IcY=; b=iWa493LGmxF4qZ7Oj5tQkuRr72GLwRoLvM4YhPCqn8arTZNBsVp+PjyeyKd7FcG9L3 bC7F6A4WNT6vq/CTrVTnTbZgMCH93UqAhTs5+e8ZaNtdVdDesxByqzu+ARIt8l9Ex3Pn vhN6rmT9kXq3HTC2nriy80qPHooMnW5nTXh2XaA3uotH+jJQvR1vrmYDjMh0xk8ecJls l2r4NB4qOoyKgcgd2wIrUb8aR5zcamJHgycDV7POAWEwzKYl1MJ+8t9/W8nr7WOv12wU q0QTWLLc5B/ckaQtQXfhyD7b0qBbIwyZ1GoTHSiNtiksOXzygvDba1PS5t+oEVU+rq4t Aq/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=agBFyL9r; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h14si16079906pfc.358.2022.01.24.12.17.40; Mon, 24 Jan 2022 12:17:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=agBFyL9r; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349023AbiAXTUE (ORCPT + 99 others); Mon, 24 Jan 2022 14:20:04 -0500 Received: from dfw.source.kernel.org ([139.178.84.217]:41294 "EHLO dfw.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345985AbiAXTLr (ORCPT ); Mon, 24 Jan 2022 14:11:47 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5FB0660917; Mon, 24 Jan 2022 19:11:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 26F05C340E7; Mon, 24 Jan 2022 19:11:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643051504; bh=k21YH/uuN8XFtF3EbvXNG34739hKfvE7WtQ6riUioMw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=agBFyL9rMi0VT7+Hr01ACFCZture83+kE1usEUdCzGOpTtHc0EC7YhF/2HP7thZS+ OgxEsMz05FHfiWDjEdx0ebKKiWtRtkabYXfzy2qbJFtOaBjzZYB1+Ch9ZG4uGJ2Ovs 2iLzro+bCqm+vBzJrR31VpYOmKv9YVm+vQsNgdU4= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Ilan Peer , Luca Coelho Subject: [PATCH 4.14 151/186] iwlwifi: mvm: Increase the scan timeout guard to 30 seconds Date: Mon, 24 Jan 2022 19:43:46 +0100 Message-Id: <20220124183941.961355122@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124183937.101330125@linuxfoundation.org> References: <20220124183937.101330125@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Ilan Peer 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 Signed-off-by: Luca Coelho Link: https://lore.kernel.org/r/iwlwifi.20211210090244.3c851b93aef5.I346fa2e1d79220a6770496e773c6f87a2ad9e6c4@changeid Signed-off-by: Luca Coelho Signed-off-by: Greg Kroah-Hartman --- drivers/net/wireless/intel/iwlwifi/mvm/scan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/net/wireless/intel/iwlwifi/mvm/scan.c +++ b/drivers/net/wireless/intel/iwlwifi/mvm/scan.c @@ -1364,7 +1364,7 @@ static int iwl_mvm_check_running_scans(s return -EIO; } -#define SCAN_TIMEOUT 20000 +#define SCAN_TIMEOUT 30000 void iwl_mvm_scan_timeout_wk(struct work_struct *work) {