diff options
author | Eliad Peller <eliad@wizery.com> | 2014-11-20 10:33:43 -0500 |
---|---|---|
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2014-12-28 13:00:18 -0500 |
commit | 7616f334e6d441aa9824221b1352ebec9de57ad7 (patch) | |
tree | fb5806f182791d19c932fe2f790a7c400d57a53d /drivers/net/wireless/iwlwifi/iwl-drv.c | |
parent | a549b296228497cec90d3a5f5ecaa1934cec4bf1 (diff) |
iwlwifi: pcie: add basic reference accounting
Implement the ref/unref trans ops and track both tx and
host command queues (and hold references while they
are not empty).
Signed-off-by: Eliad Peller <eliadx.peller@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-drv.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-drv.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-drv.c b/drivers/net/wireless/iwlwifi/iwl-drv.c index afa63f7b2d3e..0381dc495b1c 100644 --- a/drivers/net/wireless/iwlwifi/iwl-drv.c +++ b/drivers/net/wireless/iwlwifi/iwl-drv.c | |||
@@ -1362,6 +1362,7 @@ struct iwl_mod_params iwlwifi_mod_params = { | |||
1362 | .bt_coex_active = true, | 1362 | .bt_coex_active = true, |
1363 | .power_level = IWL_POWER_INDEX_1, | 1363 | .power_level = IWL_POWER_INDEX_1, |
1364 | .wd_disable = true, | 1364 | .wd_disable = true, |
1365 | .d0i3_disable = true, | ||
1365 | #ifndef CONFIG_IWLWIFI_UAPSD | 1366 | #ifndef CONFIG_IWLWIFI_UAPSD |
1366 | .uapsd_disable = true, | 1367 | .uapsd_disable = true, |
1367 | #endif /* CONFIG_IWLWIFI_UAPSD */ | 1368 | #endif /* CONFIG_IWLWIFI_UAPSD */ |
@@ -1478,6 +1479,10 @@ MODULE_PARM_DESC(wd_disable, | |||
1478 | module_param_named(nvm_file, iwlwifi_mod_params.nvm_file, charp, S_IRUGO); | 1479 | module_param_named(nvm_file, iwlwifi_mod_params.nvm_file, charp, S_IRUGO); |
1479 | MODULE_PARM_DESC(nvm_file, "NVM file name"); | 1480 | MODULE_PARM_DESC(nvm_file, "NVM file name"); |
1480 | 1481 | ||
1482 | module_param_named(d0i3_disable, iwlwifi_mod_params.d0i3_disable, | ||
1483 | bool, S_IRUGO); | ||
1484 | MODULE_PARM_DESC(d0i3_disable, "disable d0i3 functionality (default: Y)"); | ||
1485 | |||
1481 | module_param_named(uapsd_disable, iwlwifi_mod_params.uapsd_disable, | 1486 | module_param_named(uapsd_disable, iwlwifi_mod_params.uapsd_disable, |
1482 | bool, S_IRUGO); | 1487 | bool, S_IRUGO); |
1483 | #ifdef CONFIG_IWLWIFI_UAPSD | 1488 | #ifdef CONFIG_IWLWIFI_UAPSD |