summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2008-08-12 18:30:03 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2008-08-12 18:30:03 +0000
commit4febd015ac6c0be2bc89f96abdb21e9bbdac8f51 (patch)
tree6864dc9fae4758ceabf7ba88c822974c1bf53a38 /sys
parentf45a8715103c1290c3777cd680867cf7cca6f9c8 (diff)
add definitions for RSN capabilities field (RSN IE).
Diffstat (limited to 'sys')
-rw-r--r--sys/net80211/ieee80211.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211.h b/sys/net80211/ieee80211.h
index 8ed2c5d880f..ff849f4f240 100644
--- a/sys/net80211/ieee80211.h
+++ b/sys/net80211/ieee80211.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ieee80211.h,v 1.40 2008/08/12 18:22:41 damien Exp $ */
+/* $OpenBSD: ieee80211.h,v 1.41 2008/08/12 18:30:02 damien Exp $ */
/* $NetBSD: ieee80211.h,v 1.6 2004/04/30 23:51:53 dyoung Exp $ */
/*-
@@ -295,6 +295,17 @@ enum {
#define IEEE80211_ERP_BARKER_MODE 0x04
/*
+ * RSN capabilities (see 7.3.2.25.3).
+ */
+#define IEEE80211_RSNCAP_PREAUTH 0x0001
+#define IEEE80211_RSNCAP_NOPAIRWISE 0x0002
+#define IEEE80211_RSNCAP_MFPR 0x0040 /* 11w */
+#define IEEE80211_RSNCAP_MFPC 0x0080 /* 11w */
+#define IEEE80211_RSNCAP_PEERKEYENA 0x0200
+#define IEEE80211_RSNCAP_SPPAMSDUC 0x0400 /* 11n */
+#define IEEE80211_RSNCAP_SPPAMSDUR 0x0800 /* 11n */
+
+/*
* EDCA Access Categories.
*/
enum ieee80211_edca_ac {