summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ipw2x00/ipw2100.c
diff options
context:
space:
mode:
authorAndrea Merello <andrea.merello@gmail.com>2014-03-22 18:51:20 +0100
committerJohn W. Linville <linville@tuxdriver.com>2014-03-27 14:20:04 -0400
commitfd6564fcdc0bfcd432e6e939f9538acc3905d08a (patch)
tree9feb0e42cd626e9f0a6973f79ea71c9897de1d04 /drivers/net/wireless/ipw2x00/ipw2100.c
parent4818d82899aa97a482ba3508cd75864a60c483ac (diff)
rtl8180: rationalize TX queues
On currently supported HW there are four TX queues (three for normal packets and one for beacons). The driver uses just one TX queue, and declare to mac80211 to support just one queue, but it allocates coherent memory for all queues. Furthermore the TX is code is written assumimg four queues exists, and even if we decide to enable more queues in future, its mapping rule to mac80211 is fixed. This means we have memory waste on rtl8180/rtl8185, and we have also not enough flexibility to add support for boards (rtl8187se) that will use more queues. This patch changes things in order to allocate coherent memory only for the queues effectively used and it make it possible to specify how to map hardware queues on mac80211 queues, that will be used by rtl8187se code as soon it will be merged. Note: even if the beacon queue is currently unused, this should change, so I kept it. Signed-off-by: Andrea Merello <andrea.merello@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ipw2x00/ipw2100.c')
0 files changed, 0 insertions, 0 deletions