diff options
author | sam <sam@FreeBSD.org> | 2004-12-31 21:01:41 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2004-12-31 21:01:41 +0000 |
commit | 8c3a1cf5aa00b4249f23ec930cb4f40910056acd (patch) | |
tree | 5eecfb502064943ee94e954b8fcf19d521a54e92 /sys/net80211 | |
parent | e508073ee6012fdd925e1a9bd0b0b11d2fda47f6 (diff) | |
download | FreeBSD-src-8c3a1cf5aa00b4249f23ec930cb4f40910056acd.zip FreeBSD-src-8c3a1cf5aa00b4249f23ec930cb4f40910056acd.tar.gz |
o add net.wlan.X.driver_caps mib variable for setting the driver capabilities
flags for testing
o debug msg consistency fixups
Diffstat (limited to 'sys/net80211')
-rw-r--r-- | sys/net80211/ieee80211_freebsd.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/net80211/ieee80211_freebsd.c b/sys/net80211/ieee80211_freebsd.c index b591de1..c916c0b 100644 --- a/sys/net80211/ieee80211_freebsd.c +++ b/sys/net80211/ieee80211_freebsd.c @@ -123,6 +123,9 @@ ieee80211_sysctl_attach(struct ieee80211com *ic) "inact_init", CTLTYPE_INT | CTLFLAG_RW, &ic->ic_inact_init, 0, ieee80211_sysctl_inact, "I", "station initial state timeout (sec)"); + SYSCTL_ADD_INT(ctx, SYSCTL_CHILDREN(oid), OID_AUTO, + "driver_caps", CTLFLAG_RW, &ic->ic_caps, 0, + "driver capabilities"); ic->ic_sysctl = ctx; } @@ -258,9 +261,9 @@ ieee80211_notify_replay_failure(struct ieee80211com *ic, struct ifnet *ifp = ic->ic_ifp; IEEE80211_DPRINTF(ic, IEEE80211_MSG_CRYPTO, - "[%s] %s replay detected <rsc %ju, csc %ju>\n", + "[%s] %s replay detected <rsc %ju, csc %ju, keyix %u>\n", ether_sprintf(wh->i_addr2), k->wk_cipher->ic_name, - (intmax_t) rsc, (intmax_t) k->wk_keyrsc); + (intmax_t) rsc, (intmax_t) k->wk_keyrsc, k->wk_keyix); if (ifp != NULL) { /* NB: for cipher test modules */ struct ieee80211_replay_event iev; @@ -282,7 +285,7 @@ ieee80211_notify_michael_failure(struct ieee80211com *ic, struct ifnet *ifp = ic->ic_ifp; IEEE80211_DPRINTF(ic, IEEE80211_MSG_CRYPTO, - "[%s] Michael MIC verification failed <keyidx %d>\n", + "[%s] michael MIC verification failed <keyix %u>\n", ether_sprintf(wh->i_addr2), keyix); ic->ic_stats.is_rx_tkipmic++; |