summaryrefslogtreecommitdiff
path: root/sys/net80211/ieee80211_node.h
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2008-08-12 18:22:42 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2008-08-12 18:22:42 +0000
commit8321c622bc4b888984d8c49d465de349ddf196a6 (patch)
tree61d2fe7a42cde40203f51a35710d475f7154fd82 /sys/net80211/ieee80211_node.h
parentab5a9e9d81fc4c62ba8686abf635e9b0da2420c9 (diff)
process IGTK KDEs in EAPOL-Key frames and install integrity group keys
if MFP was negotiated with the peer (not possible yet).
Diffstat (limited to 'sys/net80211/ieee80211_node.h')
-rw-r--r--sys/net80211/ieee80211_node.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/sys/net80211/ieee80211_node.h b/sys/net80211/ieee80211_node.h
index 8e375b81895..a60079601ef 100644
--- a/sys/net80211/ieee80211_node.h
+++ b/sys/net80211/ieee80211_node.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ieee80211_node.h,v 1.30 2008/08/02 08:24:15 damien Exp $ */
+/* $OpenBSD: ieee80211_node.h,v 1.31 2008/08/12 18:22:41 damien Exp $ */
/* $NetBSD: ieee80211_node.h,v 1.9 2004/04/30 22:57:32 dyoung Exp $ */
/*-
@@ -154,6 +154,7 @@ struct ieee80211_node {
u_int ni_rsnakms;
u_int ni_rsnciphers;
enum ieee80211_cipher ni_rsngroupcipher;
+ enum ieee80211_cipher ni_rsngroupmgmtcipher;
u_int16_t ni_rsncaps;
enum ieee80211_cipher ni_rsncipher;
u_int8_t ni_nonce[EAPOL_KEY_NONCE_LEN];
@@ -179,13 +180,16 @@ struct ieee80211_node {
int ni_state;
u_int8_t ni_flags; /* special-purpose state */
-#define IEEE80211_NODE_ERP 0x01
-#define IEEE80211_NODE_QOS 0x02
-#define IEEE80211_NODE_REKEY 0x04 /* GTK rekeying in progress */
-#define IEEE80211_NODE_RXPROT 0x08 /* RX protection ON */
-#define IEEE80211_NODE_TXPROT 0x10 /* TX protection ON */
+#define IEEE80211_NODE_ERP 0x01
+#define IEEE80211_NODE_QOS 0x02
+#define IEEE80211_NODE_REKEY 0x04 /* GTK rekeying in progress */
+#define IEEE80211_NODE_RXPROT 0x08 /* RX protection ON */
+#define IEEE80211_NODE_TXPROT 0x10 /* TX protection ON */
#define IEEE80211_NODE_TXRXPROT \
(IEEE80211_NODE_TXPROT | IEEE80211_NODE_RXPROT)
+#define IEEE80211_NODE_RXMGMTPROT 0x20 /* RX MMPDU protection ON */
+#define IEEE80211_NODE_TXMGMTPROT 0x40 /* TX MMPDU protection ON */
+#define IEEE80211_NODE_MFP 0x80 /* MFP negotiated */
};
RB_HEAD(ieee80211_tree, ieee80211_node);