1. 01 Aug, 2008 1 commit
  2. 29 Jul, 2008 2 commits
    • Ivo van Doorn's avatar
      rt2x00: Force full register config after start() · 74c0ee9b
      Ivo van Doorn authored
      rt2x00 will only perform configuration changes from
      mac80211 when the configuration option has changed.
      This means it keeps track of the current active configuration
      and will check these values when the config() callback function
      is used.
      
      However this causes breakage when the interface has been
      brought down and up again, since all stored active values
      aren't reset while the registers might have.
      This is for example the case with rt61pci antenna registers which
      will jump to invalid values when the interface has been started.
      
      To make sure a full configuration takes place after the start()
      callback function, a new flag is added which will be checked
      during config() and skips the "what's changed" phase.
      Signed-off-by: default avatarIvo van Doorn <IvDoorn@gmail.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      74c0ee9b
    • Ivo van Doorn's avatar
      rt2x00: Fix EIFS timing value · f2fdbc48
      Ivo van Doorn authored
      Olivier reported a difference between the EIFS
      values used in the legacy driver and the one in
      the rt2x00 drivers.
      
      In rt2x00 the value was
      	( SIFS + (8 * (IEEE80211_HEADER + ACK_SIZE)) )
      which comes down to 314us while the legacy driver uses the value 364us
      
      This was caused because EIFS is: SIFS + DIFS + AckTime
      This patch will fix this by adding the DIFS by the above value,
      and creating a SHORT_EIFS define which uses the SHORT_DIFS.
      Reported-by: default avatarOlivier Cornu <o.cornu@gmail.com>
      Signed-off-by: default avatarIvo van Doorn <IvDoorn@gmail.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      f2fdbc48
  3. 14 Jul, 2008 4 commits
  4. 10 Jul, 2008 1 commit
  5. 08 Jul, 2008 2 commits
  6. 27 Jun, 2008 1 commit
    • Ivo van Doorn's avatar
      rt2x00: Fix lock dependency errror · 980dfcb9
      Ivo van Doorn authored
      This fixes a circular locking dependency in the workqueue handling.
      The interface work task uses the mac80211 function
      ieee80211_iterate_active_interfaces() which grabs the RTNL lock.
      
      However when the interface is brough down, this happens under the RTNL
      lock as well, this causes problems because mac80211 will flush the workqueue
      during the ifdown event. This causes mac80211 to wait until the driver has
      completed all work which can't finish because it is waiting on the RTNL lock.
      
      This is fixed by moving rt2x00 workqueue tasks on a different workqueue,
      this workqueue can be flushed when the ieee80211_hw structure is removed
      by the driver (when the driver is unloaded) which does not happen under the
      RTNL lock.
      Signed-off-by: default avatarIvo van Doorn <IvDoorn@gmail.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      980dfcb9
  7. 26 Jun, 2008 6 commits
  8. 14 Jun, 2008 4 commits
  9. 28 May, 2008 1 commit
  10. 21 May, 2008 5 commits
  11. 07 May, 2008 5 commits
  12. 01 Apr, 2008 2 commits
  13. 25 Mar, 2008 1 commit
    • Ivo van Doorn's avatar
      rt2x00: Fix in_atomic() usage · 3a643d24
      Ivo van Doorn authored
      rt73usb and rt2500usb used in_atomic to determine
      if a configuration step should be rescheduled or not.
      Since in_atomic() is not a valid method to determine
      if sleeping is allowed we should fix the way this is handled
      by adding a new flag to rt2x00.
      
      In addition mark LED class support for the drivers broken
      since that also uses the broken in_atomic() method but
      so far no solution exists to have LED triggers work only
      in scheduled context.
      Signed-off-by: default avatarIvo van Doorn <IvDoorn@gmail.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      3a643d24
  14. 13 Mar, 2008 5 commits