Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net80211 add more QoS bits
details: https://anonhg.NetBSD.org/src/rev/c13c74fc81ee
branches: trunk
changeset: 781103:c13c74fc81ee
user: christos <christos%NetBSD.org@localhost>
date: Mon Aug 20 07:30:10 2012 +0000
description:
add more QoS bits
diffstat:
sys/net80211/ieee80211.h | 19 ++++++++++++++-----
1 files changed, 14 insertions(+), 5 deletions(-)
diffs (36 lines):
diff -r ee65bbb260b5 -r c13c74fc81ee sys/net80211/ieee80211.h
--- a/sys/net80211/ieee80211.h Sun Aug 19 20:54:56 2012 +0000
+++ b/sys/net80211/ieee80211.h Mon Aug 20 07:30:10 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ieee80211.h,v 1.21 2010/11/03 20:05:21 christos Exp $ */
+/* $NetBSD: ieee80211.h,v 1.22 2012/08/20 07:30:10 christos Exp $ */
/*-
* Copyright (c) 2001 Atsushi Onoe
* Copyright (c) 2002-2005 Sam Leffler, Errno Consulting
@@ -170,13 +170,22 @@
#define IEEE80211_NWID_LEN 32
-#define IEEE80211_QOS_TXOP 0x00ff
+/*
+ * QoS Control field (see 7.1.3.5).
+ */
/* bit 8 is reserved */
-#define IEEE80211_QOS_ACKPOLICY 0x60
+#define IEEE80211_QOS_TXOP 0xff00
+#define IEEE80211_QOS_AMSDU 0x0080 /* 11n */
+#define IEEE80211_QOS_ACKPOLICY_NORMAL 0x0000
+#define IEEE80211_QOS_ACKPOLICY_NOACK 0x0020
+#define IEEE80211_QOS_ACKPOLICY_NOEXPLACK 0x0040
+#define IEEE80211_QOS_ACKPOLICY 0x0060
#define IEEE80211_QOS_ACKPOLICY_S 5
-#define IEEE80211_QOS_ESOP 0x10
+#define IEEE80211_QOS_ACKPOLICY_MASK 0x0060
+#define IEEE80211_QOS_ACKPOLICY_BA 0x0060
+#define IEEE80211_QOS_ESOP 0x0010
#define IEEE80211_QOS_ESOP_S 4
-#define IEEE80211_QOS_TID 0x0f
+#define IEEE80211_QOS_TID 0x000f
/* does frame have QoS sequence control data */
#define IEEE80211_QOS_HAS_SEQ(wh) \
Home |
Main Index |
Thread Index |
Old Index