1. 03 2月, 2012 2 次提交
  2. 31 1月, 2012 4 次提交
  3. 29 1月, 2012 4 次提交
    • J
      iwlwifi: always restrict scan dwell in P2P · 4c7d2fe9
      Johannes Berg 提交于
      Whenever the PAN (P2P) context is active, it
      has timers in the uCode that prevent sleep,
      so scanning can't be out of channel for more
      than the beacon interval programmed into the
      device.
      
      Before this patch, a full scan including any
      passive channels when P2P was active would
      stall forever because it wouldn't find time
      to execute the passive requests (for default
      beacon intervals of 100 TU.)
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NWey-Yi Guy <wey-yi.w.guy@intel.com>
      4c7d2fe9
    • W
      iwlwifi: add option to disalbe LED · 42602dd4
      Wey-Yi Guy 提交于
      Led has no use for some platform.
      Add additional module parameter option to disable LED
      Signed-off-by: NWey-Yi Guy <wey-yi.w.guy@intel.com>
      42602dd4
    • J
      iwlwifi: fix uCode event tracing · 98d4bf0c
      Johannes Berg 提交于
      Fix multiple bugs in event tracing:
      
      1) If you enable uCode tracing with the device down,
         it will still attempt to access the device and
         continuously log "MAC is in deep sleep!" errors.
         Fix this by only starting logging when the device
         is actually alive.
      
      2) Now you can set the flag when the device is down,
         but logging doesn't happen when you bring it up.
         To fix that, start logging when the device comes
         alive. This means we don't log before -- we could
         do that but I don't need it right now.
      
      3) For some reason we read the error instead of the
         event log -- use the right pointer.
      
      4) Optimise SRAM reading of event log header.
      
      5) Fix reading write pointer == capacity, which can
         happen due to racy SRAM access
      
      6) Most importantly: fix an error where we would try
         to read WAY too many events (like 2^32-300) when
         we read the wrap counter before it is updated by
         the uCode -- this does happen in practice and will
         cause the driver to hang the machine.
      
      7) Finally, change the timer to 10ms instead of 100ms
         as 100ms is too slow to capture all data with a
         normal event log and with 100ms the log will wrap
         multiple times before we have a chance to read it.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NWey-Yi Guy <wey-yi.w.guy@intel.com>
      98d4bf0c
    • W
      iwlwifi: fix typo · de46fb07
      Wey-Yi Guy 提交于
      Fix few places of typo
      Signed-off-by: NWey-Yi Guy <wey-yi.w.guy@intel.com>
      de46fb07
  4. 25 1月, 2012 7 次提交
  5. 17 1月, 2012 1 次提交
  6. 07 1月, 2012 7 次提交
  7. 05 1月, 2012 1 次提交
  8. 22 12月, 2011 1 次提交
    • J
      iwlagn: fix (remove) use of PAGE_SIZE · 10667136
      Johannes Berg 提交于
      The ICT code erroneously uses PAGE_SIZE. The bug
      is that PAGE_SIZE isn't necessarily 4096, so on
      such platforms this code will not work correctly
      as we'll try to attempt to read an index in the
      table that the device never wrote, it always has
      4096-byte pages.
      
      Additionally, the manual alignment code here is
      unnecessary -- Documentation/DMA-API-HOWTO.txt
      states:
        The cpu return address and the DMA bus master address are both
        guaranteed to be aligned to the smallest PAGE_SIZE order which
        is greater than or equal to the requested size.  This invariant
        exists (for example) to guarantee that if you allocate a chunk
        which is smaller than or equal to 64 kilobytes, the extent of the
        buffer you receive will not cross a 64K boundary.
      
      Just use appropriate new constants and get rid of
      the alignment code.
      
      Cc: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
      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>
      10667136
  9. 20 12月, 2011 7 次提交
  10. 16 12月, 2011 6 次提交