1. 05 11月, 2009 7 次提交
  2. 31 10月, 2009 1 次提交
  3. 28 10月, 2009 3 次提交
  4. 30 9月, 2009 1 次提交
  5. 23 9月, 2009 1 次提交
  6. 09 9月, 2009 1 次提交
    • I
      rt2x00: Hardcode TX ack timeout and consume time · 4789666e
      Ivo van Doorn 提交于
      The calculated values for the ACK timeout and ACK
      consume time are different then the values as
      used by the Legacy drivers.
      
      After testing from James Ledwith it appeared that
      the calculated values caused a high amount of TX
      failures, and the values from the Legacy drivers
      were the most optimal to prevent TX failure due to
      excessive retries.
      
      The symptoms of this problem:
       - Rate control module always falls back to 1Mbs
       - Low throughput when bitrate was fixed
      
      Possible side-effects (not confirmed but highly likely)
       - Problems with DHCP
       - Broken connections due to lack of probe response
      
      This should fix at least:
      Kernel bugzilla reports: [13362], [13009], [9273]
      Fedora bugzilla reports: [443203]
      but possible some additional bugs as well.
      Signed-off-by: NIvo van Doorn <IvDoorn@gmail.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      4789666e
  7. 01 9月, 2009 2 次提交
    • I
      rt2x00: Reorganize padding & L2 padding · daee6c09
      Ivo van Doorn 提交于
      The old function rt2x00queue_payload_align() handled
      both adding and removing L2 padding and some basic
      frame alignment. The entire function was being abused
      because it had multiple functions and the header length
      argument was somtimes used to align the header instead
      of the payload.
      
      Additionally there was a bug when inserting L2 padding
      that only the payload was aligned but not the header. This
      happens when the header wasn't aligned properly by mac80211,
      but rt2x00lib only moves the payload.
      
      A secondary problem was that when removing L2 padding during
      TXdone or RX the skb wasn't resized to the proper size.
      
      Split the function into seperate functions each handling
      its task as it should.
      Signed-off-by: NIvo van Doorn <IvDoorn@gmail.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      daee6c09
    • I
      rt2x00: Fix TX status reporting · 2e27cff8
      Ivo van Doorn 提交于
      Not all values of the TX status enumeration were
      covered during updating of the TX statistics. This
      could lead to wrong bitrate tuning but also wrong
      behavior in tools like hostapd.
      Signed-off-by: NIvo van Doorn <IvDoorn@gmail.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      2e27cff8
  8. 29 8月, 2009 1 次提交
  9. 20 8月, 2009 10 次提交
  10. 14 8月, 2009 9 次提交
  11. 05 8月, 2009 4 次提交
    • P
      rt2x00: cancel all work on disconnect · d8cc8926
      Pavel Roskin 提交于
      Signed-off-by: NPavel Roskin <proski@gnu.org>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      d8cc8926
    • P
      rt61pci: fix module reloading · 117839bd
      Pavel Roskin 提交于
      Unloading rt61pci can leave the device in such state that reloading
      rt61pci would fail to reinitialize it.  Bogus data would be read from
      the EEPROM and the RF version won't be recognized.
      
      It appears that unloading rt61pci with power saving enabled would have
      such effect.  To initialize the device properly, SOFT_RESET_CSR should
      be set to the same value as rt61pci_config_ps() uses to wake up the
      device.
      Signed-off-by: NPavel Roskin <proski@gnu.org>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      117839bd
    • L
      mac80211: redefine usage of the mac80211 workqueue · 42935eca
      Luis R. Rodriguez 提交于
      The mac80211 workqueue exists to enable mac80211 and drivers
      to queue their own work on a single threaded workqueue. mac80211
      takes care to flush the workqueue during suspend but we never
      really had requirements on drivers for how they should use
      the workqueue in consideration for suspend.
      
      We extend mac80211 to document how the mac80211 workqueue should
      be used, how it should not be used and finally move raw access to
      the workqueue to mac80211 only. Drivers and mac80211 use helpers
      to queue work onto the mac80211 workqueue:
      
        * ieee80211_queue_work()
        * ieee80211_queue_delayed_work()
      
      These helpers will now warn if mac80211 already completed its
      suspend cycle and someone is trying to queue work. mac80211
      flushes the mac80211 workqueue prior to suspend a few times,
      but we haven't taken the care to ensure drivers won't add more
      work after suspend. To help with this we add a warning when
      someone tries to add work and mac80211 already completed the
      suspend cycle.
      
      Drivers should ensure they cancel any work or delayed work
      in the mac80211 stop() callback.
      Signed-off-by: NLuis R. Rodriguez <lrodriguez@atheros.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      42935eca
    • I
      rt2x00: Fix build error when crypto support is disabled · ad2f34b4
      Ivo van Doorn 提交于
      When only rt2400pci or rt2500pci is compiled without any of the other
      rt2x00 modules, then CONFIG_RT2X00_LIB_CRYPTO will not be enabled.
      
      However rt2x00mac_set_tim() implemented within #ifdef CONFIG_RT2X00_LIB_CRYPTO
      statements while the declaration is placed outside the definition. This results in linking
      errors as reporte by Ken.
      
      rt2x00_set_tim() has nothing to do with crypto, and thus should be moved outside
      of the #ifdef statements.
      Signed-off-by: NIvo van Doorn <IvDoorn@gmail.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      ad2f34b4