]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
USB: uapi: add BULK_MAX_PACKET_UPDATE
authorOliver Neukum <oneukum@suse.com>
Thu, 19 Mar 2026 14:46:24 +0000 (15:46 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 30 Mar 2026 14:55:36 +0000 (16:55 +0200)
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>
include/uapi/linux/usb/ch9.h

index 62771e38a83d4357935049b33dd9d7e168011a3c..c3e59337837731f0e181a05784e3a3fc5f5dfce8 100644 (file)
  * are at most sixteen features of each type.)  Hubs may also support a
  * new USB_REQ_TEST_AND_SET_FEATURE to put ports into L1 suspend.
  */
-#define USB_DEVICE_SELF_POWERED                0       /* (read only) */
-#define USB_DEVICE_REMOTE_WAKEUP       1       /* dev may initiate wakeup */
-#define USB_DEVICE_TEST_MODE           2       /* (wired high speed only) */
-#define USB_DEVICE_BATTERY             2       /* (wireless) */
-#define USB_DEVICE_B_HNP_ENABLE                3       /* (otg) dev may initiate HNP */
-#define USB_DEVICE_WUSB_DEVICE         3       /* (wireless)*/
-#define USB_DEVICE_A_HNP_SUPPORT       4       /* (otg) RH port supports HNP */
-#define USB_DEVICE_A_ALT_HNP_SUPPORT   5       /* (otg) other RH port does */
-#define USB_DEVICE_DEBUG_MODE          6       /* (special devices only) */
+#define USB_DEVICE_SELF_POWERED                                0       /* (read only) */
+#define USB_DEVICE_REMOTE_WAKEUP                       1       /* dev may initiate wakeup */
+#define USB_DEVICE_TEST_MODE                           2       /* (wired high speed only) */
+#define USB_DEVICE_BATTERY                             2       /* (wireless) */
+#define USB_DEVICE_B_HNP_ENABLE                                3       /* (otg) dev may initiate HNP */
+#define USB_DEVICE_WUSB_DEVICE                         3       /* (wireless)*/
+#define USB_DEVICE_A_HNP_SUPPORT                       4       /* (otg) RH port supports HNP */
+#define USB_DEVICE_A_ALT_HNP_SUPPORT                   5       /* (otg) other RH port does */
+#define USB_DEVICE_DEBUG_MODE                          6       /* (special devices only) */
+
+#define USB_DEVICE_BULK_MAX_PACKET_UPDATE              8       /* (eUSB2v2) bump maxpacket to 1024 */
 
 /*
  * Test Mode Selectors