iwlwifi: allow to limit the size of the external buffer for firmware debugging
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 14 Apr 2015 20:14:48 +0000 (23:14 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 29 Apr 2015 10:53:20 +0000 (13:53 +0300)
commit96c285da0dfaaafb36586d27144b717a8198bc27
tree01d4db3dbb3afe2039366e9b502b3f07331c7201
parente5629be7c9984c8427f36bc01c2c35fb4a21d26b
iwlwifi: allow to limit the size of the external buffer for firmware debugging

When we use an external buffer, it is allocated from the
t DRAM and can be as big as 64MB. This buffer is huge and
might not be needed for the specific issue being chased.
Especially if lots of dumps are going to be created.
Allow to limit the size of the buffer in the configuration.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/iwl-fw-file.h
drivers/net/wireless/iwlwifi/pcie/trans.c