Merge "fastbootd: reduce USB buffer size to 16K"

This commit is contained in:
Treehugger Robot 2019-05-22 03:45:18 +00:00 committed by Gerrit Code Review
commit 9ab0471734
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ constexpr int kMaxPacketSizeHs = 512;
constexpr int kMaxPacketsizeSs = 1024;
constexpr size_t kFbFfsNumBufs = 16;
constexpr size_t kFbFfsBufSize = 32768;
constexpr size_t kFbFfsBufSize = 16384;
constexpr const char* kUsbFfsFastbootEp0 = "/dev/usb-ffs/fastboot/ep0";
constexpr const char* kUsbFfsFastbootOut = "/dev/usb-ffs/fastboot/ep1";