diff options
author | Adrian Chadd <adrian@FreeBSD.org> | 2012-07-15 20:51:41 +0000 |
---|---|---|
committer | Adrian Chadd <adrian@FreeBSD.org> | 2012-07-15 20:51:41 +0000 |
commit | c7f5bb7a4f6798cac045541bee18bda0263286a8 (patch) | |
tree | 24096f5abd94fe5daf9be79c9355ecfa29f05a8c /sys/dev/ath/if_ath_sysctl.c | |
parent | 29edf89eaa73582a721549616393a39674ea3c89 (diff) | |
download | src-c7f5bb7a4f6798cac045541bee18bda0263286a8.tar.gz src-c7f5bb7a4f6798cac045541bee18bda0263286a8.zip |
Handle RX Keymiss events.
The AR9003 series NICs implement a separate RX error to signal that a
Keycache miss occured. The earlier NICs would not set the key index
valid bit.
I'll dig into the difference between "no key index bit set" and "keycache
miss".
Notes
Notes:
svn path=/head/; revision=238507
Diffstat (limited to 'sys/dev/ath/if_ath_sysctl.c')
-rw-r--r-- | sys/dev/ath/if_ath_sysctl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/ath/if_ath_sysctl.c b/sys/dev/ath/if_ath_sysctl.c index ff75888e047d..e1e9426c8fa1 100644 --- a/sys/dev/ath/if_ath_sysctl.c +++ b/sys/dev/ath/if_ath_sysctl.c @@ -934,6 +934,8 @@ ath_sysctl_stats_attach(struct ath_softc *sc) SYSCTL_ADD_UINT(ctx, child, OID_AUTO, "ast_tx_mcastq_overflow", CTLFLAG_RD, &sc->sc_stats.ast_tx_mcastq_overflow, 0, "Number of multicast frames exceeding maximum mcast queue depth"); + SYSCTL_ADD_UINT(ctx, child, OID_AUTO, "ast_rx_keymiss", CTLFLAG_RD, + &sc->sc_stats.ast_rx_keymiss, 0, ""); /* Attach the RX phy error array */ ath_sysctl_stats_attach_rxphyerr(sc, child); |