wl1271: TX aggregation optimization
authorIdo Yariv <ido@wizery.com>
Tue, 12 Oct 2010 12:49:09 +0000 (14:49 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Nov 2010 18:25:03 +0000 (13:25 -0500)
commit6c6e669ed6282788d6045397ce0f201edc400d9d
tree2ecd33ed575f1a4121cdd558eab1e4e82a4b89c9
parentc8aea565e8f715d9f10064b1cbfbc15bf75df501
wl1271: TX aggregation optimization

In case the aggregation buffer is too small to hold all available packets,
the buffer is transferred to the FW and no more packets are aggregated.
Although there may be enough available TX blocks, no additional packets will
be handled by the current TX work.

Fix this by flushing the aggregation buffer when it's full, and continue
transferring packets as long as there are enough available TX blocks.

Signed-off-by: Ido Yariv <ido@wizery.com>
Reviewed-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
drivers/net/wireless/wl12xx/wl1271_tx.c