From: Gabor Juhos Date: Mon, 8 Jul 2013 14:08:24 +0000 (+0200) Subject: rt2x00: rt2800lib: fix default TX power values for RT3593 X-Git-Tag: v3.12-rc1~132^2~297^2^2~117 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc739cfe0f305647677edbf99a76d9ece96e3795;p=pandora-kernel.git rt2x00: rt2800lib: fix default TX power values for RT3593 The TX power values in the EEPROM are using a different format for the RT3593 chip. The default TX power value uses bits 0..4 only. Bits 5..8 contains value for fine grained power control. Additionally, the lower and upper limits of the TX power values are the same for both bands. Improve the rt2800_txpower_to_dev function, in order to compute the correct default power values for the RT3593 chip as well. Signed-off-by: Gabor Juhos Acked-by: Stanislaw Gruszka Acked-by: Gertjan van Wingerde Signed-off-by: John W. Linville --- Reading git-diff-tree failed