wl18xx: pad only last frame in aggregration buffer for PG2
authorIdo Reis <idor@ti.com>
Sun, 13 May 2012 11:53:40 +0000 (14:53 +0300)
committerLuciano Coelho <coelho@ti.com>
Thu, 7 Jun 2012 15:11:06 +0000 (18:11 +0300)
commit9fccc82e19db0d63741cd6c3d2a8829fc8854406
tree7fb6f942dc178c9bc648b736927206b2ce7eac95
parentf5755fe96cb010031a50458e6d1391377d94c275
wl18xx: pad only last frame in aggregration buffer for PG2

In PG2 only the last frame in the aggregate buffer should be
aligned to the sdio block size. This frame's header msb should be
set to 0, while in all the previous frames in the aggregation
buffer, this bit should be set to 1.

[Add a HW op for setting the frame ctrl bit only for 18xx. Other minor
cleanups - Arik]

[Make the pre_pkt_send operation optional -- Luca]

Signed-off-by: Ido Reis <idor@ti.com>
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wl12xx/main.c
drivers/net/wireless/ti/wl18xx/main.c
drivers/net/wireless/ti/wl18xx/tx.h
drivers/net/wireless/ti/wlcore/hw_ops.h
drivers/net/wireless/ti/wlcore/tx.c
drivers/net/wireless/ti/wlcore/tx.h
drivers/net/wireless/ti/wlcore/wlcore.h