]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8b9fccafe15c63ef7a2502f4d26d9fff0ae29174
treefebdd2ba7cafd3115837b70c028e6f39b59d9493
parent7eb357ac0780ae546a850c203175574141165e7d
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