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

Commit ab8d48dd authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "diag: Increase the MHI buffer size to 4k"

parents 4d075516 4a2ccaa7
Loading
Loading
Loading
Loading
+11 −1
Original line number Diff line number Diff line
/* Copyright (c) 2008-2018, The Linux Foundation. All rights reserved.
/* Copyright (c) 2008-2019, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -261,9 +261,19 @@ do { \

#define DIAG_TS_SIZE	50

#ifdef CONFIG_MHI_BUS
#define DIAG_MDM_BUF_SIZE	4096
#else
#define DIAG_MDM_BUF_SIZE	2048
#endif

/* The Maximum request size is 4k + DCI header + footer (6 bytes) */
#ifdef CONFIG_MHI_BUS
#define DIAG_MDM_DCI_BUF_SIZE	(4096 + 6)
#else
/* The Maximum request size is 2k + DCI header + footer (6 bytes) */
#define DIAG_MDM_DCI_BUF_SIZE	(2048 + 6)
#endif

#define DIAG_LOCAL_PROC	0