linux_dsm_epyc7002/drivers/net/wireless
Bob Copeland 1968cc78d9 ath5k: correct channel setting for 2.5 mhz spacing
These channels aren't selectable anyway, but our calculations
for 2.5 mhz frequencies are incorrect.  The value is supposed to
be:

  (frequency - reference) * (10/25)

i.e., divide by 2.5, but we were instead doing:

  (10 * frequency - reference) / 25.

Additionally, the check for (frequency % 5 == 2) had an extra
subtraction that wasn't in madwifi HAL.

Signed-off-by: Bob Copeland <me@bobcopeland.com>
Acked-by: Bruno Randolf <br1@einfach.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2010-04-08 15:24:14 -04:00
..
ath ath5k: correct channel setting for 2.5 mhz spacing 2010-04-08 15:24:14 -04:00
b43 b43: N-PHY: fix copy&paste typo 2010-04-06 16:55:15 -04:00
b43legacy
hostap
ipw2x00 Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 into merge 2010-04-08 13:34:54 -04:00
iwlwifi Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 into merge 2010-04-08 13:34:54 -04:00
iwmc3200wifi iwmc3200wifi: typo fix and code cleanup 2010-03-10 17:09:39 -05:00
libertas Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 into merge 2010-04-08 13:34:54 -04:00
libertas_tf
orinoco orinoco/wext.c: Remove local #define STD_IW_HANDLER 2010-03-23 16:50:28 -04:00
p54 Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 into merge 2010-04-08 13:34:54 -04:00
prism54 wireless/prism54: remove trailing space in messages 2010-03-31 14:39:07 -04:00
rt2x00 rt2x00: use rt2800_config_channel_rt3x for rt2872 2010-04-08 15:24:12 -04:00
rtl818x
wl12xx Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 into merge 2010-04-08 13:34:54 -04:00
zd1211rw
adm8211.c
adm8211.h
airo_cs.c
airo.c airo : Print of firmware version 2010-03-15 15:28:20 -04:00
airo.h
at76c50x-usb.c
at76c50x-usb.h
atmel_cs.c
atmel_pci.c
atmel.c
atmel.h
Kconfig
mac80211_hwsim.c
Makefile
mwl8k.c Add a pci-id to the mwl8k driver 2010-03-30 15:37:25 -04:00
ray_cs.c wireless/raylink: remove trailing space in messages 2010-03-31 14:39:07 -04:00
ray_cs.h
rayctl.h
rndis_wlan.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 into merge 2010-04-08 13:34:54 -04:00
wl3501_cs.c drivers/net/wireless: Use IW_HANDLER macro 2010-03-23 16:50:27 -04:00
wl3501.h
zd1201.c
zd1201.h