diag: Increase number of buffers for MHI and USB

When there is heavy diag traffic, all the read buffers
for MHI are used. This change doubles the amount of buffers to
increase the packet throughput.

CRs-Fixed: 971043
Change-Id: I854abe0ba5273add8dee6a9762598706db12804a
Signed-off-by: Chris Lew <clew@codeaurora.org>
This commit is contained in:
Chris Lew 2016-01-27 13:18:06 -08:00 committed by David Keitel
parent 9e1875b694
commit 90b06c27f2

View file

@ -96,7 +96,7 @@ module_param(poolsize_dci, uint, 0);
#ifdef CONFIG_DIAGFWD_BRIDGE_CODE
/* Used for reading data from the remote device. */
static unsigned int itemsize_mdm = DIAG_MDM_BUF_SIZE;
static unsigned int poolsize_mdm = 9;
static unsigned int poolsize_mdm = 18;
module_param(itemsize_mdm, uint, 0);
module_param(poolsize_mdm, uint, 0);
@ -113,7 +113,7 @@ module_param(itemsize_mdm_dci, uint, 0);
* Don't expose the itemsize since it is constant.
*/
static unsigned int itemsize_mdm_usb = sizeof(struct diag_request);
static unsigned int poolsize_mdm_usb = 9;
static unsigned int poolsize_mdm_usb = 18;
module_param(poolsize_mdm_usb, uint, 0);
/*