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

Chapter 8

 

Wire Adapter

Wireless Universal Serial Bus Specification, Revision 1.0

tagged with a unique identifier, in order to allow host software to match returned status and possibly IN data with the client request.

8.1.9.5 Interrupt Transfer Overview

Interrupt IN-bound and OUT-bound Remote Pipes have interface and data transfer semantics essentially identical to the Bulk IN/OUT model described in Sections 8.1.9.2 and 8.1.9.3. The only difference is that each Remote Pipe is typed as an Interrupt and includes an additional attribute that indicates the period at which the endpoint should be provided service. The Wire Adapter has full freedom to determine the actual servicing of the endpoint, as long as it is at least as frequent as the period requested by the bInterval field in the Remote Pipe descriptor.

8.1.9.6 Isochronous Transfer Overview

An overview of Isochronous streaming support is provided in Section 8.5.1 for an HWA and Section 8.4.2 for a DWA.

8.1.10 Suspend and Resume

Wire Adapters are bridges between Wired and Wireless USB buses. Wire Adapters must support suspend and resume both as a device and in terms of propagating suspend/resume events between the busses it bridges.

8.1.10.1DWA Suspend and Resume

A Device Wire Adapter uses the mechanisms defined in Section 4.16 to manage its power consumption. Depending on the state of the Host (Wireless Host State) it is connected to and the state the DWA is in (DWA Upstream State) the DWA might decide to go to sleep. Table 8-1 provides the requirements of a DWA when it wants to go to sleep and what it must do to stay in the Sleep state for each combination of these states.

A DWA is a bridge device in a USB hierarchy (i.e. it has a Wireless USB bus upstream and a Wired USB 2.0 bus downstream). The suspend resume management model for a DWA is derived directly from the USB 2.0 model defined in Section 7.1.7.7 of reference [1]. A summary of this model is: a DWA must always attempt to propagate resume signaling, regardless of whether it has been enabled for remote wake itself. It will turn other events into remote wake signaling if and only if it has been enabled for remote wake. A DWA must always serve as the Controlling Hub in response to resume signaling from a downstream device. Table 8-1 summarizes the DWA operational requirements to meet this model. The Event column lists the wake events and the Effect column indicates the action a DWA must take when it detects the wake event for each combination of Wireless Host State and DWA Upstream State. The Requirement column describes DWA behavior while no downstream wake events occur.

202

Chapter 8

 

Wire Adapter

Wireless Universal Serial Bus Specification, Revision 1.0

Table 8-1. DWA Suspend/Resume Requirements

Wireless Host

DWA

Requirement

Event

Effect

State

Upstream

 

 

 

 

State

 

 

 

 

Awake

Normal Operation

 

 

 

 

 

 

 

 

 

Wake up at least once every

 

If the event originated from a

Awake

Sleep/

 

suspended downstream port

TrustTimeout period

Any event

then resume downstream port.

 

Sleep+Note 1

Send sleep notification (Want to

Send Reconnect or DN_Alive

 

 

 

 

Sleep) to host

 

as per Section 4.16.1.2

 

 

 

 

Send event notification to host

Host Sleep Note 2

 

Wake up at least once every

 

 

Sleep

TrustTimeout period

Any event

Ignore

 

 

Check for host awake

 

 

 

 

 

 

 

 

 

Wake up at least once every

Resume

Resume downstream port

 

Sleep

TrustTimeout period

Host Sleep+ Note 3

 

Check for host awake

Signaling

Send Remote Wake Notification

 

 

Send Reconnect request

 

 

 

 

Wake up at least once every

 

 

 

Any wake

Send wake event notification to

 

Sleep+

TrustTimeout period

host

 

event

 

 

Check for host awake

 

 

 

 

 

 

 

 

 

 

Note 1 Device is sleeping with remote wake enabled

 

 

Note 2 Host Sleep is where host has stopped the Wireless USB channel

Note 3 Host Sleep+ has stopped the Wireless USB channel, but will resume the Wireless USB channel on a periodic basis in order to provide opportunities for remote-wake enabled devices to signal remote wake.

8.1.10.2HWA Suspend and Resume

A Host Wire Adapter’s upstream power state, like any USB 2.0 device, is managed by the Host. An HWA may be active or suspended (HWA Upstream State) depending on whether it observes SOFs on its upstream port. Further an HWA may be directed to start or stop the Wireless USB Channel (HWA Downstream State) and either enabled or disabled for remote wakeup by the driver for the HWA. Table 8-2 provides the HWA requirements as a Wireless USB Channel Host for legal combinations of HWA Upstream and Downstream State.

An HWA is a bridge device in a USB hierarchy (i.e. it has a Wired USB 2.0 bus upstream and a Wireless USB ‘bus’ downstream). The suspend resume management model for an HWA is derived directly from the USB 2.0 model defined in Section 7.1.7.7 of reference [1]. A summary of this model is: an HWA must always attempt to propagate resume signaling, regardless of whether it has been enabled for remote wake itself. It will turn other events into remote wake signaling if and only if it has been enabled for remote wake. An HWA must always serve as the Controlling Hub in response to resume signaling from a downstream device. Table 8-2 summarizes the HWA operational requirements to meet this model. The Event column lists the wake events and the Effect column indicates the action an HWA must take when it detects the wake event for legal combinations of HWA Upstream and Downstream State. The Requirement column describes HWA behavior while no downstream wake events occur.

203

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