aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ath/if_athvar.h
diff options
context:
space:
mode:
authorSam Leffler <sam@FreeBSD.org>2003-08-19 21:24:16 +0000
committerSam Leffler <sam@FreeBSD.org>2003-08-19 21:24:16 +0000
commit1b1a8e411e9723b152dfcc516eab368952870882 (patch)
tree9816499daec1e86e9510df70f7690c3d8506d322 /sys/dev/ath/if_athvar.h
parent2274d8c88547321ad1b9457d5561dea701aa41ac (diff)
downloadsrc-1b1a8e411e9723b152dfcc516eab368952870882.tar.gz
src-1b1a8e411e9723b152dfcc516eab368952870882.zip
maintain a table for mapping hardware rate codes to 802.11 rates for
calculating the rate for each rx'd frame
Notes
Notes: svn path=/head/; revision=119144
Diffstat (limited to 'sys/dev/ath/if_athvar.h')
-rw-r--r--sys/dev/ath/if_athvar.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/ath/if_athvar.h b/sys/dev/ath/if_athvar.h
index ea278096558a..dac204a811e4 100644
--- a/sys/dev/ath/if_athvar.h
+++ b/sys/dev/ath/if_athvar.h
@@ -95,6 +95,7 @@ struct ath_softc {
const HAL_RATE_TABLE *sc_currates; /* current rate table */
enum ieee80211_phymode sc_curmode; /* current phy mode */
u_int8_t sc_rixmap[256]; /* IEEE to h/w rate table ix */
+ u_int8_t sc_hwmap[32]; /* h/w rate ix to IEEE table */
HAL_INT sc_imask; /* interrupt mask copy */
struct ath_desc *sc_desc; /* TX/RX descriptors */