]> git.baikalelectronics.ru Git - kernel.git/commit
ath,ar9170: implemented conformance test limit calc. for tx power
authorJoerg Albert <jal2@gmx.de>
Sat, 5 Sep 2009 14:07:47 +0000 (16:07 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 8 Sep 2009 20:31:10 +0000 (16:31 -0400)
commitb4dddac30a0e92ccac1f7534c752c836a7283ab7
treeaa6af0ecb5ddafd7ac35e3f70e11d11c83edcd83
parent0144a903d11257a625ee59dbfa1c29d27fd29318
ath,ar9170: implemented conformance test limit calc. for tx power

apply the conformance test limits (CTL) stored in the eeprom upon
the values calculated for the tx power (ar->power_*).

This is based on the implementation in the vendor driver
(hal/hpmain.c, line 3700 ff.) with one difference:
If any ctl mode isn't found in the eeprom, we fall back to the "lower",
legacy modes (5GHT20,11A or 2GHT20,11G,11B). Otus only did 5GHT20->11A.

Currently CTL are applied for the FCC group only.

Signed-off-by: Joerg Albert <jal2@gmx.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ar9170/phy.c