]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
wlcore/wl12xx: add prepare_read hw op for Rx data
authorLuciano Coelho <coelho@ti.com>
Mon, 12 Dec 2011 10:15:08 +0000 (12:15 +0200)
committerLuciano Coelho <coelho@ti.com>
Thu, 12 Apr 2012 05:44:00 +0000 (08:44 +0300)
commitb14684a00439b7b154e63be9446fba19281b8bbc
treed50511456cdd9f09dc81fc2efaedde73839c3eca
parentcd70f6a48b3fbb841a127361ee4ac0752f9d29a2
wlcore/wl12xx: add prepare_read hw op for Rx data

The only difference in the read_data operations is that some chips
need to prepare the data to be read before reading.  So instead of
having a mandatory read_data operation, we now have an option
prepare_data operation that only needs to be implemented for chips
that require it.

In the wl12xx lower driver, we only set the prepare_data operation for
wl127x chips.

Signed-off-by: Luciano Coelho <coelho@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/wlcore/hw_ops.h
drivers/net/wireless/ti/wlcore/rx.c
drivers/net/wireless/ti/wlcore/wlcore.h