summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath/if_athvar.h
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2003-08-19 21:24:16 +0000
committersam <sam@FreeBSD.org>2003-08-19 21:24:16 +0000
commitcd6c255bc51f7b71eeb00ea9019b80f87332d99c (patch)
tree9816499daec1e86e9510df70f7690c3d8506d322 /sys/dev/ath/if_athvar.h
parent895f841f53a195064dd3cf17710e9e3fcc522bb0 (diff)
downloadFreeBSD-src-cd6c255bc51f7b71eeb00ea9019b80f87332d99c.zip
FreeBSD-src-cd6c255bc51f7b71eeb00ea9019b80f87332d99c.tar.gz
maintain a table for mapping hardware rate codes to 802.11 rates for
calculating the rate for each rx'd frame
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 ea27809..dac204a 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 */
OpenPOWER on IntegriCloud