diff options
author | Lukáš Turek <8an@praha12.net> | 2009-12-21 22:50:50 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-01-12 13:50:08 -0500 |
commit | 3578e6ebb305e6bf7519f6e86741772892f4d51a (patch) | |
tree | 2ef5b0feeb6a2462d33bbf1fe4396b2567365bd8 /init/initramfs.c | |
parent | e1aa369ec8fb981ef78bc5be3b3c58de7c5ff769 (diff) |
ath5k: Reimplement clock rate to usec conversion
The original code was correct in 802.11a mode only, 802.11b/g uses
different clock rates. The new code uses values taken from FreeBSD HAL
and should be correct for all modes including turbo modes.
The former rate calculation was used by slope coefficient calculation
function ath5k_hw_write_ofdm_timings. However, this function requires
the 802.11a values even in 802.11g mode. Thus the use of
ath5k_hw_htoclock was replaced by hardcoded values. Possibly the slope
coefficient calculation is not related to clock rate at all.
Signed-off-by: Lukas Turek <8an@praha12.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'init/initramfs.c')
0 files changed, 0 insertions, 0 deletions