Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1459678

Re: [PATCH 2/4] usb: gadget: f_midi: defaults buflen sizes to 512

From Felipe Balbi <balbi@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH 2/4] usb: gadget: f_midi: defaults buflen sizes to 512
Date 2016-08-10 21:40 +0200
Message-ID <s4Hw6-YV-7@gated-at.bofh.it> (permalink)
References <rYXkd-2G4-5@gated-at.bofh.it> <rYXkd-2G4-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi,

"Felipe F. Tonello" <eu@felipetonello.com> writes:
> 512 is the value used by wMaxPacketSize, as specified by the USB Spec. This

this is only true for HS :-) FS and SS use different sizes. Do you want
to use 1024 (SS maxp) by default instead? Then all speeds will have this
working out just fine.

-- 
balbi

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/4] MIDI Function improvements "Felipe F. Tonello" <eu@felipetonello.com> - 2016-07-26 01:20 +0200
  [PATCH 2/4] usb: gadget: f_midi: defaults buflen sizes to 512 "Felipe F. Tonello" <eu@felipetonello.com> - 2016-07-26 01:20 +0200
    Re: [PATCH 2/4] usb: gadget: f_midi: defaults buflen sizes to 512 Felipe Balbi <balbi@kernel.org> - 2016-08-10 21:40 +0200
      Re: [PATCH 2/4] usb: gadget: f_midi: defaults buflen sizes to 512 Felipe Ferreri Tonello <eu@felipetonello.com> - 2016-08-11 10:40 +0200
  [PATCH 3/4] usb: gadget: f_midi: refactor state machine "Felipe F. Tonello" <eu@felipetonello.com> - 2016-07-26 01:20 +0200
  [PATCH 1/4] usb: gadget: f_midi: fixed endianness when using wMaxPacketSize "Felipe F. Tonello" <eu@felipetonello.com> - 2016-07-26 01:20 +0200
    Re: [PATCH 1/4] usb: gadget: f_midi: fixed endianness when using wMaxPacketSize Baolin Wang <baolin.wang@linaro.org> - 2016-07-26 04:00 +0200
      Re: [PATCH 1/4] usb: gadget: f_midi: fixed endianness when using wMaxPacketSize Felipe Balbi <balbi@kernel.org> - 2016-08-10 21:00 +0200
        Re: [PATCH 1/4] usb: gadget: f_midi: fixed endianness when using  wMaxPacketSize Felipe Ferreri Tonello <eu@felipetonello.com> - 2016-08-11 10:40 +0200

csiph-web