iwlwifi: mvm: dump Rx FIFO when the firmware asserts
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 20 Mar 2014 09:08:19 +0000 (11:08 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 13 Apr 2014 06:35:59 +0000 (09:35 +0300)
commit7b445f3501c8f9004a40994710deec0ad7c230ae
tree2a9c27c426afa3d8cd4c3de61819a764cd8e8f44
parentfa1a91fd76a1fda3ff59b84ed5ab7bf7fd72b2c4
iwlwifi: mvm: dump Rx FIFO when the firmware asserts

The Rx FIFO includes valuable data - dump it when the FW
asserts. Also - free the SRAM and Rx FIFO when we create
the file, and don't collect new SRAM / Rx FIFO if the
previous file hasn't been collected through debugfs yet.

Also - add a comment to saying that the ASSERT output should
not be modified since we have automatic scripts that monitor
this output.

Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/iwl-prph.h
drivers/net/wireless/iwlwifi/mvm/debugfs.c
drivers/net/wireless/iwlwifi/mvm/fw-error-dump.h
drivers/net/wireless/iwlwifi/mvm/mvm.h
drivers/net/wireless/iwlwifi/mvm/ops.c
drivers/net/wireless/iwlwifi/mvm/utils.c