Skip to content
Snippets Groups Projects
Commit 20a7858a authored by Lianqin Hu's avatar Lianqin Hu Committed by Treehugger Robot
Browse files

ANDROID: usb: Optimization the transfer rate of accessory mode in USB3.2 mode


BmAttributes controls the maximum number of streams supported by the
endpoint.
streaming is a data transmission mode that allows multiple data packets
to be sent simultaneously in one transmission cycle.

Set bmAttributes to 16, bulk endpoint with more than 65536 streams,
can effectively improve data throughput.

Modify bmAttributes to 16.
The 5Gbps peak rate increases from 350MB/s to 400MB/s.
The 10Gbps peak rate is increased from 500MB/s to 600MB/s.

Bug: 373314134

Change-Id: I4b6c9554ff39a7b2222461e1949825dd6148c006
Signed-off-by: default avatarLianqin Hu <hulianqin@vivo.corp-partner.google.com>
Signed-off-by: default avatarLianqin Hu <hulianqin@vivo.com>
(cherry picked from commit 1fe91f86)
Signed-off-by: default avatarLianqin Hu <hulianqin@vivo.com>
parent e09a6513
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment