1. 05 3月, 2014 1 次提交
  2. 01 3月, 2014 5 次提交
  3. 13 2月, 2014 1 次提交
  4. 07 2月, 2014 2 次提交
    • A
      rtl8180: Add error check for pci_map_single return value in TX path · 348f7d4a
      andrea.merello 提交于
      Orignal code will not detect a DMA mapping failure, causing the HW
      to attempt a DMA from an invalid address.
      
      This patch add the error check and eventually simply drops the TX
      packet if we can't map it for DMA.
      Signed-off-by: Nandrea merello <andrea.merello@gmail.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      348f7d4a
    • A
      rtl8180: Add error check for pci_map_single return value in RX path · 2b4db05e
      andrea.merello 提交于
      In original code the old RX DMA buffer is unmapped and processed and at the end
      of the isr a new buffer is mapped with pci_map_single and attached to the RX
      descriptor.
      
      If pci_map_single fails then the RX descriptor remains with no valid DMA buffer
      attached.
      In this condition the DMA will target where it shouldn't with obvious evil
      consequences.
      
      Simply avoiding re-arming the descriptor will prevent buggy DMA but it will
      result soon in RX stuck.
      
      This patch move the DMA mapping of the new buffer at the beginning of the ISR
      (and it adds error check for pci_map_single success/fail).
      
      If the DMA mapping fails then we do not unmap the old buffer and we re-arm the
      descriptor without processing it, with the old DMA buffer still attached.
      
      In this way we lose the currently RX-ed packet, but whenever next calls to
      pci_map_single will succeed again,then the RX process will go on without stuck.
      Signed-off-by: Nandrea merello <andrea.merello@gmail.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      2b4db05e
  5. 04 1月, 2014 1 次提交
  6. 27 9月, 2013 1 次提交
  7. 27 8月, 2013 1 次提交
  8. 26 3月, 2013 1 次提交
  9. 07 12月, 2012 1 次提交
  10. 14 11月, 2012 1 次提交
  11. 31 7月, 2012 1 次提交
  12. 17 7月, 2012 1 次提交
  13. 21 6月, 2012 1 次提交
  14. 17 4月, 2012 1 次提交
    • A
      net/wireless: use module_pci_driver · 5b0a3b7e
      Axel Lin 提交于
      This patch converts the drivers in drivers/net/wireless/* to use
      module_pci_driver() macro which makes the code smaller and a bit simpler.
      Signed-off-by: NAxel Lin <axel.lin@gmail.com>
      Cc: "John W. Linville" <linville@tuxdriver.com>
      Cc: Jiri Slaby <jirislaby@gmail.com>
      Cc: Nick Kossifidis <mickflemm@gmail.com>
      Cc: "Luis R. Rodriguez" <mcgrof@qca.qualcomm.com>
      Cc: Simon Kelley <simon@thekelleys.org.uk>
      Cc: Jouni Malinen <j@w1.fi>
      Cc: Lennert Buytenhek <buytenh@wantstofly.org>
      Cc: Christian Lamparter <chunkeey@googlemail.com>
      Cc: Ivo van Doorn <IvDoorn@gmail.com>
      Cc: Larry Finger <Larry.Finger@lwfinger.net>
      Cc: linux-wireless@vger.kernel.org
      Acked-by: NLennert Buytenhek <buytenh@wantstofly.org>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      5b0a3b7e
  15. 01 11月, 2011 1 次提交
  16. 28 9月, 2011 1 次提交
  17. 07 6月, 2011 1 次提交
  18. 26 2月, 2011 1 次提交
    • J
      mac80211: make tx() operation return void · 7bb45683
      Johannes Berg 提交于
      The return value of the tx operation is commonly
      misused by drivers, leading to errors. All drivers
      will drop frames if they fail to TX the frame, and
      they must also properly manage the queues (if they
      didn't, mac80211 would already warn).
      
      Removing the ability for drivers to return a BUSY
      value also allows significant cleanups of the TX
      TX handling code in mac80211.
      
      Note that this also fixes a bug in ath9k_htc, the
      old "return -1" there was wrong.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Tested-by: Sedat Dilek <sedat.dilek@googlemail.com> [ath5k]
      Acked-by: Gertjan van Wingerde <gwingerde@gmail.com> [rt2x00]
      Acked-by: Larry Finger <Larry.Finger@lwfinger.net> [b43, rtl8187, rtlwifi]
      Acked-by: Luciano Coelho <coelho@ti.com> [wl12xx]
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      7bb45683
  19. 24 2月, 2011 1 次提交
  20. 23 12月, 2010 1 次提交
  21. 07 10月, 2010 1 次提交
  22. 19 8月, 2010 1 次提交
  23. 17 8月, 2010 2 次提交
  24. 06 8月, 2010 1 次提交
  25. 28 7月, 2010 1 次提交
  26. 27 7月, 2010 1 次提交
  27. 21 7月, 2010 1 次提交
  28. 24 6月, 2010 1 次提交
  29. 11 5月, 2010 1 次提交
  30. 08 5月, 2010 2 次提交
  31. 05 5月, 2010 1 次提交
  32. 01 5月, 2010 1 次提交
  33. 29 4月, 2010 1 次提交