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

Chapter 8

 

Wire Adapter

Wireless Universal Serial Bus Specification, Revision 1.0

Table 8-2. HWA Suspend Resume Requirements

HWA Upstream

HWA

Requirement

Event

Effect

State

Downstream

 

 

 

 

State

 

 

 

 

Awake

Normal Operation

 

 

 

 

 

 

 

 

 

Before sleeping, send at least 3

 

 

 

Host Sleep

MMCs with Channel Stop IE

Any event

Ignore

 

with remote wakeup bit set to

 

 

 

 

Active

 

0B

 

 

 

 

 

 

 

 

Wake up at least once every

Remote Wake

Start Channel

 

 

TrustTimeout period

 

 

Notification or

 

Host Sleep+

Send at least 3 MMCs with

Send DN Receive

 

DN_Connect or

 

 

Channel Stop IE with remote

Notification

 

 

DN_Disconnect

 

 

wakeup bit set to 1B

 

 

 

 

 

 

 

 

 

 

 

 

Before sleeping, send at least 3

 

 

 

Host Sleep

MMCs with Channel Stop IE

Any event

Ignore

 

with remote wakeup bit set to

 

 

 

 

 

 

0B

 

 

Suspended

 

 

 

 

 

Wake up at least once every

Remote Wake

Resume Signaling on

 

 

 

 

TrustTimeout period

upstream port

 

 

Notification or

 

Host Sleep+

Send at least 3 MMCs with

Start Channel

 

DN_Connect or

 

 

Channel Stop IE with remote

Send DN Receive

 

 

DN_Disconnect

 

 

wakeup bit set to 1B

Notification

 

 

 

 

 

 

 

 

8.1.11 Reset Behavior

A Host Wire Adapter can be reset through the upstream USB bus with standard signaling. After reset, HWA clears all the status, state machines and registers and sets default values in the descriptors.

A Device Wire Adapter can be reset either by sending it a SetAddress (0) command or by sending it a Wireless USB Reset Device IE. After reset, DWA clears all the status, state machines and registers and sets default values in the descriptors. Though this is implementation dependent, it may wait for user interaction before trying to find an available host.

To reset just the host controller in a Wire Adapter, the host issues the class specific Set Feature(WIRE_ADAPTER_RESET) request.

8.1.12 Device Control

Host software can enable, disable and/or reset the host controller in a Wire Adapter device using the Set/Clear Wire Adapter Feature requests. See Section 8.3.1.3 and Section 8.3.1.9 for details on these commands.

In addition, host software can query the Wire Adapter host controller status using the Get Wire Adapter Status command described in Section 8.3.1.6.

8.1.13 Buffer Configuration

A Wire Adapter must have buffers to store the data received on its upstream port for OUT transfers and for the data received from downstream devices for IN transfers. This buffer consists of one or more buffer blocks. The size of each buffer block is described in the Wire Adapter Class Descriptor and the number of the blocks for each RPipe is described in the RPipe’s Descriptor.

The size of each block is implementation dependent. The number of buffer blocks per RPipe may be fixed by the Wire Adapter implementation; in this case the number is a read only field and cannot be changed in the RPipe Descriptor. This is suitable for a Wire Adapter implementation for permanently attached devices or

204

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