wlcore/wl12xx: add hw op for getting rx buffer data alignment
authorArik Nemtsov <arik@wizery.com>
Mon, 12 Dec 2011 10:11:43 +0000 (12:11 +0200)
committerLuciano Coelho <coelho@ti.com>
Thu, 12 Apr 2012 05:43:59 +0000 (08:43 +0300)
commitcd70f6a48b3fbb841a127361ee4ac0752f9d29a2
treefebdd2ba7cafd3115837b70c028e6f39b59d9493
parent5766435e2f704d0b2ec071639dcfd8f039aeb674
wlcore/wl12xx: add hw op for getting rx buffer data alignment

An aligned data buffer is such where the Ethernet portion of the packet
starts on a 4-byte boundary. Some chip families support padding the Rx
data buffer to achieve such alignment, others rely on the host to perform
it.
Implement the HW op for getting alignment state in wl12xx. Add
support for HW-padded alignment in the Rx flow.

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/wlcore/hw_ops.h
drivers/net/wireless/ti/wlcore/rx.c
drivers/net/wireless/ti/wlcore/rx.h
drivers/net/wireless/ti/wlcore/wlcore.h