aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2x00queue.h
diff options
context:
space:
mode:
authorGertjan van Wingerde <gwingerde@gmail.com>2010-05-03 16:43:05 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-05-04 13:24:23 -0400
commitdf624ca5413d84b3082246de384823fbe8fed6e4 (patch)
tree8be31612bbe529ca29ce87669786fb7a2baa28f8 /drivers/net/wireless/rt2x00/rt2x00queue.h
parenta21ee724034b21d51d74eec8e426702a627eb465 (diff)
rt2x00: Register frame length in TX entry descriptor instead of L2PAD.
And use it consistently in the chipset drivers. Preparation for further clean ups. Signed-off-by: Gertjan van Wingerde <gwingerde@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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00queue.h b/drivers/net/wireless/rt2x00/rt2x00queue.h
index f519aba4ff0f..94a48c174d67 100644
--- a/drivers/net/wireless/rt2x00/rt2x00queue.h
+++ b/drivers/net/wireless/rt2x00/rt2x00queue.h
@@ -285,8 +285,8 @@ enum txentry_desc_flags {
285 * 285 *
286 * @flags: Descriptor flags (See &enum queue_entry_flags). 286 * @flags: Descriptor flags (See &enum queue_entry_flags).
287 * @queue: Queue identification (See &enum data_queue_qid). 287 * @queue: Queue identification (See &enum data_queue_qid).
288 * @length: Length of the entire frame.
288 * @header_length: Length of 802.11 header. 289 * @header_length: Length of 802.11 header.
289 * @l2pad: Amount of padding to align 802.11 payload to 4-byte boundrary.
290 * @length_high: PLCP length high word. 290 * @length_high: PLCP length high word.
291 * @length_low: PLCP length low word. 291 * @length_low: PLCP length low word.
292 * @signal: PLCP signal. 292 * @signal: PLCP signal.
@@ -311,8 +311,8 @@ struct txentry_desc {
311 311
312 enum data_queue_qid queue; 312 enum data_queue_qid queue;
313 313
314 u16 length;
314 u16 header_length; 315 u16 header_length;
315 u16 l2pad;
316 316
317 u16 length_high; 317 u16 length_high;
318 u16 length_low; 318 u16 length_low;