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)
commit9301ca90b6f447eca020ca6a66bf656b0a985d4d
treee4a0b48f1b3f101c06b5822f035174762d3613d4
parent28327fd096248ad1153e455ca8ffa205927b4b89
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