From: Bob Copeland Date: Wed, 14 Oct 2009 18:16:30 +0000 (-0400) Subject: ath5k: use noise calibration from madwifi hal X-Git-Tag: v2.6.33-rc1~388^2~599^2~85 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5e2647fd6ceef2cdc479954b84517535eb7febd;p=pandora-kernel.git ath5k: use noise calibration from madwifi hal This updates ath5k to calibrate the noise floor similar to the way it is done in the madwifi hal and ath9k. Of note: - we start NF measurement at the same time as AGC calibration, but do not actually read the value until the periodic (long) calibration - we keep a history of the last few values read and write the median back to the hardware for CCA - we do not complain if NF calibration isn't complete, instead we keep the last read value. Signed-off-by: Bob Copeland Acked-by: Nick Kossifidis Signed-off-by: John W. Linville --- Reading git-diff-tree failed