1. 28 2月, 2009 1 次提交
    • J
      ipw2200, fix ipw io functions · 1788bcd1
      Jiri Slaby 提交于
      - some of them are defined as follows:
        #define ipw_write32	expr1; expr2
        and are called from loops or ifs without a compound statement, so
        they are broken. Fix it by putting them into do {} while (0) for
        writes and ({ }) for reads.
      - also unify and cleanup them while at it -- convert them from
        macros to inline functions, so that we get some basic typechecking
      Signed-off-by: NJiri Slaby <jirislaby@gmail.com>
      Acked-by: NZhu Yi <yi.zhu@intel.com>
      Cc: James Ketrenos <jketreno@linux.intel.com>
      Cc: Reinette Chatre <reinette.chatre@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      1788bcd1
  2. 10 2月, 2009 1 次提交
  3. 13 12月, 2008 1 次提交
    • H
      ipw2200: fix scanning while associated · 14a4dfe2
      Helmut Schaa 提交于
      This patch fixes sporadic firmware restarts when scanning while associated.
      
      The firmware will quietly cancel a scan (while associated) if the dwell time
      for a channel to be scanned is larger than the time it may stay away from the
      operating channel (because of DTIM catching). Unfortunately the driver is not
      notified about the canceled scan and therefore the scan watchdog timeout will
      be hit and the driver causes a firmware restart which results in
      disassociation. This mainly happens on passive channels which use a dwell time
      of 120 whereas a typical beacon interval is around 100.
      
      The patch changes the dwell time for passive channels to be slightly smaller
      than the actual beacon interval to work around the firmware issue. Furthermore
      the number of allowed beacon misses is increased from one to three as otherwise
      most scans (while associated) won't complete successfully.
      
      However scanning while associated will still fail in corner cases such as a
      beacon intervals below 30.
      Signed-off-by: NHelmut Schaa <helmut.schaa@googlemail.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      14a4dfe2
  4. 05 12月, 2008 1 次提交
  5. 22 11月, 2008 3 次提交
  6. 01 11月, 2008 5 次提交
  7. 31 10月, 2008 1 次提交
  8. 28 10月, 2008 1 次提交
  9. 18 8月, 2008 1 次提交
    • H
      removed unused #include <version.h> · 3eb75aac
      Huang Weiyi 提交于
      The drivers below do not use LINUX_VERSION_CODE nor KERNEL_VERSION.
        drivers/net/wireless/ath5k/base.c
        drivers/net/wireless/b43/main.c
        drivers/net/wireless/ipw2100.c
        drivers/net/wireless/ipw2200.c
        drivers/net/wireless/iwlwifi/iwl-3945.c
        drivers/net/wireless/iwlwifi/iwl-4965.c
        drivers/net/wireless/iwlwifi/iwl-5000.c
        drivers/net/wireless/iwlwifi/iwl-agn.c
        drivers/net/wireless/iwlwifi/iwl-core.c
        drivers/net/wireless/iwlwifi/iwl-eeprom.c
        drivers/net/wireless/iwlwifi/iwl-hcmd.c
        drivers/net/wireless/iwlwifi/iwl-power.c
        drivers/net/wireless/iwlwifi/iwl3945-base.c
      
      This patch removes the said #include <version.h>.
      Signed-off-by: NHuang Weiyi <weiyi.huang@gmail.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      3eb75aac
  10. 02 8月, 2008 2 次提交
  11. 23 7月, 2008 1 次提交
  12. 10 6月, 2008 1 次提交
    • D
      ipw2200: queue direct scans · ea177305
      Dan Williams 提交于
      When another scan is in progress, a direct scan gets dropped on the
      floor.  However, that direct scan is usually the scan that's really
      needed by userspace, and gets stomped on by all the broadcast scans the
      ipw2200 driver issues internally.  Make sure the direct scan happens
      eventually, and as a bonus ensure that the passive scan worker is
      cleaned up when appropriate.
      
      The change of request_passive_scan form a struct work to struct
      delayed_work is only to make the set_wx_scan() code a bit simpler, it's
      still only used with a delay of 0 to match previous behavior.
      Signed-off-by: NDan Williams <dcbw@redhat.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      ea177305
  13. 05 6月, 2008 1 次提交
  14. 17 5月, 2008 1 次提交
  15. 09 4月, 2008 1 次提交
    • D
      [NET]: Undo code bloat in hot paths due to print_mac(). · 21f644f3
      David S. Miller 提交于
      If print_mac() is used inside of a pr_debug() the compiler
      can't see that the call is redundant so still performs it
      even of pr_debug() ends up being a nop.
      
      So don't use print_mac() in such cases in hot code paths,
      use MAC_FMT et al. instead.
      
      As noted by Joe Perches, pr_debug() could be modified to
      handle this better, but that is a change to an interface
      used by the entire kernel and thus needs to be validated
      carefully.  This here is thus the less risky fix for
      2.6.25
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      21f644f3
  16. 08 4月, 2008 1 次提交
  17. 26 3月, 2008 1 次提交
  18. 01 3月, 2008 1 次提交
  19. 16 2月, 2008 1 次提交
  20. 29 1月, 2008 7 次提交
  21. 17 1月, 2008 1 次提交
  22. 20 12月, 2007 1 次提交
  23. 18 12月, 2007 1 次提交
  24. 26 10月, 2007 1 次提交
  25. 20 10月, 2007 1 次提交
  26. 11 10月, 2007 2 次提交