summaryrefslogtreecommitdiff
path: root/usb-redirection-protocol.txt
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2011-02-17 16:52:30 +0100
committerHans de Goede <hdegoede@redhat.com>2011-02-17 16:52:30 +0100
commitf233c9dfed8e5b8c996c5bae02f6196e8262b651 (patch)
tree1137be31cb90c97bdd3172c65e00c4661cc30366 /usb-redirection-protocol.txt
parentd9eeafb52555382de98324991ba7695d1c0420f9 (diff)
Diferentiate between all usb speeds, not just lo and the rest
Diffstat (limited to 'usb-redirection-protocol.txt')
-rw-r--r--usb-redirection-protocol.txt19
1 files changed, 18 insertions, 1 deletions
diff --git a/usb-redirection-protocol.txt b/usb-redirection-protocol.txt
index 5985d9d..71afeca 100644
--- a/usb-redirection-protocol.txt
+++ b/usb-redirection-protocol.txt
@@ -156,8 +156,16 @@ usb_redir_header.type: usb_redir_device_info
usb_redir_header.length: sizeof(usb_redir_device_info_header)
usb_redir_header.id: 0 (always as this is an unsolicited packet)
+enum {
+ usb_redir_speed_low,
+ usb_redir_speed_full,
+ usb_redir_speed_high,
+ usb_redir_speed_super,
+ usb_redir_speed_unknown = 255
+}
+
struct usb_redir_device_info_header {
- uint8_t slow; /* True if this is a low speed device */
+ uint8_t speed;
}
No packet type specific additional data.
@@ -173,6 +181,15 @@ usb_redir_header.type: usb_redir_ep_info
usb_redir_header.length: sizeof(usb_redir_ep_info_header)
usb_redir_header.id: 0 (always as this is an unsolicited packet)
+enum {
+ /* Note these 4 match the usb spec! */
+ usb_redir_type_control,
+ usb_redir_type_iso,
+ usb_redir_type_bulk,
+ usb_redir_type_interrupt,
+ usb_redir_type_invalid = 255
+}
+
struct usb_redir_ep_info_header {
uint8_t type[32];
uint8_t interval[32];