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>
This commit is contained in:

committed by
John W. Linville

parent
2575c11d6e
commit
2af0a570b4
@@ -368,6 +368,7 @@ enum queue_index {
|
||||
* @length: Number of frames in queue.
|
||||
* @index: Index pointers to entry positions in the queue,
|
||||
* use &enum queue_index to get a specific index field.
|
||||
* @txop: maximum burst time.
|
||||
* @aifs: The aifs value for outgoing frames (field ignored in RX queue).
|
||||
* @cw_min: The cw min value for outgoing frames (field ignored in RX queue).
|
||||
* @cw_max: The cw max value for outgoing frames (field ignored in RX queue).
|
||||
@@ -387,6 +388,7 @@ struct data_queue {
|
||||
unsigned short length;
|
||||
unsigned short index[Q_INDEX_MAX];
|
||||
|
||||
unsigned short txop;
|
||||
unsigned short aifs;
|
||||
unsigned short cw_min;
|
||||
unsigned short cw_max;
|
||||
|
Reference in New Issue
Block a user