From patchwork Wed Nov 27 15:18:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kan-Ru Chen X-Patchwork-Id: 2015830 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=DM1HzHMt; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=kanru.info header.i=@kanru.info header.a=rsa-sha256 header.s=fm3 header.b=bXXBJBGu; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm1 header.b=SxPiloA3; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Xz35R5J1Jz1xt3 for ; Thu, 28 Nov 2024 02:19:39 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Subject:Message-Id:To:From:Date: MIME-Version:Reply-To:Cc:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=CIk52PsWMcN6VJ3uOFRkQI5ExCdtnbzNMTHX8zrJhTo=; b=DM1 HzHMtMvOcUqA6QtdX6jBkrjreSOmVFSCu5UTBo3M6LMDWZhOJvGgSRmdx3FQZbCJ3cTlZkuCBmvxP ThsN6mqcUk6XLFGeMyVQuTQlqsEI8COTSe+T2+fSjlbXzgWyoaGiS/hGVxEKgtjTG4g/XhkBV9yEB CEM+3wLVS4LXokHHvVyCyqTgx1XBmagCzN/L4RUQ1PuSJmvRzTm6IqL6NT9a97T+lysgLIHSHbuCC u27kinaS1l+TPSjMAHrkIL0mdrnvDhiIAvYrWozw+JaCpQjDAY8cmO8AN7qKbY8NsbQNEZ9GWb/RC duAUrlANO98IOIATMEwajm/hMQrZaCw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tGJol-0000000DU2Y-2T1z; Wed, 27 Nov 2024 15:19:03 +0000 Received: from fhigh-a3-smtp.messagingengine.com ([103.168.172.154]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tGJoh-0000000DU22-30GF for hostap@lists.infradead.org; Wed, 27 Nov 2024 15:19:01 +0000 Received: from phl-compute-12.internal (phl-compute-12.phl.internal [10.202.2.52]) by mailfhigh.phl.internal (Postfix) with ESMTP id 51D83114017A for ; Wed, 27 Nov 2024 10:18:58 -0500 (EST) Received: from phl-imap-01 ([10.202.2.91]) by phl-compute-12.internal (MEProxy); Wed, 27 Nov 2024 10:18:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kanru.info; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:message-id:mime-version:reply-to:subject :subject:to:to; s=fm3; t=1732720738; x=1732807138; bh=UczxHrTRaB ruTfAMNZQJSDD3AK1Le0ZSmn6yLFfpqQc=; b=bXXBJBGumOvWsV5uQpZp/+ZLAm idWAyOlOZJxcbikql3VjsoRRtQy5AjS2wgtwsovPVO4B0vbOJymz7jjilDBPd5cD 1SMJOHnuBd8tzDYEO8wifHlR/vv3T+d2Ym/UkRWlv5SlER7uA+Iu+5N+p7xsWGBC N+jzwVaDNAU3cbss3V0+57E1Kj56yguew0qUo38CJT3pvhEsjiJTyKOH0u/hDqta RQmZ/V2bpVh8hsacXM2s9ufPviIm/IUJZ3ij7Nc2rQzkhY8/hQcQGRMdlmTi8vAY pmONlhAXSFVqxl888eMli/J5aGLjeC+q9WYvm9OkKdTqj4SRp2aJZPG1Pi7Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1732720738; x=1732807138; bh=UczxHrTRaBruTfAMNZQJSDD3AK1Le0ZSmn6 yLFfpqQc=; b=SxPiloA3KbMoZyxopftc0Kgup2ZLCjUq5Y978Po52UhNOvcuRt2 wFRVvZMjhVfyemQzp6fDPAWhQS+VN45vCbd7ooLuPDWUqWlLltkg3YDyWy1+z3HZ apAgwmKFBCgH2Kd69oFqm+DzwNJMUhY9vpyRuYyLQt3euHBhMZEXF4+7VBDMJW01 etQNXclD60GOA5tjK8jJYIvQ6tnlu6GAPfj68Meo4JuvQawoJ8/heOzyyBxzW+qf yUEzj8BoDf9ZliW5KgdU4E8y0mLtn+AMam/KHxliZZ8nWJ7YbgHzX09aR3cyG/6L v17byzWDeup6nkT733ryvVHtoYHRgCnYHgQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrgeelgdejtdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhepofggfffhvf fkufgtgfesthejredtredttdenucfhrhhomhepfdfmrghnqdftuhcuvehhvghnfdcuoehk rghnrhhusehkrghnrhhurdhinhhfoheqnecuggftrfgrthhtvghrnhepgeeftdeihefghe eihefggfegteetkefgveetvdeitedtheelfeekteejffelhffgnecuffhomhgrihhnpehr vgguhhgrthdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpehkrghnrhhusehkrghnrhhurdhinhhfohdpnhgspghrtghpthhtohepuddp mhhouggvpehsmhhtphhouhhtpdhrtghpthhtohephhhoshhtrghpsehlihhsthhsrdhinh hfrhgruggvrggurdhorhhg X-ME-Proxy: Feedback-ID: ibe89476f:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 0FFA1336007C; Wed, 27 Nov 2024 10:18:58 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface MIME-Version: 1.0 Date: Thu, 28 Nov 2024 00:18:37 +0900 From: "Kan-Ru Chen" To: hostap@lists.infradead.org Message-Id: Subject: [PATCH] Change logging level for CTRL-EVENT-SIGNAL-CHANGE to MSG_DEBUG X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241127_071859_827178_60A9F8F5 X-CRM114-Status: GOOD ( 10.22 ) X-Spam-Score: -2.8 (--) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: The default logging level for the CTRL-EVENT-SIGNAL-CHANGE message may be repeated many times and fill the log file or journal. For example https://bugzilla.redhat.com/show_bug.cgi?id=2309148 and the first few results from searching CTRL-EVENT-SIGNAL-CHANGE on the web contain various complaints and workarounds. Content analysis details: (-2.8 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [103.168.172.154 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [103.168.172.154 listed in sa-trusted.bondedsender.org] 0.0 RCVD_IN_VALIDITY_SAFE_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [103.168.172.154 listed in sa-accredit.habeas.com] 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [103.168.172.154 listed in bl.score.senderscore.com] X-BeenThere: hostap@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Hostap" Errors-To: hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org The default logging level for the CTRL-EVENT-SIGNAL-CHANGE message may be repeated many times and fill the log file or journal. For example https://bugzilla.redhat.com/show_bug.cgi?id=2309148 and the first few results from searching CTRL-EVENT-SIGNAL-CHANGE on the web contain various complaints and workarounds. Changing the logging level to MSG_DEBUG would allow the message to be still useful for debugging. Signed-off-by: Kan-Ru Chen --- wpa_supplicant/events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c index a7c56f771..c411f5faf 100644 --- a/wpa_supplicant/events.c +++ b/wpa_supplicant/events.c @@ -6755,7 +6755,7 @@ void wpa_supplicant_event(void *ctx, enum wpa_event_type event, data->eapol_rx.encrypted); break; case EVENT_SIGNAL_CHANGE: - wpa_msg(wpa_s, MSG_INFO, WPA_EVENT_SIGNAL_CHANGE + wpa_msg(wpa_s, MSG_DEBUG, WPA_EVENT_SIGNAL_CHANGE "above=%d signal=%d noise=%d txrate=%lu", data->signal_change.above_threshold, data->signal_change.data.signal,