rt2x00: rt2800lib: introduce rt2800_get_txmixer_gain_{24,5}g helpers
authorGabor Juhos <juhosg@openwrt.org>
Mon, 8 Jul 2013 14:08:25 +0000 (16:08 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 22 Jul 2013 20:54:32 +0000 (16:54 -0400)
commita3f1625dae58f06c5df1ec0094b275e9a46fd8b3
treeb639ecacc38f248ef4a4c0177a4a9e0f8e95e2ca
parentfc739cfe0f305647677edbf99a76d9ece96e3795
rt2x00: rt2800lib: introduce rt2800_get_txmixer_gain_{24,5}g helpers

Move the TX mixer gain reading code into separate
helper functions in preparation for RT3593 support.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Acked-by: Stanislaw Gruszka <stf_xl@wp.pl>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800lib.c