]> git.baikalelectronics.ru Git - kernel.git/commit
rt2x00: Detect USB BULK in/out endpoints
authorIvo van Doorn <ivdoorn@gmail.com>
Thu, 13 Nov 2008 22:07:33 +0000 (23:07 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 25 Nov 2008 21:41:34 +0000 (16:41 -0500)
commit496a0d0d8822af1e7b9196b0c7024a0796dc2638
treee170d7fe637f7a9ff552e694af6f409529865daa
parent2f4cf58c72c9d3f3b7c2df4f017d9ccd803358a7
rt2x00: Detect USB BULK in/out endpoints

Instead of hardcoding the used in/out endpoints
we should detect them by walking through all
available endpoints.

rt2800usb will gain the most out of this, because
the legacy drivers indicate that there are multiple
endpoints available.
However this code might benefit at least rt73usb as
well for the MIMO queues, and if we are really lucky
rt2500usb will benefit because for the TX and PRIO
queues.

Even if rt2500usb and rt73usb do not get better performance
after this patch, the endpoint detection still belongs to
rt2x00usb, and it shouldn't hurt to always try to detect
the available endpoints.

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2500usb.c
drivers/net/wireless/rt2x00/rt2x00.h
drivers/net/wireless/rt2x00/rt2x00queue.h
drivers/net/wireless/rt2x00/rt2x00usb.c
drivers/net/wireless/rt2x00/rt73usb.c