From nobody Mon Sep 8 00:12:54 2025 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4cKnTf6MdMz67499; Mon, 08 Sep 2025 00:12:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cKnTf4gHNz3pCV; Mon, 08 Sep 2025 00:12:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1757290374; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=2PiRXuguYF1Gr8MlvjyV/pO8Sy/U10qTbisKuBnIU40=; b=caoPFnPB6436gMvOvdmjYCVdHLtDBgd4eeyEevQp2faiC+7miJ997Ho7YoKem89ObrF7ee M0n6hpwsJCs2hgtmtP8NiZ67A6MOhFjoLxfrpMmj1m9NCeX/at7FgwYW/I/+QPEtHLNiCO q7cJ/9QZqX3Du/s4h3wtec16PgLnfee2iXUq9Nv3xI9C92Cf5QBTtg0mpab6hZ7XiKVEbB fuiLeJe9ivh1juzB4FW7dQB4mbGh0oLXlFfO08c0haR4BJihkVb8s+uW3vQfOefAYzSPjL mmuHH8km5SphmQlzBV0JR9a7OL3fZRx+KgG0imNdIiXBaDa8YSa4FK/OJYSyVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1757290374; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=2PiRXuguYF1Gr8MlvjyV/pO8Sy/U10qTbisKuBnIU40=; b=PkLchIkO8v1scziRraVHRUi6h2zfkt/WfbX2KKwtqWgbW8oYbS2UhjHpnNkAcL8YUJvrkr P48nM0fYQpib130kd6wVJQzsSp/3uZVyzFdB8GXZh4qLD0Q+STHGDhvDxpg5f2VztODlnS Hk0vaj/qHdZ/9KYJSQ0khVjPCqOiybSFG900Rr4Rw32yUQXMr155Jj24gkjWBxU5cqf+nf Aqrgg04h5plbzcBxyzOHUUr/tzx1/KGoEimOZi0jJMkovSD77ZDS6lGFx8YDoxzCZ+zPEC yabqJ7aUnw1p4Avi+iSe0wNlnmSGz/mXYhR+R5Z4tvgxWtRtZn+yTH0Qw/AR5A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1757290374; a=rsa-sha256; cv=none; b=TRTsaPK9pZsgkzwANHXoCQXTxlN7WOQwlHla1z3uYc6XXvTuQK/jg+7y1fxzFbC8uIZ70J eW5A85HqQ8BTwMRb9YtmGrC/HDFi63B0LoMhMpJnWVlHMKSV7JZWIK2iEeZShUtH/CL9FK LvPvdW/cPOLBVFlydKGQDqGtFVX5i9XXpNL6xW8L84y4V92XwZaovsgivgwBoRFhqj+WYX 2+w6KhzuepGYwBc1SEoLwm600c4YKPXUPiHT543LV9oHo6mrkxoIJHpPywmt58k9xP9a/9 ssWTvIBwl35uv/OBOOJRTEk2cOoDaybS8AnI78CSM758qitBlmQxYcnRxhjKUw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4cKnTf4FPWzk6B; Mon, 08 Sep 2025 00:12:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 5880CswP066409; Mon, 8 Sep 2025 00:12:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 5880Cslx066406; Mon, 8 Sep 2025 00:12:54 GMT (envelope-from git) Date: Mon, 8 Sep 2025 00:12:54 GMT Message-Id: <202509080012.5880Cslx066406@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Adrian Chadd Subject: git: d6616705231c - main - [net80211] Quieten the logging from ieee80211_vht_get_vhtflags() List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: adrian X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d6616705231ce5a90068136f1aae05c143e8c0eb Auto-Submitted: auto-generated The branch main has been updated by adrian: URL: https://cgit.FreeBSD.org/src/commit/?id=d6616705231ce5a90068136f1aae05c143e8c0eb commit d6616705231ce5a90068136f1aae05c143e8c0eb Author: Adrian Chadd AuthorDate: 2025-08-25 00:50:01 +0000 Commit: Adrian Chadd CommitDate: 2025-09-08 00:11:00 +0000 [net80211] Quieten the logging from ieee80211_vht_get_vhtflags() The commit in Fixes: introduced logging the output bits from ieee80211_vht_get_vhtflags(). This ends up causing quite a lot of logging when net80211 is doing things like processing received beacons. So just remove the logging; if it's needed again then a developer can add it back to that location, or just use dtrace to capture the return value. Fixes: 4bf049bfeefd9 Differential Revision: https://reviews.freebsd.org/D52142 Reviewed by: bz --- sys/net80211/ieee80211_ht.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/net80211/ieee80211_ht.c b/sys/net80211/ieee80211_ht.c index 018927a6dad4..3af56a228295 100644 --- a/sys/net80211/ieee80211_ht.c +++ b/sys/net80211/ieee80211_ht.c @@ -1933,7 +1933,7 @@ ieee80211_vht_get_vhtflags(struct ieee80211_node *ni, uint32_t htflags) { #define _RETURN_CHAN_BITS(_cb) \ do { \ - IEEE80211_NOTE(ni->ni_vap, IEEE80211_MSG_11N, ni, \ + if (0) IEEE80211_NOTE(ni->ni_vap, IEEE80211_MSG_11N, ni, \ "%s:%d: selected %b", __func__, __LINE__, \ (_cb), IEEE80211_CHAN_BITS); \ return (_cb); \