iwlwifi: mvm: add the cause of the firmware dump in the dump
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 29 Jan 2015 12:58:20 +0000 (14:58 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 2 Mar 2015 06:20:28 +0000 (08:20 +0200)
commitb6eaa45aa18bf010fd54cdac0e3007dfdd7f3f8a
tree69869fec6604ece7ef73c1a6c1395231d7c8a3dd
parentd2709ad723ff2ae22013978ed6ec29cf1b9b8332
iwlwifi: mvm: add the cause of the firmware dump in the dump

Now that the firmware dump can be triggered by events in
the code and not only the user or an firmware ASSERT, we
need a way to know why the firmware dump was triggered.
Add a section in the dump file for that.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/iwl-fw-error-dump.h
drivers/net/wireless/iwlwifi/mvm/debugfs.c
drivers/net/wireless/iwlwifi/mvm/fw.c
drivers/net/wireless/iwlwifi/mvm/mac80211.c
drivers/net/wireless/iwlwifi/mvm/mvm.h
drivers/net/wireless/iwlwifi/mvm/ops.c