linux/drivers/net/wireless/rt2x00
Ivo van Doorn eb20b4e8a6 rt2x00: Reduce calls to bbp_read()
The link_tuner() function will always call bbp_read()
at the start of the function. Because this is an
indirect register access has some costs attached
to it (especially for USB hardware).

We already store the value read from the register
into the vgc_level value inside the link structure.
Instead of reading from the register we can read that
field directly and base the tuner on that value.

This reduces the time the registers are locked with
the csr_mutex and speeds up the link_tuner processing.

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-01-29 15:58:34 -05:00
..
Kconfig rt2x00: Implement HW encryption (rt2500usb) 2008-12-05 09:35:51 -05:00
Makefile rt2x00: Move link tuning into seperate file 2009-01-29 15:58:34 -05:00
rt2x00.h rt2x00: Reduce calls to bbp_read() 2009-01-29 15:58:34 -05:00
rt2x00config.c rt2x00: Move link tuning into seperate file 2009-01-29 15:58:34 -05:00
rt2x00crypto.c trivial: fix then -> than typos in comments and documentation 2009-01-06 11:28:06 +01:00
rt2x00debug.c rt2x00: Move link tuning into seperate file 2009-01-29 15:58:34 -05:00
rt2x00debug.h rt2x00: Remove debugfs CSR access wrappers 2008-11-10 15:17:35 -05:00
rt2x00dev.c rt2x00: Move link tuning into seperate file 2009-01-29 15:58:34 -05:00
rt2x00dump.h
rt2x00firmware.c rt2x00: Reset LED assoc status after firmware update 2008-07-14 14:53:00 -04:00
rt2x00leds.c rt2x00: Fix radio LED type check 2009-01-12 14:24:49 -05:00
rt2x00leds.h
rt2x00lib.h rt2x00: Move link tuning into seperate file 2009-01-29 15:58:34 -05:00
rt2x00link.c rt2x00: Move link tuning into seperate file 2009-01-29 15:58:34 -05:00
rt2x00mac.c rt2x00: Correctly initialize AID during set_key() 2008-12-05 09:35:57 -05:00
rt2x00pci.c rt2x00: Cleanup indirect register access 2008-11-25 16:32:53 -05:00
rt2x00pci.h rt2x00: Cleanup indirect register access 2008-11-25 16:32:53 -05:00
rt2x00queue.c rt2x00: Fix TX rate short preamble detection 2009-01-22 13:55:01 -05:00
rt2x00queue.h rt2x00: Add RXDONE_CRYPTO_IV/ICV flags 2008-12-05 09:35:56 -05:00
rt2x00reg.h Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6 2008-09-08 16:59:05 -07:00
rt2x00rfkill.c rt2x00: fix a wrong parameter for __test_and_clear_bit() in rt2x00rfkill_free(). 2009-01-16 17:08:24 -05:00
rt2x00usb.c rt2x00: Fix segementation fault 2009-01-12 14:24:53 -05:00
rt2x00usb.h rt2x00: Move rt73usb register access wrappers into rt2x00usb 2008-11-25 16:32:53 -05:00
rt61pci.c rt2x00: Reduce calls to bbp_read() 2009-01-29 15:58:34 -05:00
rt61pci.h rt2x00: Implement Powersaving 2009-01-29 15:58:34 -05:00
rt73usb.c rt2x00: Reduce calls to bbp_read() 2009-01-29 15:58:34 -05:00
rt73usb.h rt2x00: Remove debugfs CSR access wrappers 2008-11-10 15:17:35 -05:00
rt2400pci.c rt2x00: Reduce calls to bbp_read() 2009-01-29 15:58:34 -05:00
rt2400pci.h rt2x00: Remove debugfs CSR access wrappers 2008-11-10 15:17:35 -05:00
rt2500pci.c rt2x00: Reduce calls to bbp_read() 2009-01-29 15:58:34 -05:00
rt2500pci.h rt2x00: Remove debugfs CSR access wrappers 2008-11-10 15:17:35 -05:00
rt2500usb.c rt2x00: Implement Powersaving 2009-01-29 15:58:34 -05:00
rt2500usb.h rt2x00: Implement HW encryption (rt2500usb) 2008-12-05 09:35:51 -05:00