summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211_var.h
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2009-03-29 21:17:08 +0000
committersam <sam@FreeBSD.org>2009-03-29 21:17:08 +0000
commitf7c50ce1e4a47dd26c6dc6d42d8a07343e9d020b (patch)
tree3adee507d18d3410de7636b1c9fdf73932df5b00 /sys/net80211/ieee80211_var.h
parent616f4bd2e5f839f51b2cfd6f131a31b7d81e837c (diff)
downloadFreeBSD-src-f7c50ce1e4a47dd26c6dc6d42d8a07343e9d020b.zip
FreeBSD-src-f7c50ce1e4a47dd26c6dc6d42d8a07343e9d020b.tar.gz
o add ic_rt to track the rate table for the current channel; this enables
calculation of packet transmit times to do things like check txop limits o remove equivalent driver code and convert to use net80211 state
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 d4c95c6..6202158 100644
--- a/sys/net80211/ieee80211_var.h
+++ b/sys/net80211/ieee80211_var.h
@@ -47,6 +47,7 @@
#include <net80211/ieee80211_crypto.h>
#include <net80211/ieee80211_dfs.h>
#include <net80211/ieee80211_ioctl.h> /* for ieee80211_stats */
+#include <net80211/ieee80211_phy.h>
#include <net80211/ieee80211_power.h>
#include <net80211/ieee80211_node.h>
#include <net80211/ieee80211_proto.h>
@@ -161,6 +162,7 @@ struct ieee80211com {
uint8_t ic_chan_active[IEEE80211_CHAN_BYTES];
uint8_t ic_chan_scan[IEEE80211_CHAN_BYTES];
struct ieee80211_channel *ic_curchan; /* current channel */
+ const struct ieee80211_rate_table *ic_rt; /* table for ic_curchan */
struct ieee80211_channel *ic_bsschan; /* bss channel */
struct ieee80211_channel *ic_prevchan; /* previous channel */
struct ieee80211_regdomain ic_regdomain;/* regulatory data */
OpenPOWER on IntegriCloud