]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: trace debug messages
authorJohannes Berg <johannes.berg@intel.com>
Wed, 1 Feb 2012 05:08:37 +0000 (21:08 -0800)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Fri, 17 Feb 2012 17:49:27 +0000 (09:49 -0800)
commit305e9c26d879d846fb1d421a36e2c55696733f11
tree2d0dc33216e97e764133c7165b7ebcf4b5f16347
parent3a3ebf0181b9174dd06053b56f61143252a81c0c
iwlwifi: trace debug messages

Make iwlwifi record all debug messages into
tracing, even if debug_level is not enabled.
Due to the lack of APIs, the debug messages
are now recorded up to a max length of 100,
the only one above that is the RXON which is
not needed if you trace the commands as well
as it only dumps the command contents.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi W Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/Makefile
drivers/net/wireless/iwlwifi/iwl-debug.c [new file with mode: 0644]
drivers/net/wireless/iwlwifi/iwl-debug.h
drivers/net/wireless/iwlwifi/iwl-devtrace.h