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

Chapter 8

 

Wire Adapter

Wireless Universal Serial Bus Specification, Revision 1.0

8.5.2.8 Notification Endpoint Descriptor

This endpoint is used to report all the Wireless USB Device Notifications received by the HWA, Wire Adapter status and transfer completion notifications.

Table 8-46. 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

Bitmap

Interrupt endpoint of 00000011b.

4

wMaxPacketSize

2

40H

Maximum packet size for this endpoint

 

 

 

 

 

6

bInterval

1

1

Interval for polling endpoint for data transfers.

 

 

 

 

Expressed in frames or microframes depending on

 

 

 

 

the device operating speed (i.e., either 1 millisecond

 

 

 

 

or 125 μs units).

 

 

 

 

 

8.5.2.9 Data Transfer Write Endpoint Descriptor

Table 8-47. 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

BULK endpoint of 00000010b.

 

 

 

 

 

4

wMaxPacketSize

2

Number

Maximum packet size this endpoint

 

 

 

 

 

6

bInterval

1

0

Polling not supported.

 

 

 

 

 

8.5.2.10Data Transfer Read Endpoint Descriptor

Table 8-48. 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

BULK endpoint of 00000010b.

 

 

 

 

 

4

wMaxPacketSize

2

Number

Maximum packet size this endpoint

6

bInterval

1

0

Polling not supported.

 

 

 

 

 

240

Chapter 8

 

Wire Adapter

Wireless Universal Serial Bus Specification, Revision 1.0

8.5.2.11Wire Adapter RPipe Descriptor

The Wire Adapter RPipe descriptors are not returned as part of the configuration descriptor for an HWA. Host software can get each RPipe descriptor by sending a Get RPipe Descriptor (See Section 8.3.1.4) request to the HWA. The format of the Wire Adapter RPipe descriptor and the description of the fields are given in Table 8-49.

Table 8-49. Wire Adapter RPipe Descriptor

Offset

Field

Size

Value

 

Description

 

 

 

 

 

0

bLength

1

1CH

Size of this descriptor in bytes, including this field.

 

 

 

 

This is a read only field.

1

bDescriptorType

1

22H

Wire Adapter RPipe Descriptor Type. This is a read

 

 

 

 

only field.

 

 

 

 

 

 

2

wRPipeIndex

2

Number

Number of this RPipe. Zero-based value identifying

 

 

 

 

the index in the array of concurrent RPipes

 

 

 

 

supported by this Wire Adapter. This is a read only

 

 

 

 

field.

 

 

 

 

 

 

4

wRequests

2

Number

The number of concurrent requests that can be

 

 

 

 

assigned to this RPipe. This is a read only field.

 

 

 

 

 

6

wBlocks

2

Number

The number of buffer blocks assigned to this RPipe.

 

 

 

 

If the value in this field is zero then the Set RPipe

 

 

 

 

Descriptor request can be used to set the number of

 

 

 

 

blocks to be assigned to this RPipe.

 

 

 

 

If the value in this field is not zero then the number

 

 

 

 

of blocks assigned to this RPipe cannot be changed

 

 

 

 

by host software.

 

 

 

 

This field may be modified by host software if this is

 

 

 

 

set to zero.

 

 

 

 

 

 

8

wMaxPacketSize

2

Number

Maximum packet size that this RPipe will use to

 

 

 

 

communicate with attached device.

10

bHSHubAddress

1

Number

Reserved and must be set to zero.

 

 

 

 

 

11

bHSHubPort

1

Number

This field specifies the device index where the

 

 

 

 

device information buffer is present.

 

 

 

 

 

12

bSpeed

1

Number

The PhyRate at which to communicate with the

 

 

 

 

endpoint targeted by RPipe. The value and the

 

 

 

 

associated rate is given in Section 5.6.

13

bDeviceAddress

1

Number

Address of the attached device

 

 

 

 

 

14

bEndpointAddress

1

Number

Endpoint Address to be used with this RPipe.

 

 

 

 

Bit

Description

 

 

 

 

3:0

The endpoint number

 

 

 

 

6:4

Reserved; set to zero

 

 

 

 

7

Direction, ignored for control

 

 

 

 

 

endpoints

 

 

 

 

 

0 = OUT endpoint

 

 

 

 

 

1 = IN endpoint

 

 

 

 

 

 

241

Chapter 8

 

Wire Adapter

Wireless Universal Serial Bus Specification, Revision 1.0

Table 8-49. Wire Adapter RPipe Descriptor (cont.)

Offset

Field

Size

Value

 

Description

 

 

 

 

 

15

bDataSequence

1

Number

Current data sequence. This is the next data

 

 

 

 

sequence value to be used when sending data to

 

 

 

 

the endpoint that this RPipe is targeted at.

 

 

 

 

 

16

dwCurrentWindow

4

Number

Current Window used for data sequence

 

 

 

 

management and burst transfers.

20

bMaxDataSequence

1

Number

Maximum sequence number that the endpoint

 

 

 

 

supports. Valid values are 1 through 31.

 

 

 

 

 

21

bInterval

1

Number

For Interrupt transfers this is the polling interval to

 

 

 

 

be used by this RPipe in downstream

 

 

 

 

communications

 

 

 

 

 

For Isochronous transfers this is the logical service

 

 

 

 

interval.

 

 

 

 

 

 

See bInterval in Table 7-31

 

 

 

 

 

22

bOverTheAirInterval

1

Number

If the transfer type is Isochronous, then this field is

 

 

 

 

the interval for polling the downstream endpoint.

 

 

 

 

This field is Reserved and must be set to zero for all

 

 

 

 

other transfer types.

 

 

 

 

 

See bOverTheAirInterval in Table 7-32 for the

 

 

 

 

encoding of this field.

 

 

 

 

 

 

 

23

bmAttribute

1

Bitmap

Bit

Description

 

 

 

 

1:0

Value

Transfer Type

 

 

 

 

 

00B

Control

 

 

 

 

 

01B

Isochronous

 

 

 

 

 

10B

Bulk

 

 

 

 

 

11B

Interrupt

 

 

 

 

4:2

Transmit Power

 

 

 

 

 

See Section 5.2.1.2 for details on the

 

 

 

 

 

use of this field.

 

 

 

 

7:5

Data Burst Preamble Policy

 

 

 

 

 

See Table 5-7 for the encoding of

 

 

 

 

 

this field.

 

242

Chapter 8

 

Wire Adapter

Wireless Universal Serial Bus Specification, Revision 1.0

Table 8-49. Wire Adapter RPipe Descriptor (cont.)

Offset

Field

Size

Value

 

Description

 

 

 

 

 

24

bmCharacteristics

1

Bitmap

Transfer types supported on this RPipe

 

 

 

 

Bit

Description

 

 

 

 

0

1: Control Transfer supported

 

 

 

 

 

0: Control Transfer NOT supported

 

 

 

 

1

1: Isochronous Transfer supported

 

 

 

 

 

0: Isochronous Transfer NOT

 

 

 

 

 

supported

 

 

 

 

2

1: Bulk Transfer supported

 

 

 

 

 

0: Bulk Transfer NOT supported

 

 

 

 

3

1: Interrupt Transfer supported

 

 

 

 

 

0: Interrupt Transfer NOT

 

 

 

 

 

supported

 

 

 

 

7:4

Reserved

 

 

 

 

This is a read only field.

 

 

 

 

 

 

25

bmRetryOptions

1

Bitmap

Bit

Description

 

 

 

 

3:0

Max Retry Count. The maximum

 

 

 

 

 

number of times a transaction must

 

 

 

 

 

be retried before the transfer request

 

 

 

 

 

is failed.

 

 

 

 

 

The valid values are 0 through 15. A

 

 

 

 

 

value of zero in this field indicates

 

 

 

 

 

that the HWA must not count errors

 

 

 

 

 

and there is no limit on the retries.

 

 

 

 

 

For Isochronous transfers this field is

 

 

 

 

 

set to zero.

 

 

 

 

6:4

Reserved

 

 

 

 

7

Low Power Interrupt. If this bit is

 

 

 

 

 

set, then this is a low power interrupt

 

 

 

 

 

endpoint and the MaxRetryCount

 

 

 

 

 

field is ignored.

26

wNumTransactionErrors

2

Number

The HWA increments this field when it encounters

 

 

 

 

an error while performing transactions to the

 

 

 

 

downstream endpoint targeted by this RPipe.

 

 

 

 

The host is responsible for resetting this field.

 

 

 

 

 

 

All fields that are not marked read only may be changed by host software by using the Set RPipe Descriptor request.

243

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