1. 14 4月, 2012 2 次提交
  2. 12 4月, 2012 2 次提交
  3. 11 4月, 2012 1 次提交
  4. 10 4月, 2012 1 次提交
  5. 27 3月, 2012 2 次提交
  6. 16 3月, 2012 6 次提交
  7. 14 3月, 2012 1 次提交
  8. 13 3月, 2012 2 次提交
    • H
      rt2x00: Fix beacon skew in rt2800pci · 290d6089
      Helmut Schaa 提交于
      rt2800pci is suffering from beacon skew in AP mode. Some powersaving
      clients (like VOIP phones) are getting into trouble after some time
      when the beacon skew is getting too big.
      
      The ralink legacy drivers contain a function that indicates that the
      beacon timer is off by 1us per tbtt. And this function works around
      that by reducing the beacon interval for every 64th beacon transmission
      by 64us (the smallest possible value). Do the same in rt2800pci.
      
      This allows proper powersaving when rt2800pci is used in AP mode.
      Signed-off-by: NHelmut Schaa <helmut.schaa@googlemail.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      290d6089
    • S
      rt2x00: fix random stalls · 3780d038
      Stanislaw Gruszka 提交于
      Is possible that we stop queue and then do not wake up it again,
      especially when packets are transmitted fast. That can be easily
      reproduced with modified tx queue entry_num to some small value e.g. 16.
      
      If mac80211 already hold local->queue_stop_reason_lock, then we can wait
      on that lock in both rt2x00queue_pause_queue() and
      rt2x00queue_unpause_queue(). After drooping ->queue_stop_reason_lock
      is possible that __ieee80211_wake_queue() will be performed before
      __ieee80211_stop_queue(), hence we stop queue and newer wake up it
      again.
      
      Another race condition is possible when between rt2x00queue_threshold()
      check and rt2x00queue_pause_queue() we will process all pending tx
      buffers on different cpu. This might happen if for example interrupt
      will be triggered on cpu performing rt2x00mac_tx().
      
      To prevent race conditions serialize pause/unpause by queue->tx_lock.
      
      Cc: stable@vger.kernel.org
      Signed-off-by: NStanislaw Gruszka <sgruszka@redhat.com>
      Acked-by: NGertjan van Wingerde <gwingerde@gmail.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      3780d038
  9. 28 2月, 2012 5 次提交
  10. 23 2月, 2012 2 次提交
  11. 22 2月, 2012 1 次提交
  12. 09 2月, 2012 8 次提交
  13. 07 2月, 2012 5 次提交
  14. 02 2月, 2012 1 次提交
  15. 28 1月, 2012 1 次提交