Upcoming changes will add a USB host (and later gadget) driver for the MCTP-over-USB protocol. Add a header that provides common definitions for protocol support: the packet header format and a few framing definitions. Add a define for the MCTP class code, as per https://usb.org/defined-class-codes.
Showing the changes to include/uapi (1 of 3 files). Show all
Unified · Split
| @@ -330,6 +330,7 @@ struct usb_device_descriptor { · 329 unmodified lines | ||
| 330 | 330 | #define USB_CLASS_AUDIO_VIDEO 0x10 |
| 331 | 331 | #define USB_CLASS_BILLBOARD 0x11 |
| 332 | 332 | #define USB_CLASS_USB_TYPE_C_BRIDGE 0x12 |
| 333 | +#define USB_CLASS_MCTP 0x14 | |
| 333 | 334 | #define USB_CLASS_MISC 0xef |
| 334 | 335 | #define USB_CLASS_APP_SPEC 0xfe |
| 335 | 336 | #define USB_SUBCLASS_DFU 0x01 |