summaryrefslogtreecommitdiff
path: root/sys/net80211/ieee80211.h
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2007-06-21 21:21:55 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2007-06-21 21:21:55 +0000
commitfb962c64d921b7973e1207b01decdce67deb4323 (patch)
treeba1cffd2be8ce54f7e5e064d9b1cca76242f4325 /sys/net80211/ieee80211.h
parent66cd7538a3fe30d27edcb49896ac2d390c6530f7 (diff)
cleanup CAPINFO values.
Diffstat (limited to 'sys/net80211/ieee80211.h')
-rw-r--r--sys/net80211/ieee80211.h17
1 files changed, 10 insertions, 7 deletions
diff --git a/sys/net80211/ieee80211.h b/sys/net80211/ieee80211.h
index 0fc32932941..56427af5e42 100644
--- a/sys/net80211/ieee80211.h
+++ b/sys/net80211/ieee80211.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ieee80211.h,v 1.19 2007/06/21 19:45:45 damien Exp $ */
+/* $OpenBSD: ieee80211.h,v 1.20 2007/06/21 21:21:54 damien Exp $ */
/* $NetBSD: ieee80211.h,v 1.6 2004/04/30 23:51:53 dyoung Exp $ */
/*-
@@ -260,16 +260,19 @@ typedef u_int8_t *ieee80211_mgt_beacon_t;
#define IEEE80211_CAPINFO_SHORT_PREAMBLE 0x0020
#define IEEE80211_CAPINFO_PBCC 0x0040
#define IEEE80211_CAPINFO_CHNL_AGILITY 0x0080
-/* bits 8-9 are reserved */
+#define IEEE80211_CAPINFO_SPECTRUM_MGMT 0x0100
+#define IEEE80211_CAPINFO_QOS 0x0200
#define IEEE80211_CAPINFO_SHORT_SLOTTIME 0x0400
-#define IEEE80211_CAPINFO_RSN 0x0800
+#define IEEE80211_CAPINFO_APSD 0x0800
/* bit 12 is reserved */
#define IEEE80211_CAPINFO_DSSSOFDM 0x2000
-/* bits 14-15 are reserved */
+#define IEEE80211_CAPINFO_DELAYED_B_ACK 0x4000
+#define IEEE80211_CAPINFO_IMMEDIATE_ACK 0x8000
#define IEEE80211_CAPINFO_BITS \
- "\20\01ESS\02IBSS\03POLLABLE\04POLLREQ\05PRIVACY" \
- "\06SHORT_PREAMBLE\07PBCC\10CHNL_AGILITY" \
- "\13SHORT_SLOTTIME\14RSN\16DSSSOFDM"
+ "\10\01ESS\02IBSS\03CF_POLLABLE\04CF_POLLREQ" \
+ "\05PRIVACY\06SHORT_PREAMBLE\07PBCC\10CHNL_AGILITY" \
+ "\11SPECTRUM_MGMT\12QOS\13SHORT_SLOTTIME\14APSD" \
+ "\16DSSSOFDM\17DELAYED_B_ACK\20IMMEDIATE_ACK"
/*
* Channel attributes