1. 25 4月, 2012 1 次提交
    • J
      iwlwifi: fix hardware queue programming · 5ef4acd5
      Johannes Berg 提交于
      Newer devices have 20 (5000 series) or 30 (6000 series)
      hardware queues, rather than the 16 that 4965 had. This
      was added to the driver a long time ago, but improperly:
      the queue registers for the higher queues aren't just
      continuations of the registers for the first 16 queues,
      they are in other places. Therefore, the hardware would
      lock up when trying to activate queue 16 or above and
      the device would have to be restarted.
      
      Thanks goes to Emmanuel who identified this and told me
      how the queue programming should be done.
      
      Note that we don't use queues 20 and higher today and
      doing so needs more work than this.
      
      Cc: stable@vger.kernel.org
      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>
      5ef4acd5
  2. 10 3月, 2012 1 次提交
  3. 25 1月, 2012 1 次提交
  4. 07 1月, 2012 1 次提交
  5. 30 8月, 2011 2 次提交
  6. 16 7月, 2011 1 次提交
  7. 01 7月, 2011 1 次提交
  8. 08 4月, 2011 4 次提交
  9. 14 12月, 2010 1 次提交
  10. 27 8月, 2010 1 次提交
  11. 17 4月, 2010 1 次提交
  12. 10 3月, 2010 1 次提交
    • J
      iwlwifi: clean up queue/fifo handling · edc1a3a0
      Johannes Berg 提交于
      4965 hardware has 7 queues reserved and the
      remaining ones used for aggregation, 5000
      and higher need to have 10 reserved. This
      is not very clear in the code right now,
      unfortunately.
      
      Introduce a new IWL_TX_FIFO_UNUSED constant
      and make the queue/FIFO mapping arrays able
      to hold that value, and change the setup
      code to reserve all queues in the arrays
      (the queue number is the index) and use the
      new unused constant to not map those queues
      to any FIFO.
      
      Additionally, clear up the AC/queue mapping
      code to be more understandable. The mapping
      is the identity mapping right now, but with
      the mapping function I think it's easier to
      understand what happens there.
      
      Finally, HCCA isn't implemented at all and
      I think newer microcode removed it, so let's
      remove all mention of it in the code, some
      comments remain for 4965.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Acked-by: NShanyu Zhao <shanyu.zhao@intel.com>
      Signed-off-by: NReinette Chatre <reinette.chatre@intel.com>
      edc1a3a0
  13. 20 1月, 2010 1 次提交
  14. 12 11月, 2009 1 次提交
  15. 25 7月, 2009 1 次提交
  16. 30 1月, 2009 1 次提交
  17. 13 12月, 2008 1 次提交
  18. 01 11月, 2008 1 次提交
  19. 05 8月, 2008 1 次提交
  20. 04 6月, 2008 2 次提交
  21. 22 5月, 2008 1 次提交
  22. 08 5月, 2008 1 次提交
  23. 09 4月, 2008 1 次提交
  24. 14 3月, 2008 1 次提交
  25. 29 1月, 2008 5 次提交
  26. 11 10月, 2007 1 次提交