linux-hardened/drivers/net/wireless/wl12xx
Eliad Peller 17c1755c24 wl12xx: allow runtime changing of debug_level
Currently, the debug level is set in compilation time (by the DEBUG_LEVEL
const). This method has the advantage of compiling only the relevant
messages, while optimizing out the unused ones.

In order to allow runtime control over the debug_level, while optimizing
out messages when debug messages are not needed, we combine some methods:
1. use dynamic_debug (pr_debug) rather then printk.
2. add debug_level module param in order to set debug level during insmod.
3. add debug_level sysfs file in order to allow dynamic control over the
   debug level.

Since patches for pr_debug_hex_dump() implementation haven't been applied yet,
we are still temporarly using print_hex_dump().

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
2010-12-15 15:41:36 +02:00
..
acx.c wl12xx: add auto-arp support 2010-12-15 15:04:56 +02:00
acx.h wl12xx: add auto-arp support 2010-12-15 15:04:56 +02:00
boot.c wl1271: Add wl1271_load_firmware() and export some functions 2010-12-02 16:17:20 +02:00
boot.h wl1271: Add wl1271_load_firmware() and export some functions 2010-12-02 16:17:20 +02:00
cmd.c wl12xx: add auto-arp support 2010-12-15 15:04:56 +02:00
cmd.h wl12xx: add auto-arp support 2010-12-15 15:04:56 +02:00
conf.h wl1271: Change wl12xx Files Names 2010-11-22 16:45:09 +02:00
debugfs.c wl12xx: allow runtime changing of debug_level 2010-12-15 15:41:36 +02:00
debugfs.h wl1271: Change wl12xx Files Names 2010-11-22 16:45:09 +02:00
event.c wl1271: Change wl12xx Files Names 2010-11-22 16:45:09 +02:00
event.h wl1271: Change wl12xx Files Names 2010-11-22 16:45:09 +02:00
ini.h wl1271: Change wl12xx Files Names 2010-11-22 16:45:09 +02:00
init.c wl1271: fixed problem with WPS IEs in probe requests 2010-12-15 15:41:04 +02:00
init.h wl1271: Change wl12xx Files Names 2010-11-22 16:45:09 +02:00
io.c wl1271: Add wl1271_load_firmware() and export some functions 2010-12-02 16:17:20 +02:00
io.h wl1271: Change wl12xx Files Names 2010-11-22 16:45:09 +02:00
Kconfig wl1271_sdio_test: Add module for sdio RX/TX testing 2010-12-15 15:03:17 +02:00
main.c wl12xx: allow runtime changing of debug_level 2010-12-15 15:41:36 +02:00
Makefile wl1271_sdio_test: Add module for sdio RX/TX testing 2010-12-15 15:03:17 +02:00
ps.c wl1271: Change wl12xx Files Names 2010-11-22 16:45:09 +02:00
ps.h wl1271: Change wl12xx Files Names 2010-11-22 16:45:09 +02:00
reg.h wl1271: Change wl12xx Files Names 2010-11-22 16:45:09 +02:00
rx.c wl1271: Change wl12xx Files Names 2010-11-22 16:45:09 +02:00
rx.h wl1271: Change wl12xx Files Names 2010-11-22 16:45:09 +02:00
scan.c wl1271: Fix setting of the hardware connection monitoring probe-req template 2010-11-26 15:33:41 +02:00
scan.h wl1271: Change wl12xx Files Names 2010-11-22 16:45:09 +02:00
sdio.c wl1271: Change wl12xx Files Names 2010-11-22 16:45:09 +02:00
spi.c wl1271: Change wl12xx Files Names 2010-11-22 16:45:09 +02:00
testmode.c wl1271: Change wl12xx Files Names 2010-11-22 16:45:09 +02:00
testmode.h wl1271: Change wl12xx Files Names 2010-11-22 16:45:09 +02:00
tx.c wl1271: Change wl12xx Files Names 2010-11-22 16:45:09 +02:00
tx.h wl1271: Change wl12xx Files Names 2010-11-22 16:45:09 +02:00
wl12xx.h wl12xx: allow runtime changing of debug_level 2010-12-15 15:41:36 +02:00
wl12xx_80211.h wl1271: fixed problem with WPS IEs in probe requests 2010-12-15 15:41:04 +02:00
wl12xx_platform_data.c wl12xx: add platform data passing support 2010-09-21 11:04:57 -04:00
wl1271_sdio_test.c wl1271_sdio_test: Add module for sdio RX/TX testing 2010-12-15 15:03:17 +02:00