]> git.baikalelectronics.ru Git - kernel.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)
commit6738c129cd8bd88f58cd9dbc507cdcc2e581538e
treeff3f15552349eba7c62c4b052deb7d24efe7bfe5
parentede5f8ab3854f8dd412029fa1e6546e22dcbbacd
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