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

Pascal Quantin <pas...@wireshark.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pas...@wireshark.org

--- Comment #3 from Pascal Quantin <pas...@wireshark.org> ---
Hi Tomasz,

I faced this usbmon/USBPcap behavior difference while developing the MBIM
dissector, and ended with a hack at the beginning of the dissect_mbim_control()
function in epan/dissectors/packet-mbim.c:

    if (data) {
        usb_trans_info_t *usb_trans_info = ((usb_conv_info_t
*)data)->usb_trans_info;
        if (usb_trans_info && (usb_trans_info->setup.request == 0x00) &&
(USB_HEADER_IS_LINUX(usb_trans_info->header_type))) {
            /* Skip Send Encapsulated Command header */
            offset += 7;
            tree = proto_tree_get_parent_tree(tree);
        }
    }

So presumably something similar will be required with the new USBPcap captures,
right? Unfortunately I do not have anymore access to a MBIM device to test.

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