diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2008-12-20 04:59:02 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-01-29 15:58:40 -0500 |
commit | 076f9582a6b82e54339ee815130315744b730787 (patch) | |
tree | a000f26561a903f6cfcebe95a99182ab22b6fc2a /drivers/net/wireless/rt2x00/rt2x00queue.h | |
parent | 7b40982e235d6ff9343d38703eb48a0143afcc26 (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/rt2x00queue.h')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00queue.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00queue.h b/drivers/net/wireless/rt2x00/rt2x00queue.h index 28293715340..5a9d2c3d1bb 100644 --- a/drivers/net/wireless/rt2x00/rt2x00queue.h +++ b/drivers/net/wireless/rt2x00/rt2x00queue.h | |||
@@ -222,7 +222,6 @@ struct txdone_entry_desc { | |||
222 | * | 222 | * |
223 | * @ENTRY_TXD_RTS_FRAME: This frame is a RTS frame. | 223 | * @ENTRY_TXD_RTS_FRAME: This frame is a RTS frame. |
224 | * @ENTRY_TXD_CTS_FRAME: This frame is a CTS-to-self frame. | 224 | * @ENTRY_TXD_CTS_FRAME: This frame is a CTS-to-self frame. |
225 | * @ENTRY_TXD_OFDM_RATE: This frame is send out with an OFDM rate. | ||
226 | * @ENTRY_TXD_GENERATE_SEQ: This frame requires sequence counter. | 225 | * @ENTRY_TXD_GENERATE_SEQ: This frame requires sequence counter. |
227 | * @ENTRY_TXD_FIRST_FRAGMENT: This is the first frame. | 226 | * @ENTRY_TXD_FIRST_FRAGMENT: This is the first frame. |
228 | * @ENTRY_TXD_MORE_FRAG: This frame is followed by another fragment. | 227 | * @ENTRY_TXD_MORE_FRAG: This frame is followed by another fragment. |
@@ -238,7 +237,6 @@ struct txdone_entry_desc { | |||
238 | enum txentry_desc_flags { | 237 | enum txentry_desc_flags { |
239 | ENTRY_TXD_RTS_FRAME, | 238 | ENTRY_TXD_RTS_FRAME, |
240 | ENTRY_TXD_CTS_FRAME, | 239 | ENTRY_TXD_CTS_FRAME, |
241 | ENTRY_TXD_OFDM_RATE, | ||
242 | ENTRY_TXD_GENERATE_SEQ, | 240 | ENTRY_TXD_GENERATE_SEQ, |
243 | ENTRY_TXD_FIRST_FRAGMENT, | 241 | ENTRY_TXD_FIRST_FRAGMENT, |
244 | ENTRY_TXD_MORE_FRAG, | 242 | ENTRY_TXD_MORE_FRAG, |
@@ -263,6 +261,7 @@ enum txentry_desc_flags { | |||
263 | * @length_low: PLCP length low word. | 261 | * @length_low: PLCP length low word. |
264 | * @signal: PLCP signal. | 262 | * @signal: PLCP signal. |
265 | * @service: PLCP service. | 263 | * @service: PLCP service. |
264 | * @rate_mode: Rate mode (See @enum rate_modulation). | ||
266 | * @retry_limit: Max number of retries. | 265 | * @retry_limit: Max number of retries. |
267 | * @aifs: AIFS value. | 266 | * @aifs: AIFS value. |
268 | * @ifs: IFS value. | 267 | * @ifs: IFS value. |
@@ -282,6 +281,8 @@ struct txentry_desc { | |||
282 | u16 signal; | 281 | u16 signal; |
283 | u16 service; | 282 | u16 service; |
284 | 283 | ||
284 | u16 rate_mode; | ||
285 | |||
285 | short retry_limit; | 286 | short retry_limit; |
286 | short aifs; | 287 | short aifs; |
287 | short ifs; | 288 | short ifs; |