iwlwifi: pcie: add firmware monitor capabilities
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 1 Jun 2014 05:05:52 +0000 (08:05 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 24 Jun 2014 18:55:27 +0000 (21:55 +0300)
commitc2d202017da18ebd6567862bd9a50392970f048f
tree538cd364c5bf39d0a1b230dbbfdb935e2280f147
parent1fa1605648d15d42f350807279b6c6e8d33b6382
iwlwifi: pcie: add firmware monitor capabilities

This allows to use the firmware monitor. This capability
uses a lot of contiguous memory (up to 64MB), so make its
usage module parameter dependent.

The driver will try to allocate as much contiguous memory
as possible downgrading its requirements until the
allocation succeeds.

Dump this data into the fw-error dump file when an error
happens.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/iwl-drv.c
drivers/net/wireless/iwlwifi/iwl-fw-error-dump.h
drivers/net/wireless/iwlwifi/iwl-modparams.h
drivers/net/wireless/iwlwifi/iwl-prph.h
drivers/net/wireless/iwlwifi/pcie/internal.h
drivers/net/wireless/iwlwifi/pcie/trans.c