summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/intel/iwlwifi/iwl-modparams.h
diff options
context:
space:
mode:
authorLuca Coelho <luciano.coelho@intel.com>2015-09-18 14:37:46 +0300
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>2015-11-26 16:38:50 +0200
commitb2c5d3a89fe4ec47bf5567220326d7b3b06fd514 (patch)
treef5f754a7d73a2f9d981392d34d54a239a0379bc3 /drivers/net/wireless/intel/iwlwifi/iwl-modparams.h
parent13fb01d8155207f34dcfbf36d51faf93506c72fe (diff)
downloadlwn-b2c5d3a89fe4ec47bf5567220326d7b3b06fd514.tar.gz
lwn-b2c5d3a89fe4ec47bf5567220326d7b3b06fd514.zip
iwlwifi: generalize d0i3_entry_timeout module parameter
The PCIe transport will also need a d0i3_entry_timeout_ms parameter, so move the existing one from the slave transports to iwlwifi, so it can be reused. While at it, rename the parameter to something shorter, namely d0i3_entry_delay. Signed-off-by: Luca Coelho <luciano.coelho@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/iwl-modparams.h')
-rw-r--r--drivers/net/wireless/intel/iwlwifi/iwl-modparams.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/iwl-modparams.h b/drivers/net/wireless/intel/iwlwifi/iwl-modparams.h
index 3436c0066e84..9baf9ef8bdfb 100644
--- a/drivers/net/wireless/intel/iwlwifi/iwl-modparams.h
+++ b/drivers/net/wireless/intel/iwlwifi/iwl-modparams.h
@@ -109,6 +109,8 @@ enum iwl_amsdu_size {
* @debug_level: levels are IWL_DL_*
* @ant_coupling: antenna coupling in dB, default = 0
* @d0i3_disable: disable d0i3, default = 1,
+ * @d0i3_entry_delay: time to wait after no refs are taken before
+ * entering D0i3 (in msecs)
* @lar_disable: disable LAR (regulatory), default = 0
* @fw_monitor: allow to use firmware monitor
*/
@@ -128,6 +130,7 @@ struct iwl_mod_params {
char *nvm_file;
bool uapsd_disable;
bool d0i3_disable;
+ unsigned int d0i3_entry_delay;
bool lar_disable;
bool fw_monitor;
};