summaryrefslogtreecommitdiff
path: root/sys/net80211/ieee80211.h
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2008-07-21 19:27:27 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2008-07-21 19:27:27 +0000
commit08430a2ddf7fd5201d4b1fbb8da645d3a9634bca (patch)
treec30ae6f0787b1041d0fe63944a78ebf8dedf4290 /sys/net80211/ieee80211.h
parenta9742443496f17c1a7ae97abed8bf5191fc67d7f (diff)
add ieee80211_priv.h file: contains definitions private to net80211.
this must not be included by drivers.
Diffstat (limited to 'sys/net80211/ieee80211.h')
-rw-r--r--sys/net80211/ieee80211.h15
1 files changed, 4 insertions, 11 deletions
diff --git a/sys/net80211/ieee80211.h b/sys/net80211/ieee80211.h
index 8914594ed74..d3a8bd08c98 100644
--- a/sys/net80211/ieee80211.h
+++ b/sys/net80211/ieee80211.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ieee80211.h,v 1.35 2008/04/16 18:32:15 damien Exp $ */
+/* $OpenBSD: ieee80211.h,v 1.36 2008/07/21 19:27:26 damien Exp $ */
/* $NetBSD: ieee80211.h,v 1.6 2004/04/30 23:51:53 dyoung Exp $ */
/*-
@@ -557,16 +557,9 @@ enum {
* number may be overridden by the driver and/or by
* user configuration.
*/
-#define IEEE80211_AID_MAX 2007
-#define IEEE80211_AID_DEF 1800
-
-#define IEEE80211_AID(b) ((b) &~ 0xc000)
-#define IEEE80211_AID_SET(b, w) \
- ((w)[IEEE80211_AID(b) / 32] |= (1 << (IEEE80211_AID(b) % 32)))
-#define IEEE80211_AID_CLR(b, w) \
- ((w)[IEEE80211_AID(b) / 32] &= ~(1 << (IEEE80211_AID(b) % 32)))
-#define IEEE80211_AID_ISSET(b, w) \
- ((w)[IEEE80211_AID(b) / 32] & (1 << (IEEE80211_AID(b) % 32)))
+#define IEEE80211_AID_MAX 2007
+#define IEEE80211_AID_DEF 1800
+#define IEEE80211_AID(b) ((b) &~ 0xc000)
/*
* RTS frame length parameters. The default is specified in