ath9k: use a separate data structure for rx buffers
authorFelix Fietkau <nbd@openwrt.org>
Fri, 11 Oct 2013 21:30:52 +0000 (23:30 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 14 Oct 2013 17:39:58 +0000 (13:39 -0400)
commit1a04d59d3ec982689552077172893b6836def984
tree7973659757e31fa83614ac2c503a984876548fbe
parent50d60c6322f14e32bc11635732c54db1447fd3f5
ath9k: use a separate data structure for rx buffers

There's no shared code for handling both rx and tx buffers, and tx
buffers require a lot more metadata than rx buffers.
Using a separate data structure for rx reduces memory usage and improves
cache footprint.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ath9k.h
drivers/net/wireless/ath/ath9k/init.c
drivers/net/wireless/ath/ath9k/recv.c