ath5k: Read and write the TSF via debugfs
commit8cab7581dba90b0519e25784e08feb5dedde737f
authorAlina Friedrichsen <x-alina@gmx.net>
Fri, 23 Jan 2009 04:39:13 +0000 (23 05:39 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 29 Jan 2009 21:01:21 +0000 (29 16:01 -0500)
tree6ce5687004bf964e020203b0d24c241a505678b7
parentae54c985cc7daa502da6e7eb3b223a30fbbf4cfb
ath5k: Read and write the TSF via debugfs

This patch updates the ath5k specific entry in the debugfs to read and reset the TSF value, to allowing write it, too. This makes debugging the IBSS handling of wifi drivers _much_ easier.

Signed-off-by: Alina Friedrichsen <x-alina@gmx.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath5k/ath5k.h
drivers/net/wireless/ath5k/debug.c
drivers/net/wireless/ath5k/pcu.c