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

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

Merge "usb: f_gsi: Increase ADPL buffer depth to 30"

parents 2b4e0cfc 8644c963
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -3182,8 +3182,8 @@ static int gsi_bind(struct usb_configuration *c, struct usb_function *f)
		info.ss_desc_hdr = qdss_gsi_ss_data_only_desc;
		info.in_epname = "gsi-epin";
		info.out_epname = "";
		info.in_req_buf_len = 16384;
		info.in_req_num_buf = GSI_NUM_IN_BUFFERS;
		info.in_req_buf_len = GSI_IN_DPL_BUFF_SIZE;
		info.in_req_num_buf = GSI_NUM_IN_DPL_BUFFERS;
		info.notify_buf_len = sizeof(struct usb_cdc_notification);
		break;
	case IPA_USB_GPS:
+2 −0
Original line number Diff line number Diff line
@@ -31,10 +31,12 @@

#define GSI_NUM_IN_RNDIS_BUFFERS 50
#define GSI_NUM_IN_RMNET_BUFFERS 50
#define GSI_NUM_IN_DPL_BUFFERS 30
#define GSI_NUM_IN_BUFFERS 15
#define GSI_IN_BUFF_SIZE 2048
#define GSI_IN_RMNET_BUFF_SIZE 31744
#define GSI_IN_RNDIS_BUFF_SIZE 16384
#define GSI_IN_DPL_BUFF_SIZE 16384
#define GSI_NUM_OUT_BUFFERS 14
#define GSI_OUT_AGGR_SIZE 24576