linux/drivers/net/wireless/ath5k
Bruno Randolf be9b72590c ath5k: debug level improvements
* use only one debug level for beacon debugging: unify ATH5K_DEBUG_BEACON and
ATH5K_DEBUG_BEACON_PROC.

* remove debug level ATH5K_DEBUG_FATAL. doesn't make sense as a debug level -
if it's fatal it should be logged as an error.

* fancier printing of debug levels. cat /debugfs/ath5k/phy0/debug.

* allow debug levels to be changed by echoing their name into
/debugfs/ath5k/phy0/debug. this will toggle the state, when it was off it will
be turned on and vice versa.

* use copy_from_user() when reading from the debug files. use unsigned int for
better optimization. reduce buffer sizes on stack.

drivers/net/wireless/ath5k/base.c:      Changes-licensed-under: 3-Clause-BSD
drivers/net/wireless/ath5k/debug.c:     Changes-licensed-under: GPL
drivers/net/wireless/ath5k/debug.h:     Changes-licensed-under: GPL

Signed-off-by: Bruno Randolf <bruno@thinktube.com>
Acked-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
Acked-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-01-31 19:26:35 -08:00
..
Makefile [PATCH] Net: add ath5k wireless driver 2008-01-28 15:09:35 -08:00
ath5k.h ath5k: beacon interval is in TU 2008-01-28 15:10:50 -08:00
base.c ath5k: debug level improvements 2008-01-31 19:26:35 -08:00
base.h ath5k: use SWBA to detect IBSS HW merges 2008-01-28 15:10:52 -08:00
debug.c ath5k: debug level improvements 2008-01-31 19:26:35 -08:00
debug.h ath5k: debug level improvements 2008-01-31 19:26:35 -08:00
hw.c ath5k: use 3 instead of 0x00000003 2008-01-28 15:10:50 -08:00
hw.h [PATCH] Net: add ath5k wireless driver 2008-01-28 15:09:35 -08:00
initvals.c [PATCH] Net: add ath5k wireless driver 2008-01-28 15:09:35 -08:00
phy.c [PATCH] Net: add ath5k wireless driver 2008-01-28 15:09:35 -08:00
reg.h [PATCH] Net: add ath5k wireless driver 2008-01-28 15:09:35 -08:00
regdom.c [PATCH] Net: add ath5k wireless driver 2008-01-28 15:09:35 -08:00
regdom.h [PATCH] Net: add ath5k wireless driver 2008-01-28 15:09:35 -08:00