Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp183828ybx; Fri, 1 Nov 2019 01:39:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqxjXdYBgEuZgGyEvZN9Y0VHhQk99nQLRSpeqK0mzu4x8gdGXsA91TgO+9PqzvccBPiQpEEM X-Received: by 2002:a17:906:9497:: with SMTP id t23mr8820424ejx.202.1572597540670; Fri, 01 Nov 2019 01:39:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572597540; cv=none; d=google.com; s=arc-20160816; b=0hTkiXIP2TB+Ids0wHFWLIkWI7N1MsqeNfhQaJASLD1A7CyA19iK2oEcz14+uHkab+ LgLFGjQmzZlG0gzRpwa6qt8lRN43QoHL5ntfI0KL6FTrJa6KgJF5wNE4QsqektJ12pyq 99j/+nPtCinWnaAACVBrKzarA7LoVfimbqrIJmlErxkAHr5D7Pcuo0OqGNeXhzMS4bEM EmykpKAHWAPyk/yxxcuAauS26DQJyVVNe+M8L156XkT4rFFLgzKuTFkkMlpeikbx2bv8 6P143H5wQ1dr6t27hCqc3HGjLct7lN5JkG2/9918Sjggz6RNgMVoGlWisNfpbkr2MBAZ yHog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:dmarc-filter :dkim-signature:dkim-signature; bh=2UB2Nk9sRcltphzD5WKVnbSh6X/VsACJ6ztgBT3TYxw=; b=eo1Ao8y+5dWIHGlW/tI5aHICU0oOVcdlK4nR8FNNOLXh3ubf9DSyyPI7C5fL714Cge WtzCa5fjb4D/opglnvknONfSTBExXK4BuSR6vcrFWn31e9WWqyZnSdWsgRmu3zq5yety Nensp7/0vYJrg9DQunVwJko/uHjPn2YT+7+i80bhv0BKCPRV/ECmy3qSKu+Kl8y1gzeI TkHNqYq+4pXtHA1J18+d3xOzcyepSNpG8oGpgloEP0m9uFSMg3c2p4B+zaoXI5ZuqeJI pkivydt/LsRzcP6OErGAKDYPa6MV27hLFLpU++Ol4gQDarslDcGcLfj+/29zF7sDAymE 1MJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=eoaQa8o7; dkim=pass header.i=@codeaurora.org header.s=default header.b=eoaQa8o7; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j22si5251811ejb.420.2019.11.01.01.38.35; Fri, 01 Nov 2019 01:39:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=eoaQa8o7; dkim=pass header.i=@codeaurora.org header.s=default header.b=eoaQa8o7; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726634AbfKAIf6 (ORCPT + 99 others); Fri, 1 Nov 2019 04:35:58 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:58634 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726532AbfKAIf6 (ORCPT ); Fri, 1 Nov 2019 04:35:58 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id CABC6601C4; Fri, 1 Nov 2019 08:35:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1572597357; bh=upIu9a/mPVwbxBiLOKNTleJfHH9HHGM9/Cj5AE/4yxQ=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=eoaQa8o7ciDUgfpbc7eD6f/JeKt7owpigT4sRgiihjYg9CPRx4Xmk/ovjxROk/cVY BF+hWoZS+W4E/9nOwcS1CXFV0WGmOGL/+oaAZJYi5imrgYRsw5XOXXZqySXxs2IhO9 TLw/u18iZqrKCeUSntVy3PM/IFlPogDbIpJwkQiU= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED,SPF_NONE autolearn=no autolearn_force=no version=3.4.0 Received: from x230.qca.qualcomm.com (176-93-46-192.bb.dnainternet.fi [176.93.46.192]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: kvalo@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id F3E6D60A19; Fri, 1 Nov 2019 08:35:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1572597357; bh=upIu9a/mPVwbxBiLOKNTleJfHH9HHGM9/Cj5AE/4yxQ=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=eoaQa8o7ciDUgfpbc7eD6f/JeKt7owpigT4sRgiihjYg9CPRx4Xmk/ovjxROk/cVY BF+hWoZS+W4E/9nOwcS1CXFV0WGmOGL/+oaAZJYi5imrgYRsw5XOXXZqySXxs2IhO9 TLw/u18iZqrKCeUSntVy3PM/IFlPogDbIpJwkQiU= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org F3E6D60A19 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=kvalo@codeaurora.org From: Kalle Valo To: Tony Chuang Cc: Brian Norris , "linux-wireless\@vger.kernel.org" , "g.schlmm\@googlemail.com" Subject: Re: [PATCH 3/6] rtw88: use a module parameter to control LPS enter References: <20191025093345.22643-4-yhchuang@realtek.com> <20191031075911.3CCB86079C@smtp.codeaurora.org> Date: Fri, 01 Nov 2019 10:35:53 +0200 In-Reply-To: (Tony Chuang's message of "Fri, 1 Nov 2019 03:13:41 +0000") Message-ID: <87a79g0z9y.fsf@codeaurora.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Tony Chuang writes: >> On Thu, Oct 31, 2019 at 1:17 AM Tony Chuang >> wrote: >> > Or I should just change the >> > value to a better one. By our experience, set this to 50 is a more reasonable >> > value, such that some web surfing or background traffic wouldn't make the >> > driver to leave PS mode. >> >> FWIW, I think choosing a more reasonable default is definitely a good >> start, as long as this choice doesn't have huge downsides. >> >> @Kalle: FYI, this (set to 50) is exactly the change that Tony is >> recommending to me for my distro, and I have the same qualms about >> supporting a growing number of module parameter tweaks like this. So, >> thanks for pushing back :) >> >> Brian >> > > I was afraid of you thinking that setting this to 50 is a strange thing. > But it seems like you'd prefer to change the default value instead of adding a > module parameter to control it. I think we can drop this one and I will send > a patch to change the default value to 50. Yeah, as the first step changing to 50 sounds good to me. Later, if needed, we can extend it to make it configurable from user space, either via the QoS framework or something else. -- Kalle Valo