diff options
| author | 2013-06-06 14:06:01 -0500 | |
|---|---|---|
| committer | 2013-06-06 12:14:39 -0700 | |
| commit | ee0218fa43d8d7b113f60299d4f66191e0e2d76b (patch) | |
| tree | b8f4cc455397a1364471fd1bfcc4ca4d5dc3f014 /include/linux/usb/wusb-wa.h | |
| parent | wusbhc: disable suspend and resume on the root hub. (diff) | |
| download | linux-dev-ee0218fa43d8d7b113f60299d4f66191e0e2d76b.tar.xz linux-dev-ee0218fa43d8d7b113f60299d4f66191e0e2d76b.zip | |
USB: wusbcore: add HWA-specific fields to usb_rpipe_descriptor
This patch adds the HWA specific members to struct usb_rpipe_descriptor
and sets them correctly based on the wireless endpoint compananion
descriptor.
Signed-off-by: Thomas Pugliese <thomas.pugliese@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/usb/wusb-wa.h')
| -rw-r--r-- | include/linux/usb/wusb-wa.h | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/include/linux/usb/wusb-wa.h b/include/linux/usb/wusb-wa.h index f9dec37f617b..6be985b2a434 100644 --- a/include/linux/usb/wusb-wa.h +++ b/include/linux/usb/wusb-wa.h @@ -92,11 +92,20 @@ struct usb_rpipe_descriptor { __le16 wRPipeIndex; __le16 wRequests; __le16 wBlocks; /* rw if 0 */ - __le16 wMaxPacketSize; /* rw? */ - u8 bHSHubAddress; /* reserved: 0 */ - u8 bHSHubPort; /* ??? FIXME ??? */ + __le16 wMaxPacketSize; /* rw */ + union { + u8 dwa_bHSHubAddress; /* rw: DWA. */ + u8 hwa_bMaxBurst; /* rw: HWA. */ + }; + union { + u8 dwa_bHSHubPort; /* rw: DWA. */ + u8 hwa_bDeviceInfoIndex; /* rw: HWA. */ + }; u8 bSpeed; /* rw: xfer rate 'enum uwb_phy_rate' */ - u8 bDeviceAddress; /* rw: Target device address */ + union { + u8 dwa_bDeviceAddress; /* rw: DWA Target device address. */ + u8 hwa_reserved; /* rw: HWA. */ + }; u8 bEndpointAddress; /* rw: Target EP address */ u8 bDataSequence; /* ro: Current Data sequence */ __le32 dwCurrentWindow; /* ro */ |
