OpenCloudOS-Kernel/drivers/net/wireless
Benoit Papillault 1c0fc65e6d ath5k/ath9k: Fix 64 bits TSF reads
According to tests, both TSF lower and upper registers kept counting, so
the higher part could have been updated after the lower part has been
read, as shown in the following log where the upper part is read first
and the lower part next.

tsf = {00000003-fffffffd}
tsf = {00000003-00000001}
tsf = {00000004-0000000b}

This patch corrects this by checking that the upper part has not been
changed while the lower part was read. It has been tested in an IBSS
network where artifical IBSS merges have been done in order to trigger
hundreds of rollover for the TSF lower part.

It follows the logic mentionned by Derek, with only 2 register reads
needed at each additional steps instead of 3 (the minimum number of
register reads is still 3).

Signed-off-by: Benoit Papillault <benoit.papillault@free.fr>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2010-04-16 15:46:54 -04:00
..
ath ath5k/ath9k: Fix 64 bits TSF reads 2010-04-16 15:46:54 -04:00
b43 b43: N-PHY: fix copy&paste typo 2010-04-06 16:55:15 -04:00
b43legacy Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 2010-02-25 23:26:21 -08:00
hostap Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 2010-02-25 23:26:21 -08:00
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 'wireless-next-2.6' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-2.6 2010-04-12 15:20:53 -04:00
iwmc3200wifi iwmc3200wifi: typo fix and code cleanup 2010-03-10 17:09:39 -05:00
libertas libertas: Davinci platforms need more time loading helper firmware 2010-04-16 15:32:01 -04:00
libertas_tf Add Station and AdHoc mode support to libertas_tf 2010-02-10 16:36:50 -05:00
orinoco orinoco/wext.c: Remove local #define STD_IW_HANDLER 2010-03-23 16:50:28 -04:00
p54 p54pci: fix serious sparse warning 2010-04-16 15:32:01 -04:00
prism54 wireless/prism54: remove trailing space in messages 2010-03-31 14:39:07 -04:00
rt2x00 wireless: rt2x00: rt2800usb: identify Hawking devices 2010-04-16 15:32:00 -04:00
rtl818x rtl818x: Move configuration details to the rtl818x directory 2010-04-16 15:32:01 -04:00
wl12xx wl1251: register platform_device to pass board data 2010-04-16 15:32:01 -04:00
zd1211rw zd1211rw: fix potential array underflow 2010-03-02 14:28:49 -05:00
Kconfig rtl818x: Move configuration details to the rtl818x directory 2010-04-16 15:32:01 -04:00
Makefile
adm8211.c Merge branch 'master' of ssh://master.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 2010-02-14 17:45:59 -08:00
adm8211.h
airo.c airo : Print of firmware version 2010-03-15 15:28:20 -04:00
airo.h
airo_cs.c
at76c50x-usb.c mac80211: remove struct ieee80211_if_init_conf 2009-12-28 16:55:07 -05:00
at76c50x-usb.h
atmel.c
atmel.h
atmel_cs.c
atmel_pci.c drivers/net/: use DEFINE_PCI_DEVICE_TABLE() 2010-01-07 23:54:26 -08:00
mac80211_hwsim.c mac80211_hwsim: add sw_scan sw_scan_complete 2010-04-08 15:24:17 -04:00
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.h
wl3501_cs.c drivers/net/wireless: Use IW_HANDLER macro 2010-03-23 16:50:27 -04:00
zd1201.c wireless: convert to use netdev_for_each_mc_addr 2010-02-28 01:44:01 -08:00
zd1201.h