1. 13 6月, 2009 1 次提交
    • P
      net: fix network drivers ndo_start_xmit() return values (part 3) · 4153e775
      Patrick McHardy 提交于
      net: fix network drivers ndo_start_xmit() return values (part 3)
      
      Fix up wireless drivers that return an errno value to qdisc_restart(), causing
      qdisc_restart() to print a warning an requeue/retransmit the skb.
      
      - airo: transmission not implemented for chip, intention is to free and abort
      - ipw2200: transmission not implemented for promiscous mode, intention is to
                 drop
      - prism54: intention is to drop
      - wl3501_cs: intention appears to be to drop
      - zd1201: error counter indicates intention is to drop
      
      All drivers compile tested.
      Signed-off-by: NPatrick McHardy <kaber@trash.net>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      4153e775
  2. 07 5月, 2009 1 次提交
  3. 14 4月, 2009 1 次提交
  4. 07 4月, 2009 1 次提交
  5. 30 3月, 2009 2 次提交
  6. 22 3月, 2009 2 次提交
  7. 28 2月, 2009 2 次提交
    • D
      ipw2x00: age scan results on resume · c3d72b96
      Dan Williams 提交于
      Scanned BSS entries are timestamped with jiffies, which doesn't
      increment across suspend and hibernate.  On resume, every BSS in the
      scan list looks like it was scanned within the last 10 seconds,
      irregardless of how long the machine was actually asleep.  Age scan
      results on resume with the time spent during sleep so userspace has a
      clue how old they really are.
      Signed-off-by: NDan Williams <dcbw@redhat.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      c3d72b96
    • 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
  8. 10 2月, 2009 1 次提交
  9. 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
  10. 05 12月, 2008 1 次提交
  11. 22 11月, 2008 3 次提交
  12. 01 11月, 2008 5 次提交
  13. 31 10月, 2008 1 次提交
  14. 28 10月, 2008 1 次提交
  15. 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
  16. 02 8月, 2008 2 次提交
  17. 23 7月, 2008 1 次提交
  18. 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
  19. 05 6月, 2008 1 次提交
  20. 17 5月, 2008 1 次提交
  21. 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
  22. 08 4月, 2008 1 次提交
  23. 26 3月, 2008 1 次提交
  24. 01 3月, 2008 1 次提交
  25. 16 2月, 2008 1 次提交
  26. 29 1月, 2008 5 次提交