summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ti/wlcore/tx.h
diff options
context:
space:
mode:
authorIdo Reis <idor@ti.com>2012-05-13 15:53:40 +0400
committerLuciano Coelho <coelho@ti.com>2012-06-07 19:11:06 +0400
commit9fccc82e19db0d63741cd6c3d2a8829fc8854406 (patch)
tree7fb6f942dc178c9bc648b736927206b2ce7eac95 /drivers/net/wireless/ti/wlcore/tx.h
parentf5755fe96cb010031a50458e6d1391377d94c275 (diff)
downloadlinux-9fccc82e19db0d63741cd6c3d2a8829fc8854406.tar.xz
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>
Diffstat (limited to 'drivers/net/wireless/ti/wlcore/tx.h')
-rw-r--r--drivers/net/wireless/ti/wlcore/tx.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ti/wlcore/tx.h b/drivers/net/wireless/ti/wlcore/tx.h
index 49e441f34839..fa4be1b91135 100644
--- a/drivers/net/wireless/ti/wlcore/tx.h
+++ b/drivers/net/wireless/ti/wlcore/tx.h
@@ -93,9 +93,9 @@ struct wl18xx_tx_mem {
u8 total_mem_blocks;
/*
- * always zero
+ * control bits
*/
- u8 reserved;
+ u8 ctrl;
} __packed;
/*