]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1e845f59d60dbf78e2115840b701793fc1bf354c
tree7fb6f942dc178c9bc648b736927206b2ce7eac95
parentdd80986ad60a3d59730ab323f93bab38b8aeb47d
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