diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2008-08-29 15:05:45 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-08-29 16:24:12 -0400 |
commit | 2af0a570b45ec315f364ea2c8a6d072cfcaa9d32 (patch) | |
tree | c3570f4c9bb0d24bef857977e5251b04309b95ad /drivers/net/wireless/rt2x00/rt2x00queue.h | |
parent | 2575c11d6ee7266f0f035e55c5056b36597cd336 (diff) |
rt2x00: Initialize txop during conf_tx() callback
The txop parameter is supported by rt61pci and rt73usb,
and thus should be written to the register instead
of using the fixed value set during initialization.
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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00queue.h b/drivers/net/wireless/rt2x00/rt2x00queue.h index 37f3f98d58a..654fa0c624d 100644 --- a/drivers/net/wireless/rt2x00/rt2x00queue.h +++ b/drivers/net/wireless/rt2x00/rt2x00queue.h | |||
@@ -368,6 +368,7 @@ enum queue_index { | |||
368 | * @length: Number of frames in queue. | 368 | * @length: Number of frames in queue. |
369 | * @index: Index pointers to entry positions in the queue, | 369 | * @index: Index pointers to entry positions in the queue, |
370 | * use &enum queue_index to get a specific index field. | 370 | * use &enum queue_index to get a specific index field. |
371 | * @txop: maximum burst time. | ||
371 | * @aifs: The aifs value for outgoing frames (field ignored in RX queue). | 372 | * @aifs: The aifs value for outgoing frames (field ignored in RX queue). |
372 | * @cw_min: The cw min value for outgoing frames (field ignored in RX queue). | 373 | * @cw_min: The cw min value for outgoing frames (field ignored in RX queue). |
373 | * @cw_max: The cw max value for outgoing frames (field ignored in RX queue). | 374 | * @cw_max: The cw max value for outgoing frames (field ignored in RX queue). |
@@ -387,6 +388,7 @@ struct data_queue { | |||
387 | unsigned short length; | 388 | unsigned short length; |
388 | unsigned short index[Q_INDEX_MAX]; | 389 | unsigned short index[Q_INDEX_MAX]; |
389 | 390 | ||
391 | unsigned short txop; | ||
390 | unsigned short aifs; | 392 | unsigned short aifs; |
391 | unsigned short cw_min; | 393 | unsigned short cw_min; |
392 | unsigned short cw_max; | 394 | unsigned short cw_max; |