1. 13 4月, 2012 1 次提交
    • J
      iwlwifi: move queue watchdog into transport · 7c5ba4a8
      Johannes Berg 提交于
      This removes one of the two sources of device
      restarts in the upper layer -- those are a bit
      inconvenient because normal restarts originate
      in the transport. By moving the watchdog down
      it can be treated the same.
      
      Also rewrite the watchdog logic. Timers are
      much more efficient when they never fire, so
      instead firing a timer every 500ms set up a
      timer for each TX queue and fire it only when
      the queue is really stuck. This avoids the CPU
      waking up when everything is working well.
      
      While at it, remove the wd_disable config item
      and replace it by simply setting wd_timeout to
      IWL_WATCHHDOG_DISABLED (0).
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NWey-Yi Guy <wey-yi.w.guy@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      7c5ba4a8
  2. 10 4月, 2012 6 次提交
  3. 09 3月, 2012 2 次提交
  4. 08 3月, 2012 1 次提交
  5. 07 3月, 2012 2 次提交
  6. 28 2月, 2012 1 次提交
  7. 18 2月, 2012 2 次提交
  8. 03 2月, 2012 2 次提交
  9. 25 1月, 2012 1 次提交
  10. 07 1月, 2012 1 次提交
  11. 16 12月, 2011 2 次提交
  12. 03 12月, 2011 1 次提交
  13. 29 11月, 2011 1 次提交
  14. 26 11月, 2011 1 次提交
    • J
      iwlagn: remove calibration knowledge · 93b64105
      Johannes Berg 提交于
      The init microcode knows very well which calibrations
      are required and sends us results for those that are.
      Consequently, we can just send all of those to the RT
      uCode again.
      
      The problem with having the driver know about this is
      that it is a uCode feature, not a hardware feature so
      the config is completely unsuitable.
      
      The only thing we need to check is whether the device
      needs crystal calibration or not, add a new parameter
      to the configuration for that.
      
      This makes new uCode work on 6000 series devices.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NWey-Yi Guy <wey-yi.w.guy@intel.com>
      93b64105
  15. 12 11月, 2011 2 次提交
  16. 15 10月, 2011 3 次提交
  17. 04 10月, 2011 1 次提交
    • E
      mac80211: pass vif param to conf_tx() callback · 8a3a3c85
      Eliad Peller 提交于
      tx params should be configured per interface.
      add ieee80211_vif param to the conf_tx callback,
      and change all the drivers that use this callback.
      
      The following spatch was used:
      @rule1@
      struct ieee80211_ops ops;
      identifier conf_tx_op;
      @@
      	ops.conf_tx = conf_tx_op;
      
      @rule2@
      identifier rule1.conf_tx_op;
      identifier hw, queue, params;
      @@
      	conf_tx_op (
      -		struct ieee80211_hw *hw,
      +		struct ieee80211_hw *hw, struct ieee80211_vif *vif,
      		u16 queue,
      		const struct ieee80211_tx_queue_params *params) {...}
      Signed-off-by: NEliad Peller <eliad@wizery.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      8a3a3c85
  18. 28 9月, 2011 2 次提交
  19. 22 9月, 2011 1 次提交
  20. 20 9月, 2011 2 次提交
  21. 15 9月, 2011 1 次提交
  22. 30 8月, 2011 4 次提交