summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211.h
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2006-07-26 03:05:34 +0000
committersam <sam@FreeBSD.org>2006-07-26 03:05:34 +0000
commit0e7f6a5c5f52968ad4826a6c8225a044c0803fbc (patch)
tree53c976ba17733b353b34888e3c893e511aeffba9 /sys/net80211/ieee80211.h
parent405961b2ae3a804a6f0474fcbe022dc57af7110b (diff)
downloadFreeBSD-src-0e7f6a5c5f52968ad4826a6c8225a044c0803fbc.zip
FreeBSD-src-0e7f6a5c5f52968ad4826a6c8225a044c0803fbc.tar.gz
o move min/max beacon interval and dtim period to public location
o add min/max beacon miss threshold settings o delete IEEE80211_SWBMISS_THRESHOLD, it was never used MFC after: 2 weeks
Diffstat (limited to 'sys/net80211/ieee80211.h')
-rw-r--r--sys/net80211/ieee80211.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/sys/net80211/ieee80211.h b/sys/net80211/ieee80211.h
index 61b5bd6..5e96559 100644
--- a/sys/net80211/ieee80211.h
+++ b/sys/net80211/ieee80211.h
@@ -636,4 +636,28 @@ enum {
#define IEEE80211_FRAG_MIN 256
#define IEEE80211_FRAG_MAX 2346
+/*
+ * Beacon interval (TU's). Min+max come from WiFi requirements.
+ * As above, we treat default as implementation-dependent so
+ * define it elsewhere.
+ */
+#define IEEE80211_BINTVAL_MAX 1000 /* max beacon interval (TU's) */
+#define IEEE80211_BINTVAL_MIN 25 /* min beacon interval (TU's) */
+
+/*
+ * DTIM period (beacons). Min+max are not really defined
+ * by the protocol but we want them publicly visible so
+ * define them here.
+ */
+#define IEEE80211_DTIM_MAX 15 /* max DTIM period */
+#define IEEE80211_DTIM_MIN 1 /* min DTIM period */
+
+/*
+ * Beacon miss threshold (beacons). As for DTIM, we define
+ * them here to be publicly visible. Note the max may be
+ * clamped depending on device capabilities.
+ */
+#define IEEE80211_HWBMISS_MIN 1
+#define IEEE80211_HWBMISS_MAX 255
+
#endif /* _NET80211_IEEE80211_H_ */
OpenPOWER on IntegriCloud