summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211_crypto.h
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2009-02-05 19:20:34 +0000
committersam <sam@FreeBSD.org>2009-02-05 19:20:34 +0000
commit451a1d60710f37a914bed5b73ade11a9e12ad1a7 (patch)
tree52408583bd1b9d9050fcf1cfd7ce245b53ae26ef /sys/net80211/ieee80211_crypto.h
parent1d8d2a7ac9007ac071ab68dab51c9d698a62e0e1 (diff)
downloadFreeBSD-src-451a1d60710f37a914bed5b73ade11a9e12ad1a7.zip
FreeBSD-src-451a1d60710f37a914bed5b73ade11a9e12ad1a7.tar.gz
o add IEEE80211_KEY_BITS for %b printing of wk_flags
o replace hand-rolled code to print wk_flags o add display of ni_ucastkey in show sta o fix \n in _db_show_key
Diffstat (limited to 'sys/net80211/ieee80211_crypto.h')
-rw-r--r--sys/net80211/ieee80211_crypto.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/net80211/ieee80211_crypto.h b/sys/net80211/ieee80211_crypto.h
index 2bf6682..3f8f64e 100644
--- a/sys/net80211/ieee80211_crypto.h
+++ b/sys/net80211/ieee80211_crypto.h
@@ -104,6 +104,10 @@ struct ieee80211_key {
(IEEE80211_KEY_SWENCRYPT | IEEE80211_KEY_SWDECRYPT)
#define IEEE80211_KEY_SWMIC (IEEE80211_KEY_SWENMIC | IEEE80211_KEY_SWDEMIC)
+#define IEEE80211_KEY_BITS \
+ "\20\1XMIT\2RECV\3GROUP\4SWENCRYPT\5SWDECRYPT\6SWENMIC\7SWDEMIC" \
+ "\10DEVKEY\11CIPHER0\12CIPHER1"
+
#define IEEE80211_KEYIX_NONE ((ieee80211_keyix) -1)
/*
OpenPOWER on IntegriCloud