aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/uapi/linux')
-rw-r--r--include/uapi/linux/usb/ch9.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/uapi/linux/usb/ch9.h b/include/uapi/linux/usb/ch9.h
index 252ac16635dc..28bee8d44735 100644
--- a/include/uapi/linux/usb/ch9.h
+++ b/include/uapi/linux/usb/ch9.h
@@ -923,6 +923,12 @@ struct usb_ptm_cap_descriptor {
923 __u8 bDevCapabilityType; 923 __u8 bDevCapabilityType;
924} __attribute__((packed)); 924} __attribute__((packed));
925 925
926/*
927 * The size of the descriptor for the Sublink Speed Attribute Count
928 * (SSAC) specified in bmAttributes[4:0].
929 */
930#define USB_DT_USB_SSP_CAP_SIZE(ssac) (16 + ssac * 4)
931
926/*-------------------------------------------------------------------------*/ 932/*-------------------------------------------------------------------------*/
927 933
928/* USB_DT_WIRELESS_ENDPOINT_COMP: companion descriptor associated with 934/* USB_DT_WIRELESS_ENDPOINT_COMP: companion descriptor associated with