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

Commit 4a2ccaa7 authored by Sreelakshmi Gownipalli's avatar Sreelakshmi Gownipalli Committed by Manoj Prabhu B
Browse files

diag: Increase the MHI buffer size to 4k



Increase the buffer size to 4k for the buffers submitted to MHI
layer.

Change-Id: Iec8f582a986f69ef078174a57ed4d062ac6ccfbb
Signed-off-by: default avatarSreelakshmi Gownipalli <sgownipa@codeaurora.org>
Signed-off-by: default avatarManoj Prabhu B <bmanoj@codeaurora.org>
parent 2d0bbcbf
Loading
Loading
Loading
Loading
+11 −1
Original line number Original line 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
 * 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
 * it under the terms of the GNU General Public License version 2 and
@@ -261,9 +261,19 @@ do { \


#define DIAG_TS_SIZE	50
#define DIAG_TS_SIZE	50


#ifdef CONFIG_MHI_BUS
#define DIAG_MDM_BUF_SIZE	4096
#else
#define DIAG_MDM_BUF_SIZE	2048
#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) */
/* The Maximum request size is 2k + DCI header + footer (6 bytes) */
#define DIAG_MDM_DCI_BUF_SIZE	(2048 + 6)
#define DIAG_MDM_DCI_BUF_SIZE	(2048 + 6)
#endif


#define DIAG_LOCAL_PROC	0
#define DIAG_LOCAL_PROC	0