adb: Add bMaxBurst to superspeed descriptors

This gives a large boost to speed on usb 3.0.

Test: adb pull/push multi GB files
Bug: 31722483
Change-Id: Iea039f1aba8b2e4d7e4a2ecb504cccb5dd1e4629
This commit is contained in:
Jerry Zhang 2017-02-10 17:43:00 -08:00
parent 2f8c60b1cc
commit b5a34a2bce
1 changed files with 2 additions and 0 deletions

View File

@ -180,6 +180,7 @@ static struct ss_func_desc ss_descriptors = {
.source_comp = {
.bLength = sizeof(ss_descriptors.source_comp),
.bDescriptorType = USB_DT_SS_ENDPOINT_COMP,
.bMaxBurst = 4,
},
.sink = {
.bLength = sizeof(ss_descriptors.sink),
@ -191,6 +192,7 @@ static struct ss_func_desc ss_descriptors = {
.sink_comp = {
.bLength = sizeof(ss_descriptors.sink_comp),
.bDescriptorType = USB_DT_SS_ENDPOINT_COMP,
.bMaxBurst = 4,
},
};