commit | 97aa03f15e83174df74aa468eea127c5cee480f0 | [log] [tgz] |
---|---|---|
author | Gabor Juhos <juhosg@openwrt.org> | Mon Jul 08 16:08:23 2013 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Mon Jul 22 16:54:31 2013 -0400 |
tree | 2d7471e22eb79fa2e04849c909480746e7511ae7 | |
parent | 5cddb3c2d5102d9a6b1b809e1518da54c8be8296 [diff] |
rt2x00: rt2800lib: add rt2800_txpower_to_dev helper Introduce a new helper function for converting the default TX power values from EEPROM into mac80211 values. The change improves the readability and it makes it easier to add support for other chipsets. 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>