summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-modparams.h
diff options
context:
space:
mode:
authorEmmanuel Grumbach2014-06-01 07:05:52 +0200
committerEmmanuel Grumbach2014-06-24 20:55:27 +0200
commitc2d202017da18ebd6567862bd9a50392970f048f (patch)
tree538cd364c5bf39d0a1b230dbbfdb935e2280f147 /drivers/net/wireless/iwlwifi/iwl-modparams.h
parentiwlwifi: rename iwl_mvm_fw_error_next_data (diff)
downloadkernel-qcow2-linux-c2d202017da18ebd6567862bd9a50392970f048f.tar.gz
kernel-qcow2-linux-c2d202017da18ebd6567862bd9a50392970f048f.tar.xz
kernel-qcow2-linux-c2d202017da18ebd6567862bd9a50392970f048f.zip
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>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-modparams.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-modparams.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-modparams.h b/drivers/net/wireless/iwlwifi/iwl-modparams.h
index d051857729ab..f2d39cb011fc 100644
--- a/drivers/net/wireless/iwlwifi/iwl-modparams.h
+++ b/drivers/net/wireless/iwlwifi/iwl-modparams.h
@@ -103,6 +103,7 @@ enum iwl_disable_11n {
* @power_level: power level, default = 1
* @debug_level: levels are IWL_DL_*
* @ant_coupling: antenna coupling in dB, default = 0
+ * @fw_monitor: allow to use firmware monitor
*/
struct iwl_mod_params {
int sw_crypto;
@@ -120,6 +121,7 @@ struct iwl_mod_params {
int ant_coupling;
char *nvm_file;
bool uapsd_disable;
+ bool fw_monitor;
};
#endif /* #__iwl_modparams_h__ */