]> git.baikalelectronics.ru Git - kernel.git/commit
ath5k: Use four hardware queues
authorBruno Randolf <br1@einfach.org>
Fri, 17 Sep 2010 02:36:35 +0000 (11:36 +0900)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 21 Sep 2010 15:05:08 +0000 (11:05 -0400)
commitcef243fd53db53d31e27622d80e8420945b92d3d
tree45045b4e80a4235d3ad90f185f39a445a727e0ee
parent7680ecde4ee173309f66d1bc4dfd756b4f511184
ath5k: Use four hardware queues

Prepare ath5k for WME by using four hardware queues.

The way we set up our queues matches the mac80211 queue priority 1:1, so we
don't have to do any mapping for queue numbers.

Every queue uses 50 of the total 200 available transmit buffers, so the DMA
memory usage does not increase with this patch, but it might be good to
fine-tune the number of buffers per queue later (depending on the CPU speed and
load, and the speed of the medium access, it might not be big enough).

Signed-off-by: Bruno Randolf <br1@einfach.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/base.c
drivers/net/wireless/ath/ath5k/base.h