Skip to content

Commit

Permalink
rt2x00: rt2800usb: limit tx queues length
Browse files Browse the repository at this point in the history
TX status fifo is limited to 16 elements. When we send more frames than
that, we can easily loose status, what is not good for rate scaling
algorithm.

On my testing the change does not degrade performance, actually make
is slightly better. Additionally with the patch I can see much less
various rt2x00 warnings in dmesg.

Signed-off-by: Stanislaw Gruszka <[email protected]>
Acked-by: Gertjan van Wingerde <[email protected]>
Acked-by: Helmut Schaa <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
  • Loading branch information
Stanislaw Gruszka authored and linvjw committed Mar 15, 2012
1 parent 5f8f718 commit 0d9be8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/rt2x00/rt2800usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -870,7 +870,7 @@ static const struct data_queue_desc rt2800usb_queue_rx = {
};

static const struct data_queue_desc rt2800usb_queue_tx = {
.entry_num = 64,
.entry_num = 16,
.data_size = AGGREGATION_SIZE,
.desc_size = TXINFO_DESC_SIZE + TXWI_DESC_SIZE,
.priv_size = sizeof(struct queue_entry_priv_usb),
Expand Down

0 comments on commit 0d9be8a

Please sign in to comment.