Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp1089031pxx; Fri, 30 Oct 2020 01:27:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyVwMqKqhFiDU9iSAK78VF+QqPq7Q+nUHGP8oilrehO1ooJcwbBhRPqcpeiy9NBprtzQ6Zx X-Received: by 2002:aa7:d5d7:: with SMTP id d23mr1027071eds.207.1604046468373; Fri, 30 Oct 2020 01:27:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1604046468; cv=none; d=google.com; s=arc-20160816; b=GTO1WaHPT5Y0XrWvHzWKc4npChuEYBHdGUFOUAvojQJZW73HmUlYzCMbxeE2lxRjrR TnlihSJeqymMjmRextpg7EJoCgXe1oY5eYS4FkTMDWPvFMOpjpUvd2eB5eeZamgU38/u UeHfTH3oJcyd/gzxTpeILPnpyNdJfZT7J9Ab7ViRF9p9ZESGoghgiHEfAcwB+Hv1ZcMh 6+EzPHVx1B5eX7ZTuOsrX6qNbDoN2VlEwNCe5FxgiLTCyPmOinEL/dRZtP0KAPCJNEyt o3aCUvQXOMBhOxRzjHllPO14fRo/CQMn6TJqLsMfhZPJ2OkMxdO/xFeVo004tfpOEa0D Vnxg== 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:date:cc:to:from:subject :message-id:dkim-signature; bh=9sa1bg73D0x099X3MrEdTzCi2bBpnJdmhmD55NwNbw0=; b=Fd5zssHN5qbJbOOX2WE6R3LS/hMSWOENq6vCmdSt1SzRqoE1XAnEzsAPuz+lHdyFWb Ph7kKpv9YTbanN53/+KI5a2YPTi/1ViAKC3QMuZCzfN0uKztIZvwJ88hnBJqQqGdhXSy ZeyTGUfqOBY1eAr2R6+ducrCY5gAbo89l7BeTgsuP3y3KW1JpeNu2L4fIF/TINmsArqa G4dWvt1v3n0Fr3U7v8QnuS7gZXlKYqukFzlVnf+MzafC4NZDHBCP7AOxpP4qw5pOmgQp WxPpQvPItDfgHGdS2aS23kYNAdg9NDUyK5Vy8FNRaer2cUHgF/d/PaIHrstAxhTuDgIT ydFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=agaDoT+v; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h25si3559121ejc.209.2020.10.30.01.27.16; Fri, 30 Oct 2020 01:27:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-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=@gmail.com header.s=20161025 header.b=agaDoT+v; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725948AbgJ3I0t (ORCPT + 99 others); Fri, 30 Oct 2020 04:26:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725355AbgJ3I0t (ORCPT ); Fri, 30 Oct 2020 04:26:49 -0400 Received: from mail-pf1-x444.google.com (mail-pf1-x444.google.com [IPv6:2607:f8b0:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5F363C0613CF; Fri, 30 Oct 2020 01:26:49 -0700 (PDT) Received: by mail-pf1-x444.google.com with SMTP id 10so4630018pfp.5; Fri, 30 Oct 2020 01:26:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=9sa1bg73D0x099X3MrEdTzCi2bBpnJdmhmD55NwNbw0=; b=agaDoT+v7jfXwoJOO28Cnai7r0LKY1ArBtGqfGy8y9XHN8U6Xf0tLlR1+0v3s91vfc Sqf9eR7tvBxw+2+L29yncSNtP5ADtA6VGLcojqBBZprmb7XeBV/psXmGQ+iW7+9rXqPp Bmt1x4qXQyt35GW0gCVwCmohW8/UWq/uqRtnG9DZC4ix/JWn8fUnZaTG8kA87LxeKPnV mAzaDkCPC+kqO39qTVn4HXIFfz/3Joqe++Mmtssn7PlyMzAwTA2HgBJXMn8TgyWIME/7 zVUFemlAVl/OL7aida5WM/n2OmxRp2NSHG2Xzrq0TLSQ7ArlkFlM1jKFas7BSLYaJRgK rmXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=9sa1bg73D0x099X3MrEdTzCi2bBpnJdmhmD55NwNbw0=; b=DCVYOFyiYRuZfNgWfxP6FmGqeSAy0hdmStSBpkjN2kE72vRvCOZrTa22NXvPwu51sO k22ZKMU62SjzonWL9xDFMfHVMddFymXnVnilAvkQFLNoZcJwpl35eoVrYz362o9S1BMp 0fpE/BdxHbV9M7wRJWMTKNuIF3wpMNf28vsKZWx8Z4CSGdVQz0oXq21MtiOEpCi/eltp Nk0Tv8xgbYb6USL98MD5IIr4sh6QmZpqGiwT+r9JfcJJHC6x02+ljK7xd6hZ64O27fq5 rZIm2WRkflM1TScnRu30yng3Sv64LtLQ6zyS7znNHI4UqVjJGAVzTewxqXGM6iyXHbpZ Oryw== X-Gm-Message-State: AOAM532qpH/7bXRBcpX8vjYoKfTVLuLhcu4aNLflBobEF7njktGBtQLj Sjom8UULUp4ev9n7HNsKYF6S6b5rJCuD04fl X-Received: by 2002:a17:90a:17ad:: with SMTP id q42mr1547383pja.36.1604046408886; Fri, 30 Oct 2020 01:26:48 -0700 (PDT) Received: from [192.168.1.59] (i60-35-254-237.s41.a020.ap.plala.or.jp. [60.35.254.237]) by smtp.gmail.com with ESMTPSA id t129sm5457071pfc.140.2020.10.30.01.26.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Oct 2020 01:26:48 -0700 (PDT) Message-ID: Subject: Re: [PATCH 0/3] mwifiex: disable ps_mode by default for stability From: Tsuchiya Yuto To: Andy Shevchenko Cc: Amitkumar Karwar , Ganapathi Bhat , Xinming Hu , Kalle Valo , "David S. Miller" , Jakub Kicinski , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Maximilian Luz , verdre@v0yd.nl Date: Fri, 30 Oct 2020 17:26:41 +0900 In-Reply-To: <20201028152115.GT4077@smile.fi.intel.com> References: <20201028142433.18501-1-kitakar@gmail.com> <20201028152115.GT4077@smile.fi.intel.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Wed, 2020-10-28 at 17:21 +0200, Andy Shevchenko wrote: > On Wed, Oct 28, 2020 at 11:24:30PM +0900, Tsuchiya Yuto wrote: > > Hello all, > > > > On Microsoft Surface devices (PCIe-88W8897), we are observing stability > > issues when ps_mode (IEEE power_save) is enabled, then eventually causes > > firmware crash. Especially on 5GHz APs, the connection is completely > > unstable and almost unusable. > > > > I think the most desirable change is to fix the ps_mode itself. But is > > seems to be hard work [1], I'm afraid we have to go this way. > > > > Therefore, the first patch of this series disables the ps_mode by default > > instead of enabling it on driver init. I'm not sure if explicitly > > disabling it is really required or not. I don't have access to the details > > of this chip. Let me know if it's enough to just remove the code that > > enables ps_mode. > > > > The Second patch adds a new module parameter named "allow_ps_mode". Since > > other wifi drivers just disable power_save by default by module parameter > > like this, I also added this. > > > > The third patch adds a message when ps_mode will be changed. Useful when > > diagnosing connection issues. > > > [1] https://bugzilla.kernel.org/show_bug.cgi?id=109681 > > Can you attach this to the actual patch as BugLink: tag? > Thanks! Indeed I should have added this... I wrote it in the replies. If I send the v2 version of this series, I'll add it to them.