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)
commit2655e314c4b204966008689eaf3e87ba1f38d55c
tree2d0dc33216e97e764133c7165b7ebcf4b5f16347
parentcdfef6c224f9490215cadd91b34c579757a6e59d
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