]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/commit
ath9k: use consistent value for REDUCE_SCALED_POWER_BY_THREE_CHAIN
authorGabor Juhos <juhosg@openwrt.org>
Sat, 14 Apr 2012 20:01:57 +0000 (22:01 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 16 Apr 2012 18:38:52 +0000 (14:38 -0400)
commit21bd6ea3116998e429dad796bce785e18df39daa
tree71c57dc41000e96023aa27f6fc7e1bd660a37ef8
parentd9e9145e497f2cb9a3891a065342ca0593824aa2
ath9k: use consistent value for REDUCE_SCALED_POWER_BY_THREE_CHAIN

The REDUCE_SCALED_POWER_BY_THREE_CHAIN symbol is
defined in different eeprom files, and the value
varies between the different files.

In eeprom_def.c and in ar9003_eeprom.c the value
of the symbol is 9, however the comments in these
files indicates the value should be 10*log10(3)*2
which is 9.54242509439325. Replace the the value
to 10 in these files.

Also add comments to eeprom_9287.c.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
drivers/net/wireless/ath/ath9k/eeprom_9287.c
drivers/net/wireless/ath/ath9k/eeprom_def.c