Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp149077imn; Tue, 2 Aug 2022 21:43:06 -0700 (PDT) X-Google-Smtp-Source: AA6agR50PfEgfkGI9jagI5YF3mTogQyMDtqvWNxjHphfl6QbO7ncbC8daomm2+5uV2f65HVhzS1R X-Received: by 2002:a17:90b:4f91:b0:1cd:3a73:3a5d with SMTP id qe17-20020a17090b4f9100b001cd3a733a5dmr2988571pjb.98.1659501786577; Tue, 02 Aug 2022 21:43:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659501786; cv=none; d=google.com; s=arc-20160816; b=02SwKIS0fZ31ve/+Dz2RoViPdhrWiu87kqBAms1xDNVMwYImRlu6081mS9b0QVfr1D eWM38y19GvEa23bfUUj0l18WCGPwW/e3nGsCZLi2sDk0HiiF8F7QXr6TDdIZ0KmNmvn6 Sgp5OJPzwNgkwwJKF318VKUSN1btjJ6nlEINMXpDTkCp03WiE8xd0SRj1ddnXWs3upmG qXYzXUmO/pScfyzQ23wvT6VWooWQ7k/VXEp37L2ta6j5eVHC+vtdQ0TMPxPR3psO7gf7 yQ1BvA9eIPVtxzd3/ICJ2hE8Zq3WRj2X+Xr8c7QB/MFCQBtD3m44UyCEVWHnppfnk5aQ Lrog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:in-reply-to :date:references:subject:cc:to:from:dkim-signature; bh=1grd0Rl1ocky8BZO1QB7hEbWE7ZBt3hQbBMMt82TQoI=; b=qLADLeqNXxsggwUcHgeewddtFX6bZUYhlTZPAiJyyyje880U+zs7OL1gr+4f4bA84q EpXc2DuLg0W9C95rIxVYYZcOhaPrCtod0em9oLcntBXXVlEJUoZ4JAESpDy/Dmmvcy8g Y+nerbbzO+c/gFUuR5P4+xx/5urdCnrmbVzKZ3AXSSfsS552Ycs4ODW9Z32q4aOjsj5b Td5lZwdpoSpBZ3gxyW31uHBhD4L3NDRgK8My1aVVzLSyXZywlsJPKaEsl1MMKWBcO4cg BmE/K9ZLD1BUuyPnAsVVyEP2mfGBg8KGSyfvLjpFCFUoWQsi1M3k61GTSiDv/ZE35FMA eIIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="S/OTgXwT"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h2-20020a170902f54200b0016cee29b82asi1558789plf.335.2022.08.02.21.42.52; Tue, 02 Aug 2022 21:43:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="S/OTgXwT"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234270AbiHCEc0 (ORCPT + 67 others); Wed, 3 Aug 2022 00:32:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231183AbiHCEcZ (ORCPT ); Wed, 3 Aug 2022 00:32:25 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A03A356BB6 for ; Tue, 2 Aug 2022 21:32:24 -0700 (PDT) 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 4C5C2B82188 for ; Wed, 3 Aug 2022 04:32:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DE7D3C433D6; Wed, 3 Aug 2022 04:32:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1659501142; bh=Om26xXGcv9YIGyKareU2TVHfsIr/zu+7e8lbyTtvC7M=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=S/OTgXwTY0DHljfSxLL6fp3SBxxS4mPljxo9aizmbnGLUZezcMWM2381azUVI7Eq/ TpLveZgW5h8JKQe/TQ8Ir1dTpuHcuCC6diPZ6W3SgVuqI3s2xCGTGX4qNf3mEI/Il5 QF/IKWaW4tI8PIyXOHwZYpwlgYWBt9amrX2l2OZhhgiUTJ5rQqSI2zMMF99jMWKDOr yRPN6LSQjBH49H7YyFEPVIek7hJyanqLNtIC0X1Nflv1zzwnbdWEcKBqliYDAieU8r yOnXBhwgghJBeG0+awIXyBGI5lpYx9oRWNKS94tVlqqnolqOmV1bXrXXbR4h3zxUGc vh6TXO3rS35Ig== From: Kalle Valo To: Dennis Baurichter Cc: Zachary Michaels , linux-wireless@vger.kernel.org, Troy Volin , Gregory Greenman Subject: Re: [PATCH] iwlwifi: Make missed beacon timeout configurable References: <20220226045047.643695-1-mikezackles@gmail.com> Date: Wed, 03 Aug 2022 07:32:13 +0300 In-Reply-To: (Dennis Baurichter's message of "Tue, 2 Aug 2022 20:50:31 +0200") Message-ID: <871qtyj6b6.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Dennis Baurichter writes: > Hello, > > the below patch was sent to linux-wireless 5 months ago, but (as far > as I can see on lore.kernel.org) didn't get a reply, so I guess it > might have slipped through? May I ask to consider it for inclusion? > > As stated below, this is a workaround for frequent wifi disconnects > described in https://bugzilla.kernel.org/show_bug.cgi?id=203709. As an > example, on one laptop with Intel Dual Band Wireless AC 3160 these > disconnects occured sporadically initially, but later became very > frequent, e.g. around 100 disconnects within 5 hours (with the laptop > 1m from the wifi access point). Setting the beacon_timeout parameter > provided by the patch allowed me to completely "fix" / work around the > problem, with no disconnects anymore. Many more examples can be found > in the linked bug report. The patch did get to patchwork and is assigned to Gregory: https://patchwork.kernel.org/project/linux-wireless/patch/20220226045047.643695-1-mikezackles@gmail.com/ Gregory, please take a look. This looks to be a common problem. Not really fond of a module parameter approach, I think it should be automatic. Why not just increase the default beacon timeout value? -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches