]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ath5k: Linear PCDAC code fixes
authorNick Kossifidis <mick@madwifi-project.org>
Mon, 10 Aug 2009 00:27:59 +0000 (03:27 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 8 Dec 2009 18:22:37 +0000 (10:22 -0800)
commitd02b2ced79e2a22b38d6a4fdc758d070ff807d2b
tree4c0f4f4d731dbfe7633081e8fc33bdcd0bfadb8c
parentd801d0a919fd2e54ad91626a0cb7d006a9c6de84
ath5k: Linear PCDAC code fixes

commit d1cb0bdac180a4afdd3c001acb2618d2a62d9abe upstream.

* Set correct xpd curve indices for high/low gain curves during
   rfbuffer setup on RF5112B with both calibration curves available.

 * Don't return zero min power when we have the same pcdac value
   twice because it breaks interpolation. Instead return the right
   x barrier as we do when we have equal power levels for 2 different
   pcdac values.

Signed-off-by: Nick Kossifidis <mickflemm@gmail.com>
Acked-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Cc: Dan Williams <dcbw@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/ath/ath5k/phy.c