iwlwifi: enable shadow registers for 7000
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 1 May 2013 06:42:06 +0000 (09:42 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 13 May 2013 16:15:19 +0000 (18:15 +0200)
This will reduce CPU utilization. Instead of waking up the
NIC for each Tx manually, the CPU can write to a register
that will wake up the NIC automatically.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/iwl-7000.c

index 50263e87fe156509d4e1c0328cb12f5bdec993a8..26969f5f504a1368b59ed499d556b3d110e2de7b 100644 (file)
@@ -102,7 +102,7 @@ static const struct iwl_base_params iwl7000_base_params = {
        .chain_noise_scale = 1000,
        .wd_timeout = IWL_LONG_WD_TIMEOUT,
        .max_event_log_size = 512,
-       .shadow_reg_enable = false, /* TODO: fix bugs using this feature */
+       .shadow_reg_enable = true,
 };
 
 static const struct iwl_ht_params iwl7000_ht_params = {