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

Commit 181cfefc authored by Mayank Rana's avatar Mayank Rana
Browse files

usb: gadget: f_gsi: Use 16KB buffer with each TRB for MBIM DL



There is limitation when IPA is performing de/aggregation with MBIM
in scatter-gather mode. Hence instead of 2KB buffer use 16KB buffer
(i.e. size of aggregated frame) with each TRB for MBIM DL case.

CRs-Fixed: 1032467
Change-Id: I4f73d30711b5606c2ac88ce9d05a8483d64b665d
Signed-off-by: default avatarMayank Rana <mrana@codeaurora.org>
parent beb1eeec
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2662,7 +2662,7 @@ static int gsi_bind(struct usb_configuration *c, struct usb_function *f)
		info.in_epname = "gsi-epin";
		info.out_epname = "gsi-epout";
		gsi->d_port.in_aggr_size = GSI_IN_MBIM_AGGR_SIZE;
		info.in_req_buf_len = GSI_IN_BUFF_SIZE;
		info.in_req_buf_len = GSI_IN_MBIM_AGGR_SIZE;
		info.in_req_num_buf = num_in_bufs;
		gsi->d_port.out_aggr_size = GSI_OUT_AGGR_SIZE;
		info.out_req_buf_len = GSI_OUT_MBIM_BUF_LEN;