linux/drivers/net/wireless/rt2x00
Helmut Schaa f78987cf8b rt2x00: Calculate tx status fifo size instead of hardcoding it
Instead of hardcoding the tx status fifo size as 512 calculate it based
on the number of tx queues and the number of entries per queue. Also
round the size up to a power of 2 as kfifo would otherwise round it
down.

On rt2800pci this will increase the kfifo size from 512 bytes to 1024
bytes which is then able to hold the tx status for all entries in all
tx queues.

Furthermore, if the number of tx queues or tx entries changes in the
future (use of the MGMT queue for example) the kfifo size doesn't need
to be updated.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-04-04 16:20:02 -04:00
..
Kconfig rt2x00: Add support for RT5390 chip 2011-02-21 15:40:00 -05:00
Makefile
rt2x00.h rt2x00: Remove unused rt2x00queue_get_queue function. 2011-03-04 14:06:49 -05:00
rt2x00config.c rt2x00: Fix pointer errors. 2011-01-04 14:35:14 -05:00
rt2x00crypto.c
rt2x00debug.c rt2x00: Protect queue control with mutex 2010-12-13 15:23:35 -05:00
rt2x00debug.h
rt2x00dev.c rt2x00: Calculate tx status fifo size instead of hardcoding it 2011-04-04 16:20:02 -04:00
rt2x00dump.h
rt2x00firmware.c rt2x00: Don't leak mem in error path of rt2x00lib_request_firmware() 2011-01-13 15:46:45 -05:00
rt2x00ht.c rt2x00: Don't call ieee80211_get_tx_rate for MCS rates 2011-03-04 14:06:48 -05:00
rt2x00leds.c
rt2x00leds.h
rt2x00lib.h rt2x00: Introduce beacon_update_locked that requires caller locking 2011-01-31 15:06:22 -05:00
rt2x00link.c rt2x00: Move TX/RX work into dedicated workqueue 2011-01-31 15:06:25 -05:00
rt2x00mac.c rt2x00: Optimize getting the beacon queue structure. 2011-03-04 14:06:49 -05:00
rt2x00pci.c rt2x00: Limit rt2x00pci rxdone processing to 16 entries at once 2011-04-04 16:20:01 -04:00
rt2x00pci.h rt2x00: Limit rt2x00pci rxdone processing to 16 entries at once 2011-04-04 16:20:01 -04:00
rt2x00queue.c rt2x00: Remove unused rt2x00queue_get_queue function. 2011-03-04 14:06:49 -05:00
rt2x00queue.h rt2x00: Use an enum instead of u16 for the rate_mode TX descriptor field 2011-03-04 14:06:48 -05: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: Move TX/RX work into dedicated workqueue 2011-01-31 15:06:25 -05:00
rt2x00usb.h rt2x00: Add "flush" queue command 2010-12-13 15:23:35 -05:00
rt61pci.c rt2x00: Limit rt2x00pci rxdone processing to 16 entries at once 2011-04-04 16:20:01 -04:00
rt61pci.h rt2x00: Fix WMM Queue naming 2010-12-13 15:23:36 -05:00
rt73usb.c rt2x00: Move TX descriptor field "ifs" into plcp substruct 2011-03-04 14:06:47 -05:00
rt73usb.h rt2x00: Fix WMM Queue naming 2010-12-13 15:23:36 -05:00
rt2400pci.c rt2x00: Limit rt2x00pci rxdone processing to 16 entries at once 2011-04-04 16:20:01 -04:00
rt2400pci.h rt2x00: checkpatch.pl error fixes for rt2400pci.h 2010-11-15 13:26:13 -05:00
rt2500pci.c rt2x00: Limit rt2x00pci rxdone processing to 16 entries at once 2011-04-04 16:20:01 -04:00
rt2500pci.h rt2x00: checkpatch.pl error fixes for rt2500pci.h 2010-11-15 13:26:15 -05:00
rt2500usb.c rt2x00: Move TX descriptor field "ifs" into plcp substruct 2011-03-04 14:06:47 -05:00
rt2500usb.h
rt2800.h rt2x00: fix whitespace damage in the rt2800 specific code 2011-03-04 14:05:18 -05:00
rt2800lib.c rt2x00: Fix rt2800 key assignment in multi bssid setups 2011-03-04 14:06:48 -05:00
rt2800lib.h rt2x00: Refactor beacon code to make use of start- and stop_queue 2011-01-31 15:06:22 -05:00
rt2800pci.c rt2x00: Limit rt2800pci txdone processing to 16 entries at once 2011-04-04 16:20:01 -04:00
rt2800pci.h rt2x00: checkpatch.pl error fixes for rt2800pci.h 2010-11-15 13:26:20 -05:00
rt2800usb.c rt2x00: Add unknown Toshiba device 2011-03-21 15:19:24 -04:00
rt2800usb.h rt2x00: checkpatch.pl error fixes for rt2800usb.h 2010-11-15 13:26:23 -05:00