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

This commit is contained in:
qctecmdr 2021-01-25 06:19:19 -08:00 • committed by Gerrit - the friendly Code Review server
commit b0fec7e6e2
2 changed files with 4 additions and 2 deletions

View file

@ -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:

View file

@ -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