]> git.baikalelectronics.ru Git - kernel.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)
commite2e66b0e04ae2751e50946f637f4ca0f45fa23eb
treed50511456cdd9f09dc81fc2efaedde73839c3eca
parent8b9fccafe15c63ef7a2502f4d26d9fff0ae29174
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