OrangePi_CM5/drivers/net/wireless/ath
Lukáš Turek 3578e6ebb3 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>
2010-01-12 13:50:08 -05:00
..
ar9170 mac80211: remove struct ieee80211_if_init_conf 2009-12-28 16:55:07 -05:00
ath5k ath5k: Reimplement clock rate to usec conversion 2010-01-12 13:50:08 -05:00
ath9k ath9k: re-enable ps by default for new single chip families 2010-01-12 13:43:54 -05:00
Kconfig wireless: remove WLAN_80211 and WLAN_PRE80211 from Kconfig 2009-10-30 16:50:35 -04:00
Makefile ath9k: move hw code to its own module 2009-10-07 16:39:41 -04:00
ath.h ath9k: move driver keymap, keymax and splitmic to common 2009-11-11 17:09:09 -05:00
debug.c atheros: add common debug printing 2009-10-07 16:39:29 -04:00
debug.h atheros: add common debug printing 2009-10-07 16:39:29 -04:00
hw.c atheros: define shared bssidmask setting 2009-10-07 16:39:28 -04:00
main.c ath: add common ath_rxbuf_alloc() and make ath9k use it 2009-08-14 09:14:05 -04:00
reg.h atheros: define shared bssidmask setting 2009-10-07 16:39:28 -04:00
regd.c cfg80211: convert bools into flags 2009-11-19 11:08:50 -05:00
regd.h ath: Updates for regulatory and country codes. 2009-10-27 16:50:04 -04:00
regd_common.h ath: Updates for regulatory and country codes. 2009-10-27 16:50:04 -04:00