]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite8decfc1fba76304da1f61422ca60e49a469a686
tree2a9c27c426afa3d8cd4c3de61819a764cd8e8f44
parent4092858467534ecf59937e52faee38b00c8aa6b4
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