diff options
author | hulianqin <hulianqin@vivo.corp-partner.google.com> | 2024-05-12 20:25:02 +0800 |
---|---|---|
committer | mdb:android-git <superproject-auto-update@invalid> | 2024-05-17 12:32:39 +0000 |
commit | 6e94c8e0e025553cc2abdf53e5adf3f3dce04dc6 (patch) | |
tree | d52ca79d2d22af21fc5a575fce44e86e6131cefb | |
parent | ee8ee3ce3a37da66308c68e6b1c3c8badfa3a776 (diff) | |
download | superproject-common-android14-5.15.tar.gz |
ANDROID: usb: Optimize the problem of slow transfer rate in USB accessory modecommon-android14-5.15
The data transfer rate using Google Restore in USB3.2 mode is slower,
only about 140MB/s at 5Gbps.
The bMaxBurst is not set, and num_fifos in
dwc3_gadget_resize_tx_fifosis 1, which results
in only 131btye of dwc3 ram space being allocated to ep.
Modify bMaxBurst to 6.
The 5Gbps rate increases from 140MB/s to 350MB/s.
The 10Gbps rate is increased from 220MB/s to 500MB/s.
Bug: 340049583
BUG: 341178033
Change-Id: I5710af32c72d0b57afaecc00c4f0909af4b9a299
Signed-off-by: Lianqin Hu <hulianqin@vivo.corp-partner.google.com>
Signed-off-by: Lianqin Hu <hulianqin@vivo.com>
(cherry picked from commit 23f2a9f5f13426263f557ff67ce8f4e3f7965d12)
Signed-off-by: Lianqin Hu <hulianqin@vivo.com>
m--------- | common | 0 |
1 files changed, 0 insertions, 0 deletions
diff --git a/common b/common -Subproject 5981994114b6465d5a06028ce1ad84cfac1e290 +Subproject 2526c59f3f53cca21ad43a7c4f5c30b2bee9cdd |