1. 23 9月, 2009 1 次提交
  2. 02 9月, 2009 1 次提交
  3. 01 9月, 2009 1 次提交
  4. 29 8月, 2009 4 次提交
  5. 20 8月, 2009 1 次提交
  6. 14 8月, 2009 1 次提交
  7. 13 8月, 2009 1 次提交
  8. 08 8月, 2009 1 次提交
  9. 05 8月, 2009 2 次提交
  10. 04 8月, 2009 1 次提交
  11. 30 7月, 2009 2 次提交
  12. 25 7月, 2009 1 次提交
  13. 22 7月, 2009 1 次提交
  14. 11 7月, 2009 4 次提交
    • A
      libertas: fix card cleanup order in SDIO driver · 23b149c1
      Andrey Yurovsky 提交于
      The SDIO driver sets the surpriseremoved flag before calling
      lbs_remove_card.  With IEEE PS enabled, lbs_remove_card must issue a
      command to exit IEEE PS mode, however with that flag set the command
      path is blocked and the card is never taken out of IEEE PS mode.  This
      step is required to ensure that the driver can be reloaded.  This patch
      moves the setting of surpriseremoved after lbs_remove_card is called.
      
      Tested with V9 firmware by ensuring that IEEE PS is disabled when the
      driver is removed.  Reloading the driver is not fully tested due to a
      separate issue with module reload in the SDIO driver, however this
      patch at least leaves the card in a better state when we bring the
      driver down.
      Signed-off-by: NAndrey Yurovsky <andrey@cozybit.com>
      Acked-by: NDan Williams <dcbw@redhat.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      23b149c1
    • A
      libertas: correct card cleanup order in SPI driver · efcfd1f2
      Andrey Yurovsky 提交于
      The SPI driver does a couple of card cleanup steps in the wrong order on
      module removal.  If IEEE PS is enabled, this results in the card being
      left in IEEE PS mode and subsequent failures to reload the module.  The
      problem is that the surpriseremoved flag is set before calling
      lbs_remove_card, but that function needs to issue a command to exit IEEE
      PS mode (the flag blocks the command path).  In addition, lbs_stop_card
      should be called first because it clears out any pending commands.
      
      Tested on a GSPI device with V9 firmware by confirming that we can
      reload the module with or without IEEE PS enabled.
      
      Also fix a warning from the wrong uint format in a printk.
      
      V2: use z modifier, thanks Sebastian.
      Signed-off-by: NAndrey Yurovsky <andrey@cozybit.com>
      Acked-by: NDan Williams <dcbw@redhat.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      efcfd1f2
    • A
      libertas: copy WPA keys to priv when associating · ce8d096d
      Andrey Yurovsky 提交于
      Libertas currently maintains a copy of the WPA unicast and group keys
      when using WPA or WPA2.  This copy is checked when deciding whether or
      not to return to sleep in IEEE PS mode but the actual copying back to
      priv was omitted, which breaks IEEE PS mode with WPA/WPA2 when one
      issues commands that require temporarily keeping the device awake.
      
      This patch introduces the omitted copy-back of the keys so that IEEE PS
      functions correctly in WPA/WPA2 mode.  Thanks to Dan Williams for
      clearing up the issue.
      
      V2: fix typo.  Also, this has been tested on GSPI and SDIO with V9 firmware.
      Signed-off-by: NAndrey Yurovsky <andrey@cozybit.com>
      Acked-by: NDan Williams <dcbw@redhat.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      ce8d096d
    • A
      libertas: remove ps_supported flag, use fwcapinfo · e0d6133c
      Andrey Yurovsky 提交于
      Power save support depends on the firmware capabilities rather than the
      card's hardware interface.  Use the FW_CAPINFO_PS bit in the firmware
      capabilities mask throughout the driver in place of the redundant
      ps_supported flag and don't make decisions about PS support in the
      interface drivers (with the exception of a special case in the USB
      driver).
      
      V2: put the USB special case in the right place.
      Signed-off-by: NAndrey Yurovsky <andrey@cozybit.com>
      Acked-by: NDan Williams <dcbw@redhat.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      e0d6133c
  15. 16 6月, 2009 4 次提交
  16. 11 6月, 2009 1 次提交
  17. 04 6月, 2009 8 次提交
  18. 23 5月, 2009 5 次提交