usb: gadget: f_ncm: add SuperSpeed descriptors for CDC NCM
authorJussi Kivilinna <jussi.kivilinna@haltian.com>
Fri, 12 Aug 2016 14:28:05 +0000 (17:28 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 25 Aug 2016 09:13:09 +0000 (12:13 +0300)
commit1650113888fe7b7e16604a5019c32dd3ddeb3af2
tree97be3a2206783603cfab7d23ecd5f2898b026ae5
parent8dc7d30dbaa6e8020de90fb6791ebe9f35e75d75
usb: gadget: f_ncm: add SuperSpeed descriptors for CDC NCM

Patch enables SuperSpeed for NCM gadget.

Tested with USB3380 and measured TCP throughput with two Intel PCs:
  udc to host: 920 Mbit/s
  host to udc: 550 Mbit/s

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@haltian.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/function/f_ncm.c