aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2x00reg.h
diff options
context:
space:
mode:
authorIvo van Doorn <ivdoorn@gmail.com>2008-12-20 04:59:02 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-01-29 15:58:40 -0500
commit076f9582a6b82e54339ee815130315744b730787 (patch)
treea000f26561a903f6cfcebe95a99182ab22b6fc2a /drivers/net/wireless/rt2x00/rt2x00reg.h
parent7b40982e235d6ff9343d38703eb48a0143afcc26 (diff)
rt2x00: Remove ENTRY_TXD_OFDM_RATE
The flag ENTRY_TXD_OFDM_RATE isn't flexible enough to indicate which rate modulation should be used for a frame. This will become a problem when 11n support is added. Remove the flag and replace it with an enum value which can better indicate the exact rate modulation. Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00reg.h')
-rw-r--r--drivers/net/wireless/rt2x00/rt2x00reg.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00reg.h b/drivers/net/wireless/rt2x00/rt2x00reg.h
index c2fba7c9f05c..93f8427055cf 100644
--- a/drivers/net/wireless/rt2x00/rt2x00reg.h
+++ b/drivers/net/wireless/rt2x00/rt2x00reg.h
@@ -125,6 +125,16 @@ enum cipher {
125}; 125};
126 126
127/* 127/*
128 * Rate modulations
129 */
130enum rate_modulation {
131 RATE_MODE_CCK = 0,
132 RATE_MODE_OFDM = 1,
133 RATE_MODE_HT_MIX = 2,
134 RATE_MODE_HT_GREENFIELD = 3,
135};
136
137/*
128 * Register handlers. 138 * Register handlers.
129 * We store the position of a register field inside a field structure, 139 * We store the position of a register field inside a field structure,
130 * This will simplify the process of setting and reading a certain field 140 * This will simplify the process of setting and reading a certain field