Скачиваний:
31
Добавлен:
02.05.2014
Размер:
3.51 Mб
Скачать

Appendix B

 

Wire Adapter Example Descriptor Sets

Wireless Universal Serial Bus Specification, Revision 1.0

Endpoint Companion Descriptor (for Isochronous Streaming OUT Endpoint)

 

bLength

0AH

 

bDescriptorType

11H (Wireless Endpoint Companion)

 

bMaxBurst

Implementation-dependent

 

 

 

 

bMaxSequence

Implementation-dependent

 

wMaxStreamDelay

Implementation-dependent

 

wOverTheAirPacketSize

Implementation-dependent

 

 

 

 

bOverTheAirInterval

0

 

bmCompAttributes

02H (Continuously scalable dynamic switching)

Endpoint Descriptor (for Isochronous Streaming IN Endpoint):

 

 

 

 

bLength

07H

 

bDescriptorType

05H (Endpoint)

 

bEndpointAddress

Implementation-dependent; Bit 7: Direction = In(1)

 

 

 

 

bmAttributes

Transfer Type = Isochronous (00000001B)

 

wMaxPacketSize

Implementation-dependent

 

bInterval

Implementation-dependent

 

 

 

Endpoint Companion Descriptor (for Isochronous Streaming IN Endpoint)

 

 

 

 

bLength

0AH

 

bDescriptorType

11H (Wireless Endpoint Companion)

 

 

 

 

bMaxBurst

Implementation-dependent

 

bMaxSequence

Implementation-dependent

 

wMaxStreamDelay

Implementation-dependent

 

 

 

 

wOverTheAirPacketSize

Implementation-dependent

 

bOverTheAirInterval

0

 

bmCompAttributes

02H (Continuously scalable dynamic switching)

 

 

 

B.2 Descriptors for HWA

The sample descriptor set below is for an HWA operating on a high-speed USB 2.0 bus, which can connect up to 16 devices simultaneously on its downstream Wireless USB bus. This HWA supports one encryption type (AES 128 CCM), has 32 RPipes and 256K of buffer space (block size of 4K and 64 blocks). The HWA also exports a Radio Control Interface to communicate with the UWB radio in the device.

Device Descriptor (high-speed information):

bLength

12H

 

 

 

 

bDescriptorType

01H

 

bcdUSB

0200H (USB 2.0 compliant)

bDeviceClass

EFH (Miscellaneous)

 

 

 

bDeviceSubClass

02H

(Common Class)

bDeviceProtocol

02H

(Wire Adapter Multifunction Peripheral)

bMaxPacketSize0

64

 

 

 

 

285

Appendix B

 

 

Wire Adapter Example Descriptor Sets

Wireless Universal Serial Bus Specification, Revision 1.0

 

 

 

 

 

idVendor

Implementation-dependent

 

 

idProduct

Implementation-dependent

 

 

 

 

 

 

bcdDevice

Implementation-dependent

 

 

iManufacturer

Implementation-dependent

 

 

iProduct

Implementation-dependent

 

 

 

 

 

 

iSerialNumber

Implementation-dependent

 

 

bNumConfigurations

1

 

Device_Qualifier Descriptor (full-speed information)

bLength

0AH

bDescriptorType

06H

(Device Qualifier)

bcdUSB

0200H (USB 2.0 Compliant)

 

 

bDeviceClass

EFH (Miscellaneous)

bDeviceSubClass

02H

(Common Class)

bDeviceProtocol

02H

(Wire Adapter Multifunction Peripheral)

 

 

 

bMaxPacketSize0

64

 

bNumConfigurations

1

 

bReserved

0

 

 

 

 

286

Appendix B

 

Wire Adapter Example Descriptor Sets

Wireless Universal Serial Bus Specification, Revision 1.0

Security Descriptor (One Encryption Type supported):

bLength

05H

bDescriptorType

0CH (Security)

wTotalLength

0AH

 

 

bNumEncryptionTypes

1

Encryption Type Descriptor (AES-128 in CCM mode):

bLength

05H

 

 

bDescriptorType

0EH (Encryption Type)

bEncryptionType

02H (AES-128 in CCM mode)

bEncryptionValue

Implementation-dependent

 

 

bAuthKeyIndex

Implementation-dependent

Configuration Descriptor (high-speed information)

bLength

09H

 

 

bDescriptorType

02H (Configuration)

wTotalLength

N

bNumInterfaces

2

 

 

bConfigurationValue

Implementation-dependent

iConfiguration

Implementation-dependent

bmAttributes

Implementation-dependent

 

 

bMaxPower

The minimum amount of bus power the HWA will consume

 

in this configuration

Interface Descriptor (Data Transfer Interface):

bLength

09H

 

bDescriptorType

04H

(Interface)

 

 

 

bInterfaceNumber

0

 

bAlternateSetting

0

 

bNumEndpoints

3

 

 

 

 

bInterfaceClass

E0H

 

bInterfaceSubClass

02H

 

bInterfaceProtocol

01H

(Host Wire Adapter)

 

 

iInterface

Implementation-dependent

287

Appendix B

 

Wire Adapter Example Descriptor Sets

Wireless Universal Serial Bus Specification, Revision 1.0

Wire Adapter Class Descriptor:

 

bLength

0EH

 

bDescriptorType

21H (Wire Adapter Descriptor Type)

 

bcdWAVersion

100H (WA Class Specification Version)

 

 

 

 

bNumPorts

16

 

bmAttributes

0

 

wNumRPipes

20H

 

 

 

 

wRPipeMaxBlock

40H

 

bRPipeBlockSize

0DH

 

bPwrOn2PwrGood

0

 

 

 

 

bNumMMCIEs

4

 

DeviceRemovable

0

Endpoint Descriptor (for Notification Endpoint):

 

 

 

 

bLength

07H

 

bDescriptorType

05H (Endpoint)

 

bEndpointAddress

Implementation-dependent; Bit 7: Direction = In(1)

 

 

 

 

bmAttributes

Transfer Type = Interrupt (00000011B)

 

wMaxPacketSize

40H

 

bInterval

1

 

 

 

Endpoint Descriptor (for Data Transfer Write Endpoint):

 

 

 

 

bLength

07H

 

bDescriptorType

05H (Endpoint)

 

 

 

 

bEndpointAddress

Implementation-dependent; Bit 7: Direction = Out(0)

 

bmAttributes

Transfer Type = Bulk (00000010B)

 

wMaxPacketSize

200H

 

 

 

 

bInterval

0

Endpoint Descriptor (for Data Transfer Read Endpoint):

 

 

 

 

bLength

07H

 

 

 

 

bDescriptorType

05H (Endpoint)

 

bEndpointAddress

Implementation-dependent; Bit 7: Direction = In(1)

 

bmAttributes

Transfer Type = Bulk (00000010B)

 

 

 

 

wMaxPacketSize

200H

 

bInterval

0

288

Appendix B

 

Wire Adapter Example Descriptor Sets

Wireless Universal Serial Bus Specification, Revision 1.0

Interface Descriptor (Radio Control Interface Alternate Setting 0):

 

bLength

09H

 

 

bDescriptorType

04H

(Interface)

 

bInterfaceNumber

1

 

 

 

 

 

 

bAlternateSetting

0

 

 

bNumEndpoints

1

 

 

bInterfaceClass

E0H (Wireless Controller)

 

 

 

 

 

bInterfaceSubClass

01H

(RF Controller)

 

bInterfaceProtocol

02H

(UWB Radio Control Interface Programming Interface

 

iInterface

Implementation-dependent

 

 

 

 

Radio Control Interface Class Descriptor:

 

 

 

 

 

bLength

04H

 

 

 

 

bDescriptorType

23H (Radio Control Descriptor Type)

 

 

 

 

bcdRCIVersion

0100H (Radio Control Interface Version)

 

 

 

Endpoint Descriptor (for Radio Control Interrupt Endpoint):

 

 

 

 

 

bLength

07H

 

 

 

 

 

 

bDescriptorType

05H

(Endpoint)

 

bEndpointAddress

Implementation-dependent; Bit 7: Direction = In(1)

 

bmAttributes

Transfer Type = Interrupt (00000011B)

 

 

 

 

 

wMaxPacketSize

00H

 

 

bInterval

1

 

Interface Descriptor (Radio Control Interface Alternate Setting 1):

 

 

 

 

 

bLength

09H

 

 

bDescriptorType

04H

(Interface)

 

 

 

 

 

bInterfaceNumber

1

 

 

 

 

 

 

bAlternateSetting

1

 

 

bNumEndpoints

1

 

 

 

 

 

bInterfaceClass

E0H (Wireless Controller)

 

 

 

 

 

bInterfaceSubClass

01H

(RF Controller)

 

bInterfaceProtocol

02H

(UWB Radio Control Interface Programming Interface)

 

 

 

 

iInterface

Implementation-dependent

 

 

 

 

Radio Control Interface Class Descriptor:

 

 

 

 

 

bLength

04H

 

 

 

 

bDescriptorType

23H (Radio Control Descriptor Type)

 

 

 

 

bcdRCIVersion

0100H (Radio Control Interface Version)

 

 

 

 

289

Appendix B

 

Wire Adapter Example Descriptor Sets

Wireless Universal Serial Bus Specification, Revision 1.0

Endpoint Descriptor (for Radio Control Interrupt Endpoint):

bLength

07H

bDescriptorType

05H (Endpoint)

bEndpointAddress

Implementation-dependent; Bit 7: Direction = In(1)

 

 

bmAttributes

Transfer Type = Interrupt (00000011B)

wMaxPacketSize

200H

bInterval

1

 

 

Other_Speed_Configuration Descriptor (full-speed information)

bLength

09H

bDescriptorType

07H (Other Speed Configuration)

 

 

wTotalLength

N

bNumInterfaces

2

bConfigurationValue

Implementation-dependent

 

 

iConfiguration

Implementation-dependent

bmAttributes

Implementation-dependent

bMaxPower

The minimum amount of bus power the HWA will consume

 

in full-speed configuration

Interface Descriptor (Data Transfer Interface):

bLength

09H

 

bDescriptorType

04H

(Interface)

bInterfaceNumber

0

 

 

 

 

bAlternateSetting

0

 

bNumEndpoints

3

 

bInterfaceClass

E0H (Wireless Controller)

 

 

 

bInterfaceSubClass

02H

(Wireless USB Wire Adapter)

bInterfaceProtocol

01H

(Host Wire Adapter Control/Data Streaming

 

Programming Interface)

iInterface

Implementation-dependent

290

Appendix B

 

Wire Adapter Example Descriptor Sets

Wireless Universal Serial Bus Specification, Revision 1.0

Wire Adapter Class Descriptor:

 

bLength

0CH

 

 

bDescriptorType

21H

(Wire Adapter Descriptor Type)

 

bcdWAVersion

100H (WA Class Specification Version)

 

 

 

 

 

bNumPorts

16

 

 

bmAttributes

0

 

 

wNumRPipes

20H

 

 

 

 

 

 

wRPipeMaxBlock

40H

 

 

bRPipeBlockSize

0DH

 

 

bPwrOn2PwrGood

0

 

 

 

 

 

 

bNumMMCIEs

4

 

 

DeviceRemovable

0

 

Endpoint Descriptor (for Notification Endpoint):

 

 

 

 

 

bLength

07H

 

 

bDescriptorType

05H

(Endpoint)

 

bEndpointAddress

Implementation-dependent; Bit 7: Direction = In(1)

 

 

 

 

bmAttributes

Transfer Type = Interrupt (00000011B)

 

wMaxPacketSize

40H

 

 

bInterval

1

 

 

 

 

Endpoint Descriptor (for Data Transfer Write Endpoint):

 

 

 

 

 

bLength

07H

 

 

bDescriptorType

05H

(Endpoint)

 

 

 

 

bEndpointAddress

Implementation-dependent; Bit 7: Direction = Out(0)

 

bmAttributes

Transfer Type = Bulk (00000010B)

 

wMaxPacketSize

40H

 

 

 

 

 

 

bInterval

0

 

Endpoint Descriptor (for Data Transfer Read Endpoint):

 

 

 

 

 

bLength

07H

 

 

 

 

 

 

bDescriptorType

05H

(Endpoint)

 

bEndpointAddress

Implementation-dependent; Bit 7: Direction = In(1)

 

bmAttributes

Transfer Type = Bulk (00000010B)

 

 

 

 

 

wMaxPacketSize

40H

 

 

bInterval

0

 

291

Appendix B

 

Wire Adapter Example Descriptor Sets

Wireless Universal Serial Bus Specification, Revision 1.0

Interface Descriptor (Radio Control Interface):

 

bLength

09H

 

 

bDescriptorType

04H

(Interface)

 

bInterfaceNumber

1

 

 

 

 

 

 

bAlternateSetting

0

 

 

bNumEndpoints

1

 

 

bInterfaceClass

E0H (Wireless Controller)

 

 

 

 

 

bInterfaceSubClass

01H

(RF Controller)

 

bInterfaceProtocol

02H

(UWB Radio Control Interface Programming Interface)

 

iInterface

Implementation-dependent

 

 

 

 

Radio Control Interface Class Descriptor:

 

 

 

 

 

bLength

04H

 

 

 

 

bDescriptorType

23H (Radio Control Descriptor Type)

 

 

 

 

bcdRCIVersion

0100H (Radio Control Interface Version)

 

 

 

Endpoint Descriptor (for Radio Control Interrupt Endpoint):

 

 

 

 

 

bLength

07H

 

 

 

 

 

 

bDescriptorType

05H

(Endpoint)

 

bEndpointAddress

Implementation-dependent; Bit 7: Direction = In(1)

 

bmAttributes

Transfer Type = Interrupt (00000011B)

 

 

 

 

 

wMaxPacketSize

64H

 

 

bInterval

1

 

292

Appendix B

 

Wire Adapter Example Descriptor Sets

Wireless Universal Serial Bus Specification, Revision 1.0

293

Соседние файлы в папке Wireless USB Specification Revision 1.0 May 12, 2005