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

Chapter 7

 

Wireless USB Framework

Wireless Universal Serial Bus Specification, Revision 1.0

7.5.3 Wireless USB Channel Change Announcement IE

The Channel Change Announcement IE is used by a host to announce the Wireless USB channel time at which devices must begin listening to a different PHY channel for continuation of the current Wireless USB Channel transmissions. The format of this information element is detailed in Table 7-41.

Table 7-41. Channel Change Announcement Information Element

Offset

Field

Size

Value

Description

 

 

 

 

 

0

bLength

1

Number

Size of this information element (in

 

 

 

 

bytes), including this field.

1

IE Identifier

1

Constant

Information IE Type:

 

 

 

 

WCHCHANGEANNOUNCE_IE for

 

 

 

 

Channel Change Announcement

 

 

 

 

information element.

2

bNewPHYChannelNumber

1

Number

The PHY channel number where the

 

 

 

 

host is moving the Wireless USB

 

 

 

 

Cluster.

3

SwitchTime

3

Timestamp

The time at which the Wireless USB

 

 

 

 

channel will switch to the alternate PHY

 

 

 

 

channel specified in

 

 

 

 

bNewPHYChannelNumber.

The allowable values of bNewPHYChannelNumber depend on the PHY channels supported by the host and the members of its Wireless USB Cluster. Refer to Section 4.10.4 for rules for SwitchTime values and other operational requirements for devices. Refer to 5.6 for a summary about valid values for the bNewPHYChannelNumber field.

Stop Retransmission Condition: the host must cease transmitting this IE after the channel switch has completed.

7.5.4 Wireless USB Device Disconnect IE

The Device Disconnect IE is used to send Disconnect notifications to one or more specific devices. The format of this IE is illustrated in Table 7-42.

Table 7-42. Format of a Wireless USB Device Disconnect IE

Offset

Field

Size

Value

Description

 

 

 

 

 

0

bLength

1

Constant

The size of this IE: 2+N (+ optional 1) bytes, where N

 

 

 

 

is the total number of bDeviceAddresses in this IE

1

IE_Identifier

1

Constant

WDEV_DISCONNECT_IE

 

 

 

 

 

2

bDeviceAddress

N

Array

Array of device addresses (each one byte)

 

 

 

 

 

N+2

bReserved

1

Constant

This is a pad byte that must be added by the host to

 

 

 

 

make the total size of the IE instance be an even

 

 

 

 

multiple of 2 bytes. The value the host puts into this

 

 

 

 

field, when it exists, must NOT match any currently

 

 

 

 

active assigned device address

The purpose of this information element is to allow the host to notify one or more devices that it is being disconnected.

Stop Retransmission Condition: the host will cease transmitting this IE after at least 100 ms have elapsed and it has transmitted at least 3 MMCs that include this IE for the device(s).

179

Chapter 7

 

Wireless USB Framework

Wireless Universal Serial Bus Specification, Revision 1.0

7.5.5 Wireless USB Host Disconnect IE

The Host Disconnect IE is used to send Disconnect notifications to all devices in the cluster. The format of this IE is illustrated in Table 7-43.

Table 7-43. Format of a Wireless USB Host Disconnect IE

Offset

Field

Size

Value

Description

 

 

 

 

 

0

bLength

1

Constant

The size of this IE: 2 bytes

1

IE_Identifier

1

Constant

WHOST_DISCONNECT_IE

The purpose of this information element is to allow the host to notify all devices that they are being disconnected.

Stop Retransmission Condition: the host will cease transmitting this IE after at least 100 ms have elapsed and it has transmitted at least 3 MMCs that include this IE.

7.5.6 Wireless USB Release Channel IE

The Release Channel IE is used to inform non-Wireless USB devices that the host is making the remainder of the current MAC Layer channel reservation block available to them for data communications. This means the host will not be using the channel time for Wireless USB channel data communications. The format of this IE is illustrated in Figure 7-6.

(LSB)

 

 

 

 

(MSB)

1

1

6

6

6

bLength

IE Identifier =

UDRB[0]

UDRB[1]

UDRB[n]

 

WRELEASE_CHANNEL_IE

 

 

 

 

Figure 7-6. Format for Release Channel IE

The bLength field includes the total length of the Release Channel Time information element, including the bLength field. This information element is comprised of one or more Unused DRP Release Blocks (UDRB). Each UDRB allocates Wireless USB channel time for a device to transmit a MAC Layer-defined UDR control packet. Note that a UDR control packet has only a MAC Header and no payload. See reference [3] for details. The format of a UDR Block is illustrated in Table 7-44.

Table 7-44. Unused DRP Release Block for WRELEASE_CHANNEL_IE

Offset

Field

Size

Value

Description

 

 

 

 

 

0

wStart

2

Number

Wireless USB channel time at which the addressed

 

 

 

 

device must transmit a UDR control packet.

2

wDurationValue

2

Number

This is a timestamp provided by the host. The device

 

 

 

 

places significant bits of this field into the Duration field

 

 

 

 

in the MAC Header.

4

bDeviceAddress

1

Number

Device address of a device that should transmit the

 

 

 

 

UDR packet at wStart time.

5

bReserved

1

Constant

Reserved. Must be set to zero.

 

 

 

 

 

The device whose Wireless USB cluster address matches the value of bDeviceAddress must begin transmitting a UDR control frame when its internal clock matches wStart. The interpretation of wStart is the same as that documented in Section 5.3 for WXCTAs. The device must format the UDR as specified in Table 7-45 and it must use the wDurationValue provided in the associated UDRB in the Duration field of the UDR packet.

The host must ensure that the wDurationValue field values are consistent with the requirements of the MAC Layer specification. The host uses the inter-slot times defined in Section 5.3.2 for providing guard times between UDR transmission slots.

180

Chapter 7

 

Wireless USB Framework

Wireless Universal Serial Bus Specification, Revision 1.0

Table 7-45. Field Contents for a UDR Packet (MAC Layer Packet Only)

Offset

Name

Size

Value

Description

 

 

 

 

 

 

0

Frame

2

Bitmap

This field is encoded with the following values:

 

Control

 

 

Bits

Name

Value

 

 

 

 

 

 

 

 

2:0

Protocol Version

000B

 

 

 

 

3

Secure

0B

 

 

 

 

5:4

ACK Policy

00B

 

 

 

 

8:6

Frame Type

001B (Control)

 

 

 

 

12:9

Frame Subtype

0101B (UDR)

 

 

 

 

13

Retry

0B

 

 

 

 

15:14

Reserved

00B

2

DestAddr

2

Number

Must be set to the host’s DevAddr (i.e. value is taken from

 

 

 

 

the SrcAddr field of the MMC’s MAC Header).

4

SrcAddr

2

Number

The device’s DeviceAddress.

 

6

Sequence

2

Bitmap

This field must be set to the value of 0000H:

 

Control

 

 

 

 

 

8

Access

2

Bitmap

This field is encoded with the following values:

 

Information

 

 

Bits

Name

Value

 

 

 

 

 

 

 

 

13:0

Duration

wDurationValue

 

 

 

 

14

More Data

0B

 

 

 

 

15

Access Method

1B

 

 

 

 

 

 

 

All device implementations must implement this feature. The UDR packet must be transmitted at maximum available transmit power.

Note, that the host must also transmit a properly annotated UDR packet. The host may transmit it’s UDR either before or after the channel time described and allocated by this IE.

Stop Retransmission Condition: the host will transmit this IE only once.

7.5.7 Wireless USB Work IE

The host includes a Work IE in MMCs in response to a Sleep notification from one or more devices. Section 4.16 in the Data Flow chapter describes the full operation.

Table 7-46. Format of a Wireless USB Work IE

Offset

Field

Size

Value

Description

 

 

 

 

 

0

bLength

1

Constant

The size of this IE: 2+N (+ optional 1) bytes, where N is

 

 

 

 

the total number of bDeviceAddresss in this IE

1

IE_Identifier

1

Constant

WWORK_IE

 

 

 

 

 

2

bDeviceAddress

N

Array

Array of Device Addresses (each one byte) This field

 

 

 

 

contains the Device Address identifying which device

 

 

 

 

this Work IE is a response to.

 

 

 

 

Bits

Description

 

 

 

 

6:0

Device Address. The device address of

 

 

 

 

 

the device the host is responding to.

 

 

 

 

7

Work Pending. This bit is a 1 if there is

 

 

 

 

 

work pending for the device. The bit is 0

 

 

 

 

 

otherwise.

181

Chapter 7

 

Wireless USB Framework

Wireless Universal Serial Bus Specification, Revision 1.0

Table 7-46. Format of a Wireless USB Work IE (cont.)

Offset

Field

Size

Value

Description

 

 

 

 

 

N+2

bReserved

1

Constant

This is a pad byte that must be added by the host to

 

 

 

 

make the total size of the IE instance be an even

 

 

 

 

multiple of 2 bytes. The value the host puts into this

 

 

 

 

field, when it exists, must NOT match any currently

 

 

 

 

active assigned device address

Stop Retransmission Condition: the host will transmit this IE for at least 3 MMCs.

7.5.8 Wireless USB Channel Stop IE

The host includes a Channel Stop IE in MMCs before stopping a USB channel. Section 4.16 in the Data Flow chapter describes the full operation.

Table 7-47. Format of a Wireless USB Channel Stop IE

Offset

Field

Size

Value

Description

 

 

 

 

 

0

bLength

1

Constant

The size of this IE: 6 bytes

1

IE_Identifier

1

Constant

WCHANNEL_STOP_IE

2

bmAttributes

1

Bitmap

This field contains attributes for the Channel Stop IE:

 

 

 

 

Bit

Description

 

 

 

 

0

Remote Wakeup: Value of 1

 

 

 

 

 

indicates that the host will be ‘polling’

 

 

 

 

 

for Remote Wakeup. 0 otherwise.

 

 

 

 

7:1

Reserved

3

StopTime

3

Timestamp

The time at which the Wireless USB channel will stop.

Stop Retransmission Condition: the host will remove this IE from the Wireless USB channel when it is no longer in need of polling for remote wake notifications. If the host is not transitioning to a channel stop or is not open for remote wake notifications, then it must not include this IE in the Wireless USB channel.

7.5.9 Wireless USB Device Keepalive IE

The Device Keepalive IE is used to direct one or more Wireless USB cluster members to begin transmitting DN_Alive notifications. The purpose of this IE is described in Section 4.14. The frequency and placement of this IE in MMCs is host-dependent.

Table 7-48. Format of a Wireless USB Keepalive IE

Offset

Field

Size

Value

Description

 

 

 

 

 

0

bLength

1

Constant

The size of this IE: 2+N (+ optional 1) bytes, where N

 

 

 

 

is the total number of bDeviceAddresses in this IE

1

IE_Identifier

1

Constant

WDEV_KEEPALIVE_IE

 

 

 

 

 

2

bDeviceAddress

N

Array

Array of device addresses (each one byte)

N+2

bReserved

1

Constant

This is a pad byte that must be added by the host to

 

 

 

 

make the total size of the IE instance be an even

 

 

 

 

multiple of 2 bytes. The value the host puts into this

 

 

 

 

field, when it exists, must NOT match any currently

 

 

 

 

active assigned device address

Stop Retransmission Condition: the host will remove a device address from this IE once it has successfully received a DN_Alive notification from that device.

182

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