Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2889020pxb; Mon, 1 Nov 2021 04:02:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx+kgSIQDpge39C7fokW9ZnwB6kBmMqVz1Mg2814KZarokdNppoq+eMpG5WxLBX4uSFzZXy X-Received: by 2002:a17:907:868c:: with SMTP id qa12mr34421118ejc.346.1635764538788; Mon, 01 Nov 2021 04:02:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635764538; cv=none; d=google.com; s=arc-20160816; b=ObdKp7U9CqIpSayU4F1IwSYg4Nlf5VaHzXXPEutDI1JwRMdcD0CoOhuq0rMzcV27Az XRRYDFv5t25/6f/UquTiJxjvj4OcZn7CNfEs8msuW18rYnZhFWhaD5oQefwSGOl+Wkbu uLTPZaYPUKgyL48hWkr4UDpoLZDyCgj0DWG2UqYc52g0gYB5H748yOy+RPxpxu8ycahs 0r1YUQZiZT0cOC1/nLXB3CfOVPr8OMULR2LGv7i0eunggDdLjdrrNyrjbsYePGxVJTmM EXSnJf77quQbIse28JgHDVZrqKgrvI1HgrA0lvtPoCCPilG1GDI+/5JCyhfhefwqnPmI z8bw== 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:dmarc-filter:sender :dkim-signature; bh=q5+g+Fpr9ojaic/Ns1gbfTcZexvkJSORFNk1aokovgQ=; b=wiU74auNyMitqoWuGjGqq7NqF+BZs1H20x6SkfJ3foK0K2hnz+9qPBSSDB/YinYQhx Qqp87c22RK075RYSW/EPYkd4iEHV2HYfKSSPaxw8y/bQu7ZSqAftSjTRhp9gDUHdJZgD jNYZTsWI6uRJkkLt1aYFrlnTkxlYzxkoDUXhgh0jtzKHhVR1hqxqxRXjEHHUNtHwg/Iy LCc/1+27rZx7HA1fTHrveO09BT1ge8c72fEOj8HifZPjCLC5x5Mti0T5P1OTXLtJMhRb ZlW/dPkfPAaLRMSAPc0oikaUQ7cShXp123FwLX3S+99jRiHMekgl6CvwGV164ksjRwKm y1Wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=bDvOmFbX; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hd43si6031042ejc.484.2021.11.01.04.01.57; Mon, 01 Nov 2021 04:02:18 -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=@mg.codeaurora.org header.s=smtp header.b=bDvOmFbX; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231959AbhKALEU (ORCPT + 65 others); Mon, 1 Nov 2021 07:04:20 -0400 Received: from m43-7.mailgun.net ([69.72.43.7]:15136 "EHLO m43-7.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231512AbhKALEU (ORCPT ); Mon, 1 Nov 2021 07:04:20 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1635764507; h=Content-Type: MIME-Version: Message-ID: In-Reply-To: Date: References: Subject: Cc: To: From: Sender; bh=q5+g+Fpr9ojaic/Ns1gbfTcZexvkJSORFNk1aokovgQ=; b=bDvOmFbXIzJ7y7PdU6DYvTMbIysQ05RorbjhfN7ZvfNguuhXE8H54rVIdrcI92Ao3iYtttN4 iisaY5gW7eWhXd8F6AcdgQ7xSz/Mkxxr8RzV11pBnXoMf5C4KnUZw7rKNjZmVntShGSdxYCi k7l8Sm429n5JH3+k5LeeOhzH+0c= X-Mailgun-Sending-Ip: 69.72.43.7 X-Mailgun-Sid: WyI3YTAwOSIsICJsaW51eC13aXJlbGVzc0B2Z2VyLmtlcm5lbC5vcmciLCAiYmU5ZTRhIl0= Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n01.prod.us-west-2.postgun.com with SMTP id 617fc8e0c8c1b282a5fef57a (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Mon, 01 Nov 2021 11:00:48 GMT Sender: kvalo=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id D9599C4338F; Mon, 1 Nov 2021 11:00:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00,SPF_FAIL, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from tykki (tynnyri.adurom.net [51.15.11.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: kvalo) by smtp.codeaurora.org (Postfix) with ESMTPSA id 87538C4338F; Mon, 1 Nov 2021 11:00:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.codeaurora.org 87538C4338F Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=codeaurora.org From: Kalle Valo To: Brian Norris Cc: Ping-Ke Shih , tony0620emma@gmail.com, linux-wireless@vger.kernel.org, steventing@realtek.com Subject: Re: [PATCH v2 2/2] rtw88: add debugfs to force lowest basic rate References: <20210422030413.9738-1-pkshih@realtek.com> <20210422030413.9738-2-pkshih@realtek.com> Date: Mon, 01 Nov 2021 13:00:41 +0200 In-Reply-To: (Brian Norris's message of "Fri, 11 Jun 2021 15:57:19 -0700") Message-ID: <87k0hs2l9i.fsf@codeaurora.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org (replying to an old thread: https://patchwork.kernel.org/project/linux-wireless/patch/20210422030413.9738-2-pkshih@realtek.com/ ) Brian Norris writes: > On Thu, Apr 22, 2021 at 11:04:13AM +0800, Ping-Ke Shih wrote: >> From: Yu-Yen Ting >> >> The management frame with high rate e.g. 24M may not be transmitted >> smoothly in long range environment. >> Add a debugfs to force to use the lowest basic rate >> in order to debug the reachability of transmitting management frame. >> >> obtain current setting >> cat /sys/kernel/debug/ieee80211/phyX/rtw88/basic_rates >> >> force lowest rate: >> echo 1 > /sys/kernel/debug/ieee80211/phyX/rtw88/basic_rates >> >> Signed-off-by: Yu-Yen Ting >> Signed-off-by: Ping-Ke Shih > > I believe some initial objection to this was because it was unclear if > this is for "production" use (e.g., recommending distros to play with > this) or for debugging. I'll admit, I requested the feature for patch 1, > because I've seen that for those networks where people *do* configure > odd Basic Rates, they intend for stations to follow those, and not use > the lowest (and most airtime-hogging) rates. > > And I can say, I don't see why distributions should be turning that back > off. If the Basic Rates setting is wrong, then the that's up to the > network admin to fix. > > All that is to say: I agree that this patch is purely for debugging, as > stated, and that it belongs in debugfs. I also maintain a distribution, > and I don't plan on using this beyond debugging. > > Therefore: > > Reviewed-by: Brian Norris Ok, fair enough as long as this will not end up normal users using it. I still would prefer to have extensive bitrate handling via nl80211 but clearly it's not going anywhere. But could the debugfs filename be more descriptive, for example force_basic_rates or something like that? -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches