summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211_var.h
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2005-12-12 17:54:39 +0000
committersam <sam@FreeBSD.org>2005-12-12 17:54:39 +0000
commit9b57399d9c80a38cd6b74718b6d472674344b49a (patch)
tree141e7e546c1c1e4f1373aa8a7d91f7517f982f64 /sys/net80211/ieee80211_var.h
parent4c5cf2f0f19cd9e60956aa3d9626effcafffdeff (diff)
downloadFreeBSD-src-9b57399d9c80a38cd6b74718b6d472674344b49a.zip
FreeBSD-src-9b57399d9c80a38cd6b74718b6d472674344b49a.tar.gz
add fixed rate for sending multicast frames
Obtained from: atheros MFC after: 1 week
Diffstat (limited to 'sys/net80211/ieee80211_var.h')
-rw-r--r--sys/net80211/ieee80211_var.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/net80211/ieee80211_var.h b/sys/net80211/ieee80211_var.h
index 05a8849..b4be276 100644
--- a/sys/net80211/ieee80211_var.h
+++ b/sys/net80211/ieee80211_var.h
@@ -74,6 +74,7 @@
#define IEEE80211_PS_MAX_QUEUE 50 /* maximum saved packets */
#define IEEE80211_FIXED_RATE_NONE -1
+#define IEEE80211_MCAST_RATE_DEFAULT (2*1) /* default mcast rate (1M) */
#define IEEE80211_RTS_DEFAULT IEEE80211_RTS_MAX
#define IEEE80211_FRAG_DEFAULT IEEE80211_FRAG_MAX
@@ -138,6 +139,7 @@ struct ieee80211com {
struct ieee80211_channel *ic_ibss_chan;
struct ieee80211_channel *ic_curchan; /* current channel */
int ic_fixed_rate; /* index to ic_sup_rates[] */
+ int ic_mcast_rate; /* rate for mcast frames */
u_int16_t ic_rtsthreshold;
u_int16_t ic_fragthreshold;
struct ieee80211_node *(*ic_node_alloc)(struct ieee80211_node_table*);
OpenPOWER on IntegriCloud