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

Commit fc34ce39 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 6304c587
Loading
Loading
Loading
Loading
+12 −2
Original line number Diff line number Diff line
/* SPDX-License-Identifier: GPL-2.0 */
/* Copyright (c) 2008-2018, The Linux Foundation. All rights reserved.
/* SPDX-License-Identifier: GPL-2.0-only */
/* Copyright (c) 2008-2019, The Linux Foundation. All rights reserved.
 */

#ifndef DIAGCHAR_H
@@ -253,9 +253,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