usb: usbtest: support usb2 extension descriptor test
authorHuang Rui <ray.huang@amd.com>
Wed, 30 Oct 2013 03:27:38 +0000 (11:27 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Oct 2013 16:52:14 +0000 (09:52 -0700)
commit82f92672ac3e36458fdb298f798913da8460fce9
tree6054c61485447f6e247106cf9b568cdeb364e3e2
parentc2ec3a732a6bb65635693f6d86d2b7bf073b6148
usb: usbtest: support usb2 extension descriptor test

In Test 9 of usbtest module, it is used for performing chapter 9 tests N
times.

USB2.0 Extension descriptor is one of the generic device-level capbility
descriptors which added in section 9.6.2.1 of USB 3.0 spec.

This patch adds to support getting usb2.0 extension descriptor test
scenario for USB 3.0.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/usbtest.c