Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net80211 #define the difference in microseconds between ...
details: https://anonhg.NetBSD.org/src/rev/8b673769912d
branches: trunk
changeset: 572182:8b673769912d
user: dyoung <dyoung%NetBSD.org@localhost>
date: Thu Dec 23 05:25:41 2004 +0000
description:
#define the difference in microseconds between a fast and a slow
preamble and PLCP header.
diffstat:
sys/net80211/ieee80211.h | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r 84a09685bce2 -r 8b673769912d sys/net80211/ieee80211.h
--- a/sys/net80211/ieee80211.h Thu Dec 23 04:39:41 2004 +0000
+++ b/sys/net80211/ieee80211.h Thu Dec 23 05:25:41 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ieee80211.h,v 1.8 2004/12/19 08:08:06 dyoung Exp $ */
+/* $NetBSD: ieee80211.h,v 1.9 2004/12/23 05:25:41 dyoung Exp $ */
/*-
* Copyright (c) 2001 Atsushi Onoe
* Copyright (c) 2002-2004 Sam Leffler, Errno Consulting
@@ -623,8 +623,12 @@
/* IEEE 802.11b durations for DSSS PHY in microseconds */
#define IEEE80211_DUR_DS_LONG_PREAMBLE 144
#define IEEE80211_DUR_DS_SHORT_PREAMBLE 72
+#define IEEE80211_DUR_DS_PREAMBLE_DIFFERENCE \
+ (IEEE80211_DUR_DS_LONG_PREAMBLE - IEEE80211_DUR_DS_SHORT_PREAMBLE)
#define IEEE80211_DUR_DS_FAST_PLCPHDR 24
#define IEEE80211_DUR_DS_SLOW_PLCPHDR 48
+#define IEEE80211_DUR_DS_PLCPHDR_DIFFERENCE \
+ (IEEE80211_DUR_DS_SLOW_PLCPHDR - IEEE80211_DUR_DS_FAST_PLCPHDR)
#define IEEE80211_DUR_DS_SLOW_ACK 112
#define IEEE80211_DUR_DS_FAST_ACK 56
#define IEEE80211_DUR_DS_SLOW_CTS 112
Home |
Main Index |
Thread Index |
Old Index