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

Commit 4a572d98 authored by Hridya Valsaraju's avatar Hridya Valsaraju Committed by android-build-merger
Browse files

fastbootd: reduce USB buffer size to 16K

am: 4472fdb4

Change-Id: I86c52fdd909bce5e9ef485f0fda2c4506d5b534f
parents 11c04904 4472fdb4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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";