linux/drivers/net/wireless/rt2x00
Ivo van Doorn 152a599274 rt2x00: Decrease association time for USB devices
When powersaving is enabled, assocaition times are very high
(for WPA2 networks, the time can easily be around the 3 seconds).

This is caused, because the flushing of the queues takes
too much time. Without the flushing callback mac80211 assumes
a timeout of 100ms while scanning. Limit all flush waiting
loops to the same maximum.

We can apply this maximum by passing the drop status to the
driver, which makes sure the driver performs extra actions
during the waiting for the queue to become empty.

After these changes, association times fall within the
healthy range of ~0.6 seconds with powersaving enabled.
The difference between association time between powersaving
enabled and disabled is now only ~0.1 second (which can also
be due to the measuring method).

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-04-19 15:39:37 -04:00
..
Kconfig rt2x00: Add support for RT5390 chip 2011-02-21 15:40:00 -05:00
Makefile
rt2x00.h rt2x00: Decrease association time for USB devices 2011-04-19 15:39:37 -04:00
rt2x00config.c rt2x00: Split rt2x00dev->flags 2011-04-19 15:39:11 -04:00
rt2x00crypto.c rt2x00: Split rt2x00dev->flags 2011-04-19 15:39:11 -04:00
rt2x00debug.c rt2x00: Split rt2x00dev->flags 2011-04-19 15:39:11 -04:00
rt2x00debug.h
rt2x00dev.c rt2800usb: add timer to handle TX_STA_FIFO 2011-04-19 15:39:35 -04:00
rt2x00dump.h rt2x00: correct sparse warning in rt2x00debug.c 2010-07-20 16:49:41 -04:00
rt2x00firmware.c rt2x00: Split rt2x00dev->flags 2011-04-19 15:39:11 -04:00
rt2x00ht.c rt2x00: Use TXOP_HTTXOP for beacons 2011-04-19 15:39:24 -04:00
rt2x00leds.c
rt2x00leds.h
rt2x00lib.h rt2x00: fix queue timeout checks 2011-04-19 15:39:30 -04:00
rt2x00link.c rt2x00: Split rt2x00dev->flags 2011-04-19 15:39:11 -04:00
rt2x00mac.c rt2x00: Split rt2x00dev->flags 2011-04-19 15:39:11 -04:00
rt2x00pci.c rt2x00: Decrease association time for USB devices 2011-04-19 15:39:37 -04:00
rt2x00pci.h rt2x00: Decrease association time for USB devices 2011-04-19 15:39:37 -04:00
rt2x00queue.c rt2x00: Decrease association time for USB devices 2011-04-19 15:39:37 -04:00
rt2x00queue.h rt2x00: fix queue timeout checks 2011-04-19 15:39:30 -04:00
rt2x00reg.h rt2x00: Remove STATE_RADIO_IRQ_OFF_ISR and STATE_RADIO_IRQ_ON_ISR 2011-01-31 15:06:24 -05:00
rt2x00soc.c rt2x00: Use ioremap for SoC devices instead of KSEG1ADDR. 2010-11-17 16:18:54 -05:00
rt2x00soc.h
rt2x00usb.c rt2x00: Decrease association time for USB devices 2011-04-19 15:39:37 -04:00
rt2x00usb.h rt2x00: Decrease association time for USB devices 2011-04-19 15:39:37 -04:00
rt61pci.c rt2x00: Decrease association time for USB devices 2011-04-19 15:39:37 -04:00
rt61pci.h rt2x00: Fix WMM Queue naming 2010-12-13 15:23:36 -05:00
rt73usb.c rt2x00: Split rt2x00dev->flags 2011-04-19 15:39:11 -04:00
rt73usb.h rt2x00: Fix WMM Queue naming 2010-12-13 15:23:36 -05:00
rt2400pci.c rt2x00: Decrease association time for USB devices 2011-04-19 15:39:37 -04:00
rt2400pci.h rt2x00: checkpatch.pl error fixes for rt2400pci.h 2010-11-15 13:26:13 -05:00
rt2500pci.c rt2x00: Decrease association time for USB devices 2011-04-19 15:39:37 -04:00
rt2500pci.h rt2x00: checkpatch.pl error fixes for rt2500pci.h 2010-11-15 13:26:15 -05:00
rt2500usb.c rt2x00: Split rt2x00dev->flags 2011-04-19 15:39:11 -04:00
rt2500usb.h
rt2800.h rt2x00: Implement tx power temperature compensation 2011-04-04 16:20:03 -04:00
rt2800lib.c rt2800usb: read TX_STA_FIFO asynchronously 2011-04-19 15:39:27 -04:00
rt2800lib.h rt2x00: Implement tx power temperature compensation 2011-04-04 16:20:03 -04:00
rt2800pci.c rt2x00: Decrease association time for USB devices 2011-04-19 15:39:37 -04:00
rt2800pci.h rt2x00: checkpatch.pl error fixes for rt2800pci.h 2010-11-15 13:26:20 -05:00
rt2800usb.c rt2800usb: add timer to handle TX_STA_FIFO 2011-04-19 15:39:35 -04:00
rt2800usb.h rt2x00: checkpatch.pl error fixes for rt2800usb.h 2010-11-15 13:26:23 -05:00