]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k_hw: set ANI firstep as absolute values instead of relative
authorFelix Fietkau <nbd@openwrt.org>
Tue, 11 Mar 2014 15:10:34 +0000 (16:10 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 14 Mar 2014 18:49:15 +0000 (14:49 -0400)
commitf6392584739f1818d6b3b79975b499b09111e3d2
treee4a0b48f1b3f101c06b5822f035174762d3613d4
parenta2d49ff27c0e1a9c7ced161b76f39b4f82306968
ath9k_hw: set ANI firstep as absolute values instead of relative

On older chips, the INI value differ in similar ways as cycpwr_thr1, so
convert it to absolute values as well.

Since the ANI algorithm is different here compared to the old
implementation (fewer steps, controlled at a different point in time),
it makes sense to use values similar to what would be applied for newer
chips, just without relying on INI defaults.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ar5008_phy.c