diff options
author | sam <sam@FreeBSD.org> | 2009-03-29 21:17:08 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2009-03-29 21:17:08 +0000 |
commit | f7c50ce1e4a47dd26c6dc6d42d8a07343e9d020b (patch) | |
tree | 3adee507d18d3410de7636b1c9fdf73932df5b00 /sys/net80211/ieee80211_superg.c | |
parent | 616f4bd2e5f839f51b2cfd6f131a31b7d81e837c (diff) | |
download | FreeBSD-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_superg.c')
-rw-r--r-- | sys/net80211/ieee80211_superg.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/net80211/ieee80211_superg.c b/sys/net80211/ieee80211_superg.c index 96dfccd..5a6e41a 100644 --- a/sys/net80211/ieee80211_superg.c +++ b/sys/net80211/ieee80211_superg.c @@ -490,6 +490,7 @@ ieee80211_dturbo_switch(struct ieee80211vap *vap, int newflags) ic->ic_bsschan = chan; ic->ic_prevchan = ic->ic_curchan; ic->ic_curchan = chan; + ic->ic_rt = ieee80211_get_ratetable(chan); ic->ic_set_channel(ic); /* NB: do not need to reset ERP state 'cuz we're in sta mode */ } |