linux/drivers/net/wireless/ti/wl1251
George Spelvin e757201b8d drivers/net/wireless/ti/wl*/spi.c: Simplify CRC computation
These devices require commands stored in buffers in an odd order,
different from that in which the CRC is computed.

Rather than make two copies of the commands in two different orders,
form the commands in logical (CRC) order, append the CRC, then byte-swap
in place to the desired order.

The old code worked fine, I'm just scratching an "ugh, that's ugly"
itch.

Signed-off-by: George Spelvin <linux@horizon.com>
Reviewed-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2014-05-16 14:26:53 -04:00
..
Kconfig Remove GENERIC_HARDIRQ config option 2013-09-13 15:09:52 +02:00
Makefile
acx.c lib/crc7: Shift crc7() output left 1 bit 2014-05-16 14:26:52 -04:00
acx.h wl1251: implement multicast address filtering (fwd) 2014-01-09 10:56:06 -05:00
boot.c wl1251: retry power save entry 2014-01-09 10:53:38 -05:00
boot.h
cmd.c lib/crc7: Shift crc7() output left 1 bit 2014-05-16 14:26:52 -04:00
cmd.h wl1251: split RX and TX data path initialisation 2014-01-09 10:53:39 -05:00
debugfs.c
debugfs.h
event.c wl1251: only call ieee80211_beacon_loss in managed mode 2014-05-13 15:56:27 -04:00
event.h wl1251: retry power save entry 2014-01-09 10:53:38 -05:00
init.c wl1251: implement multicast address filtering (fwd) 2014-01-09 10:56:06 -05:00
init.h
io.c
io.h
main.c wl1251: fix mixed up args for join 2014-05-13 15:56:22 -04:00
ps.c wl1251: don't use [delayed_]work_pending() 2012-12-28 13:40:15 -08:00
ps.h
reg.h
rx.c wl1251: use skb_trim to make skb shorter 2014-03-03 15:35:55 -05:00
rx.h
sdio.c wl1251: move power GPIO handling into the driver 2014-02-28 14:08:26 -05:00
spi.c drivers/net/wireless/ti/wl*/spi.c: Simplify CRC computation 2014-05-16 14:26:53 -04:00
spi.h
tx.c wl1251: disable retry and ACK policy for injected packets 2014-01-09 10:56:36 -05:00
tx.h
wl12xx_80211.h
wl1251.h wl1251: spi: add vio regulator support 2014-02-28 14:08:27 -05:00