From 8321c622bc4b888984d8c49d465de349ddf196a6 Mon Sep 17 00:00:00 2001 From: Damien Bergamini Date: Tue, 12 Aug 2008 18:22:42 +0000 Subject: process IGTK KDEs in EAPOL-Key frames and install integrity group keys if MFP was negotiated with the peer (not possible yet). --- sys/net80211/ieee80211_node.h | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'sys/net80211/ieee80211_node.h') 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); -- cgit v1.2.3