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

Chapter 4

 

Data Flow Model

Wireless Universal Serial Bus Specification, Revision 1.0

A host can retrieve the packet data by sending the device a Get Status (Received Data) request. In addition to the stored information, the device will indicate whether or not the packet was successfully received and if the captured packet was larger than the receive data buffer space. The device will return the information in the format described in Section 7.3.1.2.

4.3.7.3Non Beaconing Devices

Wireless USB also defines what is called a “Non-Beaconing” device, which due to reduced transmit power and receiver sensitivity, can only exist close to its host. So close in fact that any neighbor of this device will be in range of the host and thus be able to observe the host’s beacon before the Non-beaconing device can interfere with the neighbor’s traffic. Characteristics of the type of device are not specified in this revision of the specification.

4.3.7.4Selecting A Wireless USB Host

Wireless USB devices use information transmitted in a host’s MMCs to select which host to connect to. See Section 4.13, Connection Process, for details. Devices may have to scan several PHY channels before finding the appropriate host. Depending on user preferences and device capabilities, a device may choose to automatically connect to a host, or wait for a user to instruct the device to make a connection (possibly by pushing a button).

4.3.8Host Perspective

When a Wireless USB Host becomes active, it must choose a PHY channel in which to operate the Wireless USB channel. Once the host is beaconing it then establishes a Wireless USB Channel by reserving MAC Layer channel time for Wireless USB data communications.1 Figure 4-10 illustrates the relationship between the host’s Beacon and an example set of MAC Layer channel time reservations.

Figure 4-10. Wireless USB Application-specific Host Information Element in Beacon

Figure 4-10 illustrates an example DRP allocation for a Wireless USB Channel. The reservation of MAS slots for a Wireless USB Channel depends on the application load. To understand how the Wireless USB Channel is established and maintained, the host functionality can be separated into three logical entities as shown in Figure 4-11 e.g. Host System Management, Wireless USB Host and MAC Layer compliant device which are described in the following sections.

1 Note that allocation of channel time must eventually take into consideration information from devices joining the Wireless USB Channel.

31

Chapter 4

 

Data Flow Model

Wireless Universal Serial Bus Specification, Revision 1.0

Figure 4-11. Wireless USB Host logical components

By separating the Wireless USB Host and MAC Layer compliant device roles, it is easier to describe the establishment and maintenance of the Wireless USB Channel which encapsulates (but is independent) of the operation of the Wireless USB protocol.

4.3.8.1MAC Layer Compliant Device

The primary MAC Layer channel management operation is the generation and exchange of Beacon Frames between MAC Layer compliant devices, which carry the channel use and MAC Layer compliant device identification information elements. The MAC Layer compliant device implements the MAC Layer rules which enable the MAC Layer channel to be shared between a set of MAC Layer compliant devices in radio range. It implements the MAC Layer protocol in particular the generation and interpretation of the MAC Layer beacon frames which are the principle means by which the Wireless USB Channel permissions are obtained since they carry the DRP reservation Information Elements. The MAC Layer compliant device will inform Host System Management of any DRP conflicts which may arise in the operation of the MAC Layer protocol (owing to mobility or other effects changing the topology of the MAC Layer beacon group, or any traffic change from the MAC Layer compliant devices in range).

The MAC Layer compliant device implements MAC Layer superframe synchronization where adjustments to the superframe timing are made for the slowest clock in the neighborhood. These adjustments are signaled to Host Management which in turn may have to work with the Wireless USB Host to adjust Directed Beaconing devices.

The MAC Layer protocol requires hidden neighbor effects to be mitigated by the exchange of neighbor information in beacons. The Host Management can utilize features in both the MAC Layer compliant device and Wireless USB Host in managing the two-hop neighbor topology so that the Wireless USB channel reservations are appropriately respected by all neighbors of devices in the Wireless USB Cluster.

4.3.8.2Wireless USB Host

The Wireless USB Host entity implements the host roles of schedule generation and maintenance of the Wireless USB Channel. It is responsible for scheduling data communications on the Wireless USB Channel between itself and Wireless USB devices belonging to the Wireless USB cluster. The host must ensure that it does not schedule Wireless USB channel communications to cross the boundary of a permitted MAC Layer channel access period (i.e. DRP reservation). Figure 4-12 illustrates a view of how the Wireless USB Host operation simplifies this into a series of contiguous (but disjoint in time) time intervals separated by MMCs.

32

Chapter 4

 

Data Flow Model

Wireless Universal Serial Bus Specification, Revision 1.0

Figure 4-12. Example Map of Wireless USB Channel to MAC Layer Channel Reservation Boundaries

The logical end of a Transaction Group (as bounded by the mapping onto the MAC Layer Channel in time) must be managed by the Wireless USB host scheduler so that they do not violate MAC Layer channel time structures.

4.3.8.3Host System Management

Host system management controls the interactions and information flow between the Wireless USB Host and MAC Layer compliant device modules, including providing the mapping of the Wireless USB Channel on the PHY via the establishment and maintenance of a series of DRP reservations. Many of the possible functions of this module are beyond the scope of this specification. However it is important to recognize that this module can utilize the services provided by the host and MAC Layer compliant device modules to accomplish the behavior required of a Wireless USB Host and the devices in its cluster. It bridges the Wireless USB Host and MAC Layers such that requirements of each can be converted into structures recognized by the other, for example it can map MAC Layer time onto Wireless USB channel time so that the host time references used by the Wireless USB devices won’t violate the reservation boundaries.

The policy decisions on how to manage MAC Layer channel time for the Wireless USB channel are implemented in a host-specific manner within this module, including how long to hold MAC Layer reservations, when to expand them, when to reduce and when to release them.

4.3.8.4Managing Two-Hop Reservation Topology

If all the neighbors of a Wireless USB device are also neighbors of the host, then the host’s beacon is sufficient to maintain the integrity of the Wireless USB Channel and respect of neighbor’s announced DRP reservations. When the host’s beacon provides coverage for all the devices in its Wireless USB Cluster, there is no benefit for devices in the cluster to transmit MAC Layer Beacons.

D

D

D H

D

Figure 4-13 Host covers all Wireless USB device

33

Chapter 4

 

Data Flow Model

Wireless Universal Serial Bus Specification, Revision 1.0

Periodically, the host must check with all members of its Wireless USB Cluster to ensure the neighborhood has not changed. If new MAC Layer compliant devices have entered the radio range of a Wireless USB cluster member device but are not in the range of the host, a Hidden neighbor situation exists, as illustrated in Figure 4-14 where M is hidden from H and could interfere with traffic at the D(s) in its range.

D

D

D H M

D

Figure 4-14 Hidden Neighbor

The host uses the capabilities of Self Beaconing and Directed Beaconing devices to gather information about neighbors in their range and to propagate host beacon information to hidden neighbor devices. Only Directed Beaconing device members of the Wireless USB cluster which have neighbors hidden from the host need to be instructed to transmit and receive packets (e.g. beacons in this particular case).

The host uses the mechanisms described in section 4.3.7.1 to gather reservation information about hidden neighbors from Self Beaconing devices. If the MAS availability information returned by the device is not a superset of the host’s current Wireless USB channel DRP, then it knows there is at least one hidden neighbor and the host may need to adjust its DRP reservations to avoid conflicts.

The host uses the mechanisms described in section 4.3.7.2 to gather similar information from Directed Beaconing devices. The typical process would be that the host first has the device ‘Count Packets’ during the beacon period. The host can then determine if there are any hidden neighbors. If there is a hidden neighbor, the host has the device ‘Capture Packet’ at the appropriate beacon time to get the full beacon of the hidden neighbor. The host can then adjust its DRP reservation if needed.

To direct a device to transmit a beacon, the host uses the Transmit Packet mechanisms defined in section 4.3.7.2.1 to provide the device with a beacon data structure with DRP IEs appropriate for the devices in the neighborhood of the hidden neighbor, as well as a report of the local beacon group constructed to inform the hidden neighbors(s) of the host and its neighbors. The host also provides the device channel time information so that the device will transmit the beacon during the appropriate beacon slot period for multiple MAC Layer superframes.

4.3.8.5Other Host Considerations

If a host does not have any active data flows when a reservation instance begins, it may inform its neighbors that the current reservation time is available for other communications. The MAC Layer standard defines an explicit method for releasing a reservation. The method is based on participants in the reservation transmitting a specific control packet which can be observed by neighbors. A Wireless USB reservation instance is released by the host instructing relevant members of a Wireless USB Cluster to transmit the UDR control packet. Note that the host must transmit the UDR control packet also, see Section 7.5.6. After a DRP instance release operation is complete, the host must not use the DRP instance for Wireless USB communications.

Table 4-1 summarizes how MAC DevAddr values are allocated by a host to manage devices through the process of admittance to a Wireless USB Cluster (see Section 4.13 for details). It is the responsibility of the host to avoid DevAddr value conflicts within its Wireless USB Cluster.

34

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