iwlwifi: mvm: optionally store D3 SRAM after resume
authorJohannes Berg <johannes.berg@intel.com>
Fri, 3 May 2013 09:44:16 +0000 (11:44 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 14 May 2013 08:42:37 +0000 (10:42 +0200)
commitafc66bb734d44ea64cc78ae8d8034886e8cfb2c7
tree5a54d7ccfdc8c25833089db43a25e7f4d5f85b6e
parent93fc64114b994f9ef6901697f9b0de00762680e9
iwlwifi: mvm: optionally store D3 SRAM after resume

The D3 image SRAM is overwritten by the runtime image, so
it can't be accessed after resume. However, it can be very
useful to look at it to know what happened during D3, so
add the ability to store the image and make it available
in debugfs.

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