Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 May 2021 23:34:01 GMT
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 1ca399682822 - main - [ath] Add ast_tsfoor to the sysctl statistics array.
Message-ID:  <202105222334.14MNY1W1020470@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by adrian:

URL: https://cgit.FreeBSD.org/src/commit/?id=1ca39968282266283251f2d3e4c27bcb67bb14f1

commit 1ca39968282266283251f2d3e4c27bcb67bb14f1
Author:     Adrian Chadd <adrian@FreeBSD.org>
AuthorDate: 2021-03-13 22:16:17 +0000
Commit:     Adrian Chadd <adrian@FreeBSD.org>
CommitDate: 2021-05-22 22:54:16 +0000

    [ath] Add ast_tsfoor to the sysctl statistics array.
---
 sys/dev/ath/if_ath_sysctl.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sys/dev/ath/if_ath_sysctl.c b/sys/dev/ath/if_ath_sysctl.c
index 3c873d3e8b34..de852158f991 100644
--- a/sys/dev/ath/if_ath_sysctl.c
+++ b/sys/dev/ath/if_ath_sysctl.c
@@ -1301,6 +1301,10 @@ ath_sysctl_stats_attach(struct ath_softc *sc)
 	    CTLFLAG_RD, &sc->sc_stats.ast_tx_ldpc, 0,
 	    "Number of LDPC frames transmitted");
 
+	SYSCTL_ADD_UINT(ctx, child, OID_AUTO, "ast_tsfoor",
+	    CTLFLAG_RD, &sc->sc_stats.ast_tsfoor, 0,
+	    "Number of TSF out of range interrupts/resets");
+
 	/* Attach the RX phy error array */
 	ath_sysctl_stats_attach_rxphyerr(sc, child);
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105222334.14MNY1W1020470>