]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
rt2x00: rt2800usb: limit tx queues length
authorStanislaw Gruszka <sgruszka@redhat.com>
Wed, 14 Mar 2012 10:16:21 +0000 (11:16 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 15 Mar 2012 17:40:33 +0000 (13:40 -0400)
commit0d9be8a4b7da71ef3b4ac8f6aa4fa225c1cb8e98
tree6edc2815f73f5d0d2dbbb977df6da2a30d70fc79
parent5f8f718ae1e1a6b4e16e67e9e67aff1864419f2e
rt2x00: rt2800usb: limit tx queues length

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 <sgruszka@redhat.com>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Acked-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800usb.c