From: Felix Fietkau Date: Tue, 11 Mar 2014 15:10:33 +0000 (+0100) Subject: ath9k_hw: set ANI cycpwr_thr1 as absolute values instead of relative X-Git-Tag: v3.15-rc1~113^2~93^2^2~76 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28327fd096248ad1153e455ca8ffa205927b4b89;p=pandora-kernel.git ath9k_hw: set ANI cycpwr_thr1 as absolute values instead of relative The table was copied from the ANI implementation of AR9300. It assumes that the INI values contain a baseline value that is usable as reference from which to increase/decrease based on the noise immunity value. On older chips, the differences are bigger and especially AR5008/AR9001 are configured to much more sensitive values than what is useful. Improve ANI behavior by reverting to the absolute values used in the previous implementation (expressed as a simple formula instead of the old table). Signed-off-by: Felix Fietkau Signed-off-by: John W. Linville --- Reading git-diff-tree failed