Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b5a34a2b authored by Jerry Zhang's avatar Jerry Zhang
Browse files

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
parent 2f8c60b1
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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,
    },
};