Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp3517604pxb; Fri, 11 Feb 2022 01:24:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJwq9bOcZWqQTvdN8ToILGT+SqMdm4QjrEjulOXii0Q2oHDL03FFPEeu4/woY/sfARJ9zQjg X-Received: by 2002:a17:90b:1d0e:: with SMTP id on14mr1654105pjb.59.1644571485063; Fri, 11 Feb 2022 01:24:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644571485; cv=none; d=google.com; s=arc-20160816; b=Od4O8qutcVUC1AEKwSGEIxgATHA8pwMWbJwf4Ib6OBx5ZTTfPos54qKcWaf4y8+Dyv Yy8kX4/1scQvOo6dPaiYbByhtkKo+BwEDj/nv+5TvoR3zJ5vcizWusfRbgX/vvlhNSxj TK/ixLPWmQ6WPE7KZUKLLcddp1RgP0uW9blcJw8JQQVDQ2oyC2oHY+D+m/LLFOxukpZ/ mAgVHut9yNAJEeiAKu0abXUK+krRtlXWEiuX8asM39+3Rcu783NuGGO/FlxPGuv1/NUw ewHUYEPrfMnRUnIieuXvgw2wMYfPgyFCA+ILwkKvETnugkdld5rFASIri5k7RcYg9cPC KY4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:authenticated-by; bh=fJ4uuaLfPNS6Dx8ZbP0uISn9y9QSsXIVJbmL3HF6VqQ=; b=h1vPyC3yEiqHJ3kHKtf70PnAHvl2BQ4j09Ivf4dwGmAdu8enlB0TUBqNPPvPXO4SGQ jPFE7mDiuE5l7x/sw+FvB0B6irO1oMM/aAfGZ8RV2lLRM00Yt4neMm31Ln64sbuVwRnT arKFu8Ux1xwEQjppcEHoWGLap/e7iqU1NWpOaxNrCDBzLC3NMPQzRDNP2nqkUcSuHUtS vDZ+1Rf1Y1yk4FbuqgZBVW7GFsAdXQKgk52zIyd+aHNSspleNrurd2RDwq1x6WOZbWyM cSzZdzwfywBpP87lAxwQvOe28rKggYH+MfZZ/lJ4TuCqOnq8Mq8Ii2haK50LfVTeaqmJ X1QQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j22si21809829pgb.33.2022.02.11.01.24.36; Fri, 11 Feb 2022 01:24:44 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346318AbiBKAZp convert rfc822-to-8bit (ORCPT + 73 others); Thu, 10 Feb 2022 19:25:45 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:55764 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345707AbiBKAZo (ORCPT ); Thu, 10 Feb 2022 19:25:44 -0500 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 355125F6C for ; Thu, 10 Feb 2022 16:25:42 -0800 (PST) Authenticated-By: X-SpamFilter-By: ArmorX SpamTrap 5.73 with qID 21B0PSPs8001800, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36504.realtek.com.tw[172.21.6.27]) by rtits2.realtek.com.tw (8.15.2/2.71/5.88) with ESMTPS id 21B0PSPs8001800 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Fri, 11 Feb 2022 08:25:28 +0800 Received: from RTEXDAG02.realtek.com.tw (172.21.6.101) by RTEXH36504.realtek.com.tw (172.21.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Fri, 11 Feb 2022 08:25:28 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXDAG02.realtek.com.tw (172.21.6.101) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Fri, 11 Feb 2022 08:25:27 +0800 Received: from RTEXMBS04.realtek.com.tw ([fe80::35e4:d9d1:102d:605e]) by RTEXMBS04.realtek.com.tw ([fe80::35e4:d9d1:102d:605e%5]) with mapi id 15.01.2308.020; Fri, 11 Feb 2022 08:25:27 +0800 From: Pkshih To: Kalle Valo CC: "Larry.Finger@lwfinger.net" , "linux-wireless@vger.kernel.org" Subject: RE: Funny log entries for rtw88_8821ce Thread-Topic: Funny log entries for rtw88_8821ce Thread-Index: AQHYFvVq2DWVmxZS7E2VYxG/u8dgWqx9tPKAgAQJ/QCAB6gl/f//rFuAgAPTOxKAAKLmIA== Date: Fri, 11 Feb 2022 00:25:27 +0000 Message-ID: References: <32f2ece8acdb67f74757cb705e5467847d6bcae0.camel@realtek.com> <87czjxbukz.fsf@tynnyri.adurom.net> <6baf4ae2f36c89269f74f0905ce81f38adc3a284.camel@realtek.com> <87mtiy3iha.fsf@kernel.org> In-Reply-To: <87mtiy3iha.fsf@kernel.org> Accept-Language: en-US, zh-TW Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.21.69.188] x-kse-serverinfo: RTEXDAG02.realtek.com.tw, 9 x-kse-attachmentfiltering-interceptor-info: no applicable attachment filtering rules found x-kse-antivirus-interceptor-info: scan successful x-kse-antivirus-info: =?us-ascii?Q?Clean,_bases:_2022/2/10_=3F=3F_10:33:00?= x-kse-bulkmessagesfiltering-scan-result: protection disabled Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-KSE-ServerInfo: RTEXH36504.realtek.com.tw, 9 X-KSE-Attachment-Filter-Triggered-Rules: Clean X-KSE-Attachment-Filter-Triggered-Filters: Clean X-KSE-BulkMessagesFiltering-Scan-Result: protection disabled X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 > -----Original Message----- > From: Kalle Valo > Sent: Thursday, February 10, 2022 10:27 PM > To: Pkshih > Cc: Larry.Finger@lwfinger.net; linux-wireless@vger.kernel.org > Subject: Re: Funny log entries for rtw88_8821ce > > Pkshih writes: > > > Then, I have a question about the message of setting SAR: > > rtw_info(rtwdev, "On freq %u to %u, set SAR %d in 1/%lu dBm\n" > > > > When a user sets SAR via iw, this message can reflect the action performed > > by driver. Is this rtw_info acceptable? > > In general the preference for user space commands is not to print > anything to the log when debug messages are disabled, but of course > there can be exceptions if the reasons are good. Why do you want to > print this always? What benefit does it bring for the user? > Understand. My original thinking still focus on debug purpose. Because the SAR doesn't have a 'get' method to check status, and it affects TX power but a user can't be aware that clearly. If someone told me his laptop has low wifi performance, this message can be a good clue to address the problem. Fortunately, I still can use debugfs to debug this case, so I will change this message to debug level. -- Ping-Ke