]> git.karo-electronics.de Git - linux-beck.git/commit
iwlwifi: mvm: add fw runtime stack to dump data
authorLiad Kaufman <liad.kaufman@intel.com>
Mon, 1 Dec 2014 08:44:18 +0000 (10:44 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 28 Dec 2014 08:17:41 +0000 (10:17 +0200)
commitf53bf4c758c0fbe728c031621f4c5f9979cdb044
treeff3f15552349eba7c62c4b052deb7d24efe7bfe5
parente32ec12fd11fbccc1cb4656e34f35ad457e19e29
iwlwifi: mvm: add fw runtime stack to dump data

The allocation of the DCCM between the data and the stack
can theoretically change without notice to the driver, but
the total size is HW-fixed. Since the stack CCM (runtime
stack) has also data important to the FW - this patch allows
pulling the whole DCCM in one piece and adds it to the dump
data.

If the size isn't known - just use the data part of the
DCCM as it appears in the FW TLVs.

Signed-off-by: Liad Kaufman <liad.kaufman@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/iwl-7000.c
drivers/net/wireless/iwlwifi/iwl-8000.c
drivers/net/wireless/iwlwifi/iwl-config.h
drivers/net/wireless/iwlwifi/mvm/mac80211.c