Wireshark-commits: [Wireshark-commits] master cde07b8: USB: Handle USBPcap 1.5.0.0 updated pseudohe
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=cde07b8ba370e631089f36c8199a5aa28d1f07e7
Submitter: "Pascal Quantin <pascal@xxxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark
Commits:
cde07b8 by Tomasz Moń (desowin@xxxxxxxxx):
USB: Handle USBPcap 1.5.0.0 updated pseudoheader
USBPcap 1.5.0.0 features two main changes:
* Introduction of USB IRP Info transfer type (0xFE)
This type is used when the IRP is of general interest to the user,
but does not really directly match to any USB payload. When such
type is encountered, display the URB Function code in Info column.
Currently following URB functions are recorded as USB IRP Info:
* URB_FUNCTION_SYNC_RESET_PIPE_AND_CLEAR_STALL
* URB_FUNCTION_SYNC_RESET_PIPE
* URB_FUNCTION_SYNC_CLEAR_STALL
* URB_FUNCTION_ABORT_PIPE
* URB_FUNCTION_CLOSE_STATIC_STREAMS
* Introduction of control stage COMPLETE (0x03)
The control transactions are now recorded as 2 packets: SETUP and
COMPLETE. All Wireshark versions since the USBPcap pseudoheader
support was implemented correctly pass the data to subdissectors.
This makes the USBPcap control packets behave just like usbmon.
Ping-Bug: 15842
Change-Id: Idc0edf2a0fcf58997531c492293e0719f037493f
Reviewed-on: https://code.wireshark.org/review/33623
Petri-Dish: Pascal Quantin <pascal@xxxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Pascal Quantin <pascal@xxxxxxxxxxxxx>
Actions performed:
from be3d469 NGAP: fix dissection of N2 Information Content
add cde07b8 USB: Handle USBPcap 1.5.0.0 updated pseudoheader
Summary of changes:
epan/dissectors/packet-usb.c | 70 ++++++++++++++++++++++++++++++++++----------
1 file changed, 55 insertions(+), 15 deletions(-)