1. 19 10月, 2013 1 次提交
    • S
      rt2800usb: slow down TX status polling · 36165fd5
      Stanislaw Gruszka 提交于
      Polling TX statuses too frequently has two negative effects. First is
      randomly peek CPU usage, causing overall system functioning delays.
      Second bad effect is that device is not able to fill TX statuses in
      H/W register on some workloads and we get lot of timeouts like below:
      
      ieee80211 phy4: rt2800usb_entry_txstatus_timeout: Warning - TX status timeout for entry 7 in queue 2
      ieee80211 phy4: rt2800usb_entry_txstatus_timeout: Warning - TX status timeout for entry 7 in queue 2
      ieee80211 phy4: rt2800usb_txdone: Warning - Got TX status for an empty queue 2, dropping
      
      This not only cause flood of messages in dmesg, but also bad throughput,
      since rate scaling algorithm can not work optimally.
      
      In the future, we should probably make polling interval be adjusted
      automatically, but for now just increase values, this make mentioned
      problems gone.
      
      Resolve:
      https://bugzilla.kernel.org/show_bug.cgi?id=62781
      
      Cc: stable@vger.kernel.org
      Signed-off-by: NStanislaw Gruszka <sgruszka@redhat.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      36165fd5
  2. 29 8月, 2013 1 次提交
  3. 17 8月, 2013 1 次提交
  4. 24 7月, 2013 1 次提交
    • X
      wireless: rt2x00: rt2800usb: add RT3573 devices · 63706526
      Xose Vazquez Perez 提交于
      taken from Ralink linux and windows drivers:
      
      0x1b75, 0x7733 AirLive 450Mbps Wireless-N Dual Band USB Adapter
      0x0b05, 0x17bc ASUS USB-N66 450Mbps Dual Band USB Adapter
      0x0b05, 0x17ad ASUS USB-N66 Dual Band N Network Adapter
      0x050d, 0x1103 Belkin Wireless Adapter
      0x148f, 0xf301 Cameo Ralink3573 3x3 single band USB dongle
      0x7392, 0x7733 Edimax
      0x0e66, 0x0020 Hawking HD45U Dual Band USB Wireless-N Adapter
      0x0e66, 0x0021 Hawking HD45U Dual Band Wls-450N Adapter
      0x04bb, 0x094e I-O DATA WN-AG450U Wireless LAN Adapter
      0x0789, 0x016b Logitec LAN-W450AN/U2
      0x0846, 0x9012 NETGEAR WNDA4100 N900 Wireless Dual Band USB Adapter
      0x0846, 0x9019 NETGEAR WNDA4200D Wireless Dual Band USB Adapter
      0x2019, 0xed19 Planex GW-USDual450
      0x148f, 0x3573 Ralink 802.11n USB Wireless LAN Card
      0x0df6, 0x0067 Sitecom Wireless Dualband Network Adapter N750 X6
      0x0df6, 0x006a Sitecom Wireless Dualband Network Adapter N900 X7
      0x0586, 0x3421 ZyXEL Dual-Band Wireless N450 USB Adapter
      
      Cc: Ivo van Doorn <IvDoorn@gmail.com>
      Cc: Gertjan van Wingerde <gwingerde@gmail.com>
      Cc: Helmut Schaa <helmut.schaa@googlemail.com>
      Cc: John W. Linville <linville@tuxdriver.com>
      Cc: users@rt2x00.serialmonkey.com
      Cc: linux-wireless@vger.kernel.org
      Signed-off-by: NXose Vazquez Perez <xose.vazquez@gmail.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      63706526
  5. 23 7月, 2013 2 次提交
  6. 25 6月, 2013 1 次提交
  7. 13 6月, 2013 3 次提交
  8. 23 5月, 2013 1 次提交
  9. 23 4月, 2013 2 次提交
    • J
      rt2x00: Use more current logging styles, shrink object size · ec9c4989
      Joe Perches 提交于
      Reduce object space ~2% using more current logging styles.
      
      Neaten and simplify logging macros.
      Use wiphy_<level> where appropriate.
      Coalesce formats.
      
      Convert ERROR/WARNING/INFO macros to rt2x00_<level>
      Convert EEPROM to rt2x00_eeprom_dbg
      Convert PROBE_ERROR to rt2x00_probe_err
      Convert DEBUG to rt2x00_dbg
      Convert EEPROM to rt2x00_eeprom_dbg
      
      $ size drivers/net/wireless/rt2x00/built-in.o*
         text	   data	    bss	    dec	    hex	filename
       245639	  71696	  69584	 386919	  5e767	drivers/net/wireless/rt2x00/built-in.o.new
       240609	  70096	  68944	 379649	  5cb01	drivers/net/wireless/rt2x00/built-in.o.new.nodyndbg
       240609	  70096	  68944	 379649	  5cb01	drivers/net/wireless/rt2x00/built-in.o.new.no_rt2x00_debug
       249198	  70096	  70352	 389646	  5f20e	drivers/net/wireless/rt2x00/built-in.o.old
       249198	  70096	  70352	 389646	  5f20e	drivers/net/wireless/rt2x00/built-in.o.old.nodyndbg
       244222	  70096	  69712	 384030	  5dc1e	drivers/net/wireless/rt2x00/built-in.o.old.no_rt2x00_debug
      Signed-off-by: NJoe Perches <joe@perches.com>
      Acked-by: NGertjan van Wingerde <gwingerde@gmail.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      ec9c4989
    • S
      rt2x00: provide separate information about TXWI & RXWI sizes · f0bda571
      Stanislaw Gruszka 提交于
      On new 2800 hardware sizes of TXWI & RXIW can be different than TXD
      & RXD sizes, so we need to difference between them. Let's define
      winfo_size as size of in buffer descriptor (TXWI & RXWI), and desc_size
      of as size of additional descriptor - in separate DMA coherent buffer
      for PCI hardware (TXD & RXD) and yet another in buffer descriptor for
      USB hardware (TXINFO & RXINFO).
      
      Change is rt2x00 wild, but should affect only 2800 driver.
      
      Patch also fix beaconing for 5592usb AP mode.
      Signed-off-by: NStanislaw Gruszka <stf_xl@wp.pl>
      Acked-by: NGertjan van Wingerde <gwingerde@gmail.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      f0bda571
  10. 19 3月, 2013 3 次提交
  11. 12 2月, 2013 1 次提交
    • X
      wireless: rt2x00: rt2800usb add "unknown" devices · d9d76a04
      Xose Vazquez Perez 提交于
      0x06f8, 0xe036 Hercules  Wireless Dual Band 600 USB Key HWNUm-600
      0x0b05, 0x17a7 ASUS      USB-N10H 150Mbps 11n Wireless USB dongle
      0x0df6, 0x0069 Sitecom   Wireless Dualband Network Adapter 300N X5 WLA-5000
      0x0df6, 0x006f Sitecom   WiFi USB adapter N600 WLA-5100
      0x13d3, 0x3340 AzureWave 802.11n USB Wireless LAN Card
      0x13d3, 0x3399 AzureWave 802.11n USB Wireless LAN Card
      0x13d3, 0x3400 AzureWave 802.11n USB Wireless LAN Card
      0x13d3, 0x3401 AzureWave 802.11n USB Wireless LAN Card
      0x1740, 0x0600 EnGenius  Dual-Band Wireless Media Adapter
      0x1740, 0x0602 EnGenius  802.11 a/b/g/n Wireless USB Adapter
      0x177f, 0x0254 Sweex     LW054 Wireless 54G Adapter USB
      0xf201, 0x5370 TP-LINK   54Mbps Wireless USB Adapter
      
      no RF3053, and I believe no RT5572.
      
      Cc: Ivo van Doorn <IvDoorn@gmail.com>
      Cc: Gertjan van Wingerde <gwingerde@gmail.com>
      Cc: Helmut Schaa <helmut.schaa@googlemail.com>
      Cc: John W. Linville <linville@tuxdriver.com>
      Cc: users@rt2x00.serialmonkey.com
      Cc: linux-wireless@vger.kernel.org
      Signed-off-by: NXose Vazquez Perez <xose.vazquez@gmail.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      d9d76a04
  12. 09 2月, 2013 1 次提交
  13. 02 2月, 2013 1 次提交
  14. 31 1月, 2013 1 次提交
  15. 08 1月, 2013 1 次提交
  16. 12 12月, 2012 1 次提交
  17. 11 12月, 2012 1 次提交
  18. 15 11月, 2012 1 次提交
  19. 25 10月, 2012 1 次提交
  20. 26 9月, 2012 1 次提交
  21. 08 9月, 2012 2 次提交
  22. 06 9月, 2012 3 次提交
  23. 21 6月, 2012 1 次提交
  24. 06 6月, 2012 1 次提交
  25. 19 5月, 2012 1 次提交
    • S
      USB: Disable hub-initiated LPM for comms devices. · e1f12eb6
      Sarah Sharp 提交于
      Hub-initiated LPM is not good for USB communications devices.  Comms
      devices should be able to tell when their link can go into a lower power
      state, because they know when an incoming transmission is finished.
      Ideally, these devices would slam their links into a lower power state,
      using the device-initiated LPM, after finishing the last packet of their
      data transfer.
      
      If we enable the idle timeouts for the parent hubs to enable
      hub-initiated LPM, we will get a lot of useless LPM packets on the bus
      as the devices reject LPM transitions when they're in the middle of
      receiving data.  Worse, some devices might blindly accept the
      hub-initiated LPM and power down their radios while they're in the
      middle of receiving a transmission.
      
      The Intel Windows folks are disabling hub-initiated LPM for all USB
      communications devices under a xHCI USB 3.0 host.  In order to keep
      the Linux behavior as close as possible to Windows, we need to do the
      same in Linux.
      
      Set the disable_hub_initiated_lpm flag for for all USB communications
      drivers.  I know there aren't currently any USB 3.0 devices that
      implement these class specifications, but we should be ready if they do.
      Signed-off-by: NSarah Sharp <sarah.a.sharp@linux.intel.com>
      Cc: Marcel Holtmann <marcel@holtmann.org>
      Cc: Gustavo Padovan <gustavo@padovan.org>
      Cc: Johan Hedberg <johan.hedberg@gmail.com>
      Cc: Hansjoerg Lipp <hjlipp@web.de>
      Cc: Tilman Schmidt <tilman@imap.cc>
      Cc: Karsten Keil <isdn@linux-pingi.de>
      Cc: Peter Korsgaard <jacmet@sunsite.dk>
      Cc: Jan Dumon <j.dumon@option.com>
      Cc: Petko Manolov <petkan@users.sourceforge.net>
      Cc: Steve Glendinning <steve.glendinning@smsc.com>
      Cc: "John W. Linville" <linville@tuxdriver.com>
      Cc: Kalle Valo <kvalo@qca.qualcomm.com>
      Cc: "Luis R. Rodriguez" <mcgrof@qca.qualcomm.com>
      Cc: Jouni Malinen <jouni@qca.qualcomm.com>
      Cc: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
      Cc: Senthil Balasubramanian <senthilb@qca.qualcomm.com>
      Cc: Christian Lamparter <chunkeey@googlemail.com>
      Cc: Brett Rudley <brudley@broadcom.com>
      Cc: Roland Vossen <rvossen@broadcom.com>
      Cc: Arend van Spriel <arend@broadcom.com>
      Cc: "Franky (Zhenhui) Lin" <frankyl@broadcom.com>
      Cc: Kan Yan <kanyan@broadcom.com>
      Cc: Dan Williams <dcbw@redhat.com>
      Cc: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
      Cc: Ivo van Doorn <IvDoorn@gmail.com>
      Cc: Gertjan van Wingerde <gwingerde@gmail.com>
      Cc: Helmut Schaa <helmut.schaa@googlemail.com>
      Cc: Herton Ronaldo Krzesinski <herton@canonical.com>
      Cc: Hin-Tak Leung <htl10@users.sourceforge.net>
      Cc: Larry Finger <Larry.Finger@lwfinger.net>
      Cc: Chaoming Li <chaoming_li@realsil.com.cn>
      Cc: Daniel Drake <dsd@gentoo.org>
      Cc: Ulrich Kunitz <kune@deine-taler.de>
      Signed-off-by: NSarah Sharp <sarah.a.sharp@linux.intel.com>
      e1f12eb6
  26. 24 4月, 2012 2 次提交
  27. 27 3月, 2012 2 次提交
  28. 16 3月, 2012 2 次提交