ath9k: Remove ath_rate_softc
authorSujith <Sujith.Manoharan@atheros.com>
Tue, 18 Nov 2008 03:37:06 +0000 (09:07 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 26 Nov 2008 14:47:28 +0000 (09:47 -0500)
commitfe7f4a77450c1d0e463a9b1456b40c2305433e41
treee6f3b4532b1d5bda3e9863df21e48d0adc22522d
parent5ddfac3b550250388f1222ec7d09069784a68af6
ath9k: Remove ath_rate_softc

Move the hw rate tables to ath_softc, and access them directly.
tx_triglevel_max is global, move it to ath_rate_node.
Now that ath_rate_softc is gone, rate control attach becomes simpler.

Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath9k/core.c
drivers/net/wireless/ath9k/core.h
drivers/net/wireless/ath9k/main.c
drivers/net/wireless/ath9k/rc.c
drivers/net/wireless/ath9k/rc.h