From fa9b7c27b3e1607b6dc03a081b4f5de97f81cd7d Mon Sep 17 00:00:00 2001 From: Sarah Sharp Date: Fri, 25 Apr 2008 16:46:45 -0700 Subject: [PATCH] --- yaml --- r: 95795 b: refs/heads/master c: 35e5437e8c8cd013e1e573ac4671d556819edbcb h: refs/heads/master i: 95793: e754f55d59bbddff0748b044be450aba2c3b1ab5 95791: 911a7d7d7bbd11e12d3372b3950bbabf75f54c10 v: v3 --- [refs] | 2 +- trunk/include/linux/usb/ch9.h | 12 +++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 184995cf5aa0..e8872cea503c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 6e1ab3ed825418320319f44af1b990c9c3f4c45b +refs/heads/master: 35e5437e8c8cd013e1e573ac4671d556819edbcb diff --git a/trunk/include/linux/usb/ch9.h b/trunk/include/linux/usb/ch9.h index 7e0d3084f76c..73a2f4eb1f7a 100644 --- a/trunk/include/linux/usb/ch9.h +++ b/trunk/include/linux/usb/ch9.h @@ -455,7 +455,7 @@ struct usb_encryption_descriptor { /*-------------------------------------------------------------------------*/ -/* USB_DT_BOS: group of wireless capabilities */ +/* USB_DT_BOS: group of device-level capabilities */ struct usb_bos_descriptor { __u8 bLength; __u8 bDescriptorType; @@ -501,6 +501,16 @@ struct usb_wireless_cap_descriptor { /* Ultra Wide Band */ __u8 bReserved; } __attribute__((packed)); +#define USB_CAP_TYPE_EXT 2 + +struct usb_ext_cap_descriptor { /* Link Power Management */ + __u8 bLength; + __u8 bDescriptorType; + __u8 bDevCapabilityType; + __u8 bmAttributes; +#define USB_LPM_SUPPORT (1 << 1) /* supports LPM */ +} __attribute__((packed)); + /*-------------------------------------------------------------------------*/ /* USB_DT_WIRELESS_ENDPOINT_COMP: companion descriptor associated with