Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

USB: uapi: add BULK_MAX_PACKET_UPDATE

The spec for Embedded USB2 Version 2.0 adds a new feature
request. This needs to be added to uapi for monitoring.

Signed-off-by: Oliver Neukum <oneukum@suse.com>
Link: https://patch.msgid.link/20260319144715.2957358-2-oneukum@suse.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Oliver Neukum and committed by
Greg Kroah-Hartman
dd13bda7 ee90b493

+11 -9
+11 -9
include/uapi/linux/usb/ch9.h
··· 123 123 * are at most sixteen features of each type.) Hubs may also support a 124 124 * new USB_REQ_TEST_AND_SET_FEATURE to put ports into L1 suspend. 125 125 */ 126 - #define USB_DEVICE_SELF_POWERED 0 /* (read only) */ 127 - #define USB_DEVICE_REMOTE_WAKEUP 1 /* dev may initiate wakeup */ 128 - #define USB_DEVICE_TEST_MODE 2 /* (wired high speed only) */ 129 - #define USB_DEVICE_BATTERY 2 /* (wireless) */ 130 - #define USB_DEVICE_B_HNP_ENABLE 3 /* (otg) dev may initiate HNP */ 131 - #define USB_DEVICE_WUSB_DEVICE 3 /* (wireless)*/ 132 - #define USB_DEVICE_A_HNP_SUPPORT 4 /* (otg) RH port supports HNP */ 133 - #define USB_DEVICE_A_ALT_HNP_SUPPORT 5 /* (otg) other RH port does */ 134 - #define USB_DEVICE_DEBUG_MODE 6 /* (special devices only) */ 126 + #define USB_DEVICE_SELF_POWERED 0 /* (read only) */ 127 + #define USB_DEVICE_REMOTE_WAKEUP 1 /* dev may initiate wakeup */ 128 + #define USB_DEVICE_TEST_MODE 2 /* (wired high speed only) */ 129 + #define USB_DEVICE_BATTERY 2 /* (wireless) */ 130 + #define USB_DEVICE_B_HNP_ENABLE 3 /* (otg) dev may initiate HNP */ 131 + #define USB_DEVICE_WUSB_DEVICE 3 /* (wireless)*/ 132 + #define USB_DEVICE_A_HNP_SUPPORT 4 /* (otg) RH port supports HNP */ 133 + #define USB_DEVICE_A_ALT_HNP_SUPPORT 5 /* (otg) other RH port does */ 134 + #define USB_DEVICE_DEBUG_MODE 6 /* (special devices only) */ 135 + 136 + #define USB_DEVICE_BULK_MAX_PACKET_UPDATE 8 /* (eUSB2v2) bump maxpacket to 1024 */ 135 137 136 138 /* 137 139 * Test Mode Selectors