ath9k_hw: add a new API for setting tx descriptors
authorFelix Fietkau <nbd@openwrt.org>
Wed, 14 Sep 2011 19:24:21 +0000 (21:24 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 16 Sep 2011 20:45:39 +0000 (16:45 -0400)
commit2b63a41d14245345d6c498506c5634613afa80c0
tree57fd8b8779ded0436c29a495cb522c30ffc91ae4
parent60f8cc60fa41b8c44662a3a4d99862e3b81cfa6f
ath9k_hw: add a new API for setting tx descriptors

Instead of using lots of different functions with long argument lists,
pull all the necessary information from one struct. This makes the code
easier to read and eliminates the need for copying data between multiple
linked descriptors.

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