iwlwifi: mvm/pcie: capture last commands on firmware error
authorJohannes Berg <johannes.berg@intel.com>
Thu, 24 Apr 2014 08:41:31 +0000 (10:41 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 6 May 2014 20:32:44 +0000 (23:32 +0300)
commit4d075007d60f871a1d8842809f92b0d23487173a
treec01489f27c35068ebaaedaa2f65ad1c8ea3f4b5a
parent83f32a4b4aa73f36ecc799e22174fe78ed5cb2af
iwlwifi: mvm/pcie: capture last commands on firmware error

When a firmware error occurs, capture the last 32 commands
(which are still in memory) in the error dump debugfs file.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/iwl-fw-error-dump.h [new file with mode: 0644]
drivers/net/wireless/iwlwifi/iwl-trans.h
drivers/net/wireless/iwlwifi/mvm/debugfs.c
drivers/net/wireless/iwlwifi/mvm/fw-error-dump.h [deleted file]
drivers/net/wireless/iwlwifi/mvm/ops.c
drivers/net/wireless/iwlwifi/pcie/internal.h
drivers/net/wireless/iwlwifi/pcie/trans.c
drivers/net/wireless/iwlwifi/pcie/tx.c