Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3728101pxb; Mon, 24 Jan 2022 16:30:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJxWcyF1bTa37sfbRaQM0BmZpXgGHs2u/z9QfgPtW3PB3SZLhPLAkFnJqjKVhLOnVk1ummny X-Received: by 2002:a17:90b:234d:: with SMTP id ms13mr873968pjb.44.1643070617396; Mon, 24 Jan 2022 16:30:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643070617; cv=none; d=google.com; s=arc-20160816; b=EQLOUT+AXKFyDIXNSR+3eBCX6m9GgWT/H0wfzlqhtCTl6iC/sLlIQqvCRMr00Z/8OA YSkemapp2i3auu0I1s5BpmGP8twSK4JaImUSBkxON3oE/2C7W5aA36aIJBabXcvP+ija XugWe75enOeGTt0aZ3rEqsZUKcj8snWvLEKnTgn4XthKHIOrnWpOx6Uvin3CjWy0qPzd 9xnJIfM5DnoHWIHyFBDEAXUG768wY72xatwGWUJbsAU7sWoMxJ23PQmeKtu1YWCPCey0 h+qkD1riBehyKpdJsS32LduCG2cCSSO2YLfznyRK6xhWzYR4LhDr0ZWU0kZgOMCeJoYV 7fvw== 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=nliJE7shz3sqBqZDTllFu+g71+iKgn3XymWQ1FSNqaI=; b=k7KoDtQFJC2M2DZFBg8IvxLb9lG+BFNlHaPpVupNhk3VnYBQ6v9Gxy5uQ912cAG4i3 ffJXUFE/ABPhtgkxMnjaTHXwKKGmgAQnWrL9RaqTGNa331TUSLUM0P5I3U3pldGMGyaV 89HlefeMvamQWxdbPOQ3mreBZgOGSOx5dfatZRGV8BsCPOf8WblnKBfI8/Om/V4iP1zH kzy/kY1I+mhVSw5emmJzDwaYGiorWCoe8294M5PLNHvSfwFpAzxVcomRGdaZ8u6A4MJy MkLQbu0XfpGqjdeNXyYyU0VG07EXHeJ5RfrWKHz+NDbxRSxYwvmFG82yxEG6XmzVzohd IawA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=V7OuUnig; 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 k25si14349088pgl.206.2022.01.24.16.30.04; Mon, 24 Jan 2022 16:30:17 -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=V7OuUnig; 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 S3408261AbiAYAWK (ORCPT + 99 others); Mon, 24 Jan 2022 19:22:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54800 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1385240AbiAXXeJ (ORCPT ); Mon, 24 Jan 2022 18:34:09 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D41A5C075976; Mon, 24 Jan 2022 13:35:54 -0800 (PST) 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 ams.source.kernel.org (Postfix) with ESMTPS id 91195B80FA1; Mon, 24 Jan 2022 21:35:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F1C92C340E4; Mon, 24 Jan 2022 21:35:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643060152; bh=MzcL8GWYYD6H5MMCitI0DGJpbooKvMyxYFu1QudjLBk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=V7OuUnigMwIjtJkFAF9AAOk7K7CebLDpFA+QcGCFZtUkArrSLZpw38KeUHb1tKMCO /ZKLu+t7wvGgNFH2N6D0owgXfxbnfvKCuqXtIxjmzUEJY4z+aG35eKohELPiq1KgDN bh5sEeRbhJrtnS0itRy1KrmouKbMduKv0tDGLrVY= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Ilan Peer , Luca Coelho Subject: [PATCH 5.16 0856/1039] iwlwifi: mvm: Increase the scan timeout guard to 30 seconds Date: Mon, 24 Jan 2022 19:44:05 +0100 Message-Id: <20220124184154.056088405@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124184125.121143506@linuxfoundation.org> References: <20220124184125.121143506@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 @@ -2495,7 +2495,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) {