1. 06 3月, 2013 1 次提交
  2. 05 2月, 2013 1 次提交
    • J
      iwlwifi: use threaded interrupt handler · 2bfb5092
      Johannes Berg 提交于
      With new transports coming up, move to threaded
      interrupt handling now. This has the advantage
      that we can use the same locking scheme with all
      different transports we may need to implement.
      
      Note that the TX path obviously still runs in a
      tasklet, so some spin_lock() calls need to change
      to spin_lock_bh() calls to properly lock out the
      TX path.
      
      In my test on a Calpella platform this has no
      impact on throughput or latency.
      
      Also add lockdep annotations to avoid lockups due
      to catch sending synchronous commands or using
      locks that connect with them from the irq thread.
      Reviewed-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      2bfb5092
  3. 01 2月, 2013 2 次提交
  4. 24 1月, 2013 1 次提交
  5. 16 1月, 2013 4 次提交
  6. 03 1月, 2013 7 次提交
  7. 08 12月, 2012 2 次提交
  8. 07 12月, 2012 2 次提交
  9. 19 11月, 2012 6 次提交
  10. 15 11月, 2012 1 次提交
  11. 14 11月, 2012 2 次提交
  12. 10 11月, 2012 1 次提交
  13. 07 11月, 2012 1 次提交
  14. 05 11月, 2012 1 次提交
  15. 01 11月, 2012 1 次提交
    • E
      iwlwifi: handle RFKILL logic in the transport layer · f946b529
      Emmanuel Grumbach 提交于
      No HCMD can be sent while RFKILL is asserted. If a SYNC
      command is running while RFKILL is asserted the fw will
      silently discard it. This means that the driver needs to
      wake the process that sleeps on the CMD_SYNC.
      
      Since the RFKILL interrupt is handled in the transport layer
      and the code that sleeps in CMD_SYNC is also in the transport
      layer, all this logic can be handled there.
      This simplifies the work of the op_mode.
      
      So the transport layer will now return -ERFKILL when a CMD
      is sent and RFKILL is asserted. This will be the case even
      when the CMD is SYNC. The transport layer will return
      -ERFKILL straight away.
      Signed-off-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      f946b529
  16. 29 10月, 2012 1 次提交
  17. 23 10月, 2012 1 次提交
  18. 16 10月, 2012 3 次提交
  19. 19 9月, 2012 1 次提交
  20. 11 9月, 2012 1 次提交
    • J
      iwlwifi: load firmware in chunks · 83f84d7b
      Johannes Berg 提交于
      Instead of allocating one big chunk of DMA-coherent
      memory for the firmware and keeping it around, only
      vmalloc() the firmware and copy it into a single
      page of DMA-coherent memory for the upload.
      
      The advantage is that we don't need DMA memory for
      the firmware image that is stored while the driver
      is operating, we only need it while uploading.
      
      This will make it easier for the driver to work if
      the system has fragmented memory.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      83f84d7b