ath9k: do not insert padding into tx buffers on AR9380+
authorFelix Fietkau <nbd@openwrt.org>
Wed, 14 Sep 2011 19:24:27 +0000 (21:24 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 16 Sep 2011 20:45:42 +0000 (16:45 -0400)
commit4245d31347bdc99a608dc1d1cfe64e44aa3d1771
tree0e0dbf7f829660ad4abe2dc24dc68040f458104d
parent3afd21e7c5b3b6312193fbee628b000dce82ecf5
ath9k: do not insert padding into tx buffers on AR9380+

With the new EDMA descriptor format, a single descriptor can contain up
to four buffer pointers. By splitting the buffer into two parts, we can
let the hardware add the padding internally instead of using memmove on
the skb data.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/xmit.c