https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=15842

--- Comment #9 from Tomasz Mon <deso...@gmail.com> ---
Created attachment 17180
  --> https://bugs.wireshark.org/bugzilla/attachment.cgi?id=17180&action=edit
USBPcap capture using the upcoming 1.5.0.0 control capture format

I have decided to change the USBPCAP_CONTROL_STAGE_SETUP to contain both SETUP
data and the optional DATA OUT.

I have added new USBPCAP_CONTROL_STAGE_COMPLETE that replaces the optional
USBPCAP_CONTROL_STAGE_DATA and USBPCAP_CONTROL_STAGE_STATUS.

This capture format change decision was based on the fact that existing
Wireshark USBPcap dissection handles it correctly. The dissection of control
transfers in protocols whose dissector was written with usbmon in mind, eg. DFU
should now work correctly with the (upcoming) USBPcap 1.5.0.0.

Attached example contains control transfers from USB Audio device. The capture
has examples of SETUP + DATA OUT and COMPLETE with optional DATA IN.

The MBIM hack would most likely have to be changed, but this seemed to be least
intrusive change that would solve the problem for future dissector developers.

-- 
You are receiving this mail because:
You are watching all bug changes.
___________________________________________________________________________
Sent via:    Wireshark-bugs mailing list <wireshark-bugs@wireshark.org>
Archives:    https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-bugs
             mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe

Reply via email to