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

Chapter 8

 

Wire Adapter

Wireless Universal Serial Bus Specification, Revision 1.0

Table 8-21. Wire Adapter Class Descriptor (cont.)

Offset

Field

Size

Value

 

Description

 

 

 

 

 

13

DeviceRemovable

Variable

Bitmap

Indicates if a port has a removable device attached.

 

 

 

 

This field is reported on byte-granularity. Within a

 

 

 

 

byte, if no port exists for a given location, the field

 

 

 

 

representing the port characteristics returns 0.

 

 

 

 

Bit value definition:

 

 

 

 

0B

Device is removable.

 

 

 

 

1B

Device is non-removable

 

 

 

 

This is a bitmap corresponding to the individual

 

 

 

 

ports on the hub:

 

 

 

 

Bit 0

Reserved.

 

 

 

 

Bit 1

Port 1

 

 

 

 

Bit 2

Port 2

 

 

 

 

....

 

 

 

 

 

Bit n

Port n (implementation-dependent, up to a

 

 

 

 

maximum of 127 ports).

 

 

 

 

 

 

8.4.3.8 Notification Endpoint Descriptor

This endpoint is used to report port status change, Wire Adapter status and transfer completion notifications.

Table 8-22. Notification Endpoint Descriptor

Offset

Field

Size

Value

Description

 

 

 

 

 

0

bLength

1

7

Size of this descriptor in bytes, including this field.

 

 

 

 

 

1

bDescriptorType

1

5

ENDPOINT Descriptor Type

 

 

 

 

 

2

bEndpointAddress

1

Number

The address of this endpoint

 

 

 

 

 

3

bmAttributes

1

03H

Normal power interrupt endpoint

 

 

 

 

 

4

wMaxPacketSize

2

200H

Maximum packet size of this endpoint

 

 

 

 

 

6

bInterval

1

6

Interval for polling endpoint for data transfers. See

 

 

 

 

Section 7.4.3.

8.4.3.9 Notification Endpoint Companion Descriptor

Table 8-23. Notification Endpoint Companion Descriptor

Offset

Field

Size

Value

Description

 

 

 

 

 

0

bLength

1

0AH

Size of this descriptor in bytes

 

 

 

 

 

1

bDescriptorType

1

17

WIRELESS_ENDPOINT_COMPANION Descriptor

 

 

 

 

Type

 

 

 

 

 

2

bMaxBurst

1

1

The max burst size of this endpoint

 

 

 

 

 

3

bMaxSequence

1

Number

The maximum sequence used for data bursting.

 

 

 

 

Valid values are in the range 2 to 32.

 

 

 

 

 

4

wMaxStreamDelay

2

00H

Maximum supported stream delay.

 

 

 

 

The field is reserved and not used for Interrupt

 

 

 

 

endpoints.

222

Chapter 8

 

Wire Adapter

Wireless Universal Serial Bus Specification, Revision 1.0

Table 8-23. Notification Endpoint Companion Descriptor (cont.)

Offset

Field

Size

Value

Description

 

 

 

 

 

6

wOverTheAirPacketSize

2

00H

Maximum packet size this endpoint is capable of

 

 

 

 

receiving over the air.

 

 

 

 

The field is reserved and not used for Interrupt

 

 

 

 

endpoints.

 

 

 

 

 

8

bOverTheAirInterval

1

00H

Interval for polling endpoint for data transfers.

 

 

 

 

The field is reserved and not used for Interrupt

 

 

 

 

endpoints.

 

 

 

 

 

9

bmCompAttributes

1

00H

The field is reserved and not used for Interrupt

 

 

 

 

endpoints.

 

 

 

 

 

8.4.3.10Data Transfer Write Endpoint Descriptor

Table 8-24. Data Transfer Write Endpoint Descriptor

Offset

Field

Size

Value

Description

 

 

 

 

 

0

bLength

1

7

Size of this descriptor in bytes, including this field.

 

 

 

 

 

1

bDescriptorType

1

5

ENDPOINT Descriptor Type

 

 

 

 

 

2

bEndpointAddress

1

Number

The address of this endpoint

 

 

 

 

 

3

bmAttributes

1

Bitmap

X0000010b.

 

 

 

 

Bit 7 is set if Data packet size adjustment supported

 

 

 

 

on this Wire Adapter

 

 

 

 

 

4

wMaxPacketSize

2

Number

Maximum packet size of this endpoint

 

 

 

 

 

6

bInterval

1

0

Polling not supported.

 

 

 

 

 

8.4.3.11Data Transfer Write Endpoint Companion Descriptor

Table 8-25. Data Transfer Write Endpoint Companion Descriptor

Offset

Field

Size

Value

Description

 

 

 

 

 

0

bLength

1

0AH

Size of this descriptor in bytes

 

 

 

 

 

1

bDescriptorType

1

17

WIRELESS_ENDPOINT_COMPANION Descriptor

 

 

 

 

Type

 

 

 

 

 

2

bMaxBurst

1

Number

The max burst size of this endpoint

3

bMaxSequence

1

Number

The maximum sequence used for data bursting.

 

 

 

 

Valid values are in the range 2 to 32.

 

 

 

 

 

4

wMaxStreamDelay

2

00H

Maximum supported stream delay.

 

 

 

 

The field is reserved and not used for Bulk

 

 

 

 

endpoints.

 

 

 

 

 

6

wOverTheAirPacketSize

2

00H

Maximum packet size this endpoint is capable of

 

 

 

 

receiving over the air.

 

 

 

 

The field is reserved and not used for Bulk

 

 

 

 

endpoints.

8

bOverTheAirInterval

1

00H

Interval for polling endpoint for data transfers.

 

 

 

 

The field is reserved and not used for Bulk

 

 

 

 

endpoints.

9

bmCompAttributes

1

00H

The field is reserved and not used for Bulk

 

 

 

 

endpoints.

223

Chapter 8

 

Wire Adapter

Wireless Universal Serial Bus Specification, Revision 1.0

8.4.3.12Data Transfer Read Endpoint Descriptor

Table 8-26. Data Transfer Read Endpoint Descriptor

Offset

Field

Size

Value

Description

 

 

 

 

 

0

bLength

1

7

Size of this descriptor in bytes, including this field.

 

 

 

 

 

1

bDescriptorType

1

5

ENDPOINT Descriptor Type

 

 

 

 

 

2

bEndpointAddress

1

Number

The address of this endpoint

 

 

 

 

 

3

bmAttributes

1

Bitmap

X0000010b.

 

 

 

 

Bit 7 is set if Data packet size adjustment supported

 

 

 

 

on this Wire Adapter

 

 

 

 

 

4

wMaxPacketSize

2

Number

Maximum packet size of this endpoint

 

 

 

 

 

6

bInterval

1

0

Polling not supported.

 

 

 

 

 

8.4.3.13Data Transfer Read Endpoint Companion Descriptor

Table 8-27. Data Transfer Read Endpoint Companion Descriptor

Offset

Field

Size

Value

Description

 

 

 

 

 

0

bLength

1

0AH

Size of this descriptor in bytes

 

 

 

 

 

1

bDescriptorType

1

17

WIRELESS_ENDPOINT_COMPANION Descriptor

 

 

 

 

Type

 

 

 

 

 

2

bMaxBurst

1

Number

The max burst size of this endpoint

 

 

 

 

 

3

bMaxSequence

1

Number

The maximum sequence used for data bursting.

 

 

 

 

Valid values are in the range 2 to 32.

 

 

 

 

 

4

wMaxStreamDelay

2

00H

Maximum supported stream delay.

 

 

 

 

The field is reserved and not used for Bulk

 

 

 

 

endpoints.

 

 

 

 

 

6

wOverTheAirPacketSize

2

00H

Maximum packet size this endpoint is capable of

 

 

 

 

receiving over the air.

 

 

 

 

The field is reserved and not used for Bulk

 

 

 

 

endpoints.

 

 

 

 

 

8

bOverTheAirInterval

1

00H

Interval for polling endpoint for data transfers.

 

 

 

 

The field is reserved and not used for Bulk

 

 

 

 

endpoints.

 

 

 

 

 

9

bmCompAttributes

1

00H

The field is reserved and not used for Bulk

 

 

 

 

endpoints.

 

 

 

 

 

224

Chapter 8

 

Wire Adapter

Wireless Universal Serial Bus Specification, Revision 1.0

8.4.3.14Isochronous Streaming Interface Descriptor

This interface and its associated descriptors are optional. They are only present on Device Wire Adapters that support isochronous endpoints on downstream devices.

Table 8-28. Isochronous Streaming Interface Descriptor

Offset

Field

Size

Value

Description

 

 

 

 

 

0

bLength

1

9

Size of this descriptor in bytes, including this field.

 

 

 

 

 

1

bDescriptorType

1

4

INTERFACE Descriptor Type

2

bInterfaceNumber

1

1

Number of this interface.

 

 

 

 

 

3

bAlternateSetting

1

0

Value used to select this alternate setting for the

 

 

 

 

interface identified in the prior field

 

 

 

 

 

4

bNumEndpoints

1

Number

Number of endpoints used by this interface.

 

 

 

 

Legal values are 1 through 28.

 

 

 

 

 

5

bInterfaceClass

1

E0H

Wireless Controller

 

 

 

 

 

6

bInterfaceSubclass

1

02H

Wireless USB Wire Adapter

 

 

 

 

 

7

bInterfaceProtocol

1

03H

Device Wire Adapter Isochronous Streaming

 

 

 

 

Interface

 

 

 

 

 

8

iInterface

1

Index

Index of String Descriptor describing this interface

 

 

 

 

 

8.4.3.15Isochronous Streaming OUT Endpoint Descriptor

Table 8-29. Isochronous Streaming OUT Endpoint Descriptor

Offset

Field

Size

Value

Description

 

 

 

 

 

0

bLength

1

7

Size of this descriptor in bytes, including this field.

 

 

 

 

 

1

bDescriptorType

1

5

ENDPOINT Descriptor Type

 

 

 

 

 

2

bEndpointAddress

1

Number

The address of this endpoint

 

 

 

 

 

3

bmAttributes

1

01H

Isochronous endpoint.

 

 

 

 

 

4

wMaxPacketSize

2

Number

The logical MaxPacketSize must be set to the same

 

 

 

 

value as the-over-the air MaxPacketSize.

6

bInterval

1

0

The logical service Interval must be set to the same

 

 

 

 

value as the over-the-air service interval.

225

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