610 likes | 718 Views
Adaptive Packet Reservation Protocols. 童曉儒 教授 國立屏東科技大學 資管系. O UTLINE. An Overview of IEEE 802.11 Legacy 802.11 : DCF ( Distributed coordination function ) PCF ( Point coordination function ) QoS S upport M echanisms of 802.11e : EDCF ( Enhanced DCF ) HCF controlled channel access.
E N D
Adaptive Packet Reservation Protocols 童曉儒 教授 國立屏東科技大學 資管系
OUTLINE • An Overview of IEEE 802.11 • Legacy 802.11: • DCF ( Distributed coordination function ) • PCF ( Point coordination function ) • QoS Support Mechanismsof 802.11e: • EDCF ( Enhanced DCF ) • HCF controlled channel access
AN OVERVIEW OF IEEE 802.11 • IEEE 802.11 advantages: • Broadband bandwidth capability • Low deployment cost • Internet services access anytime, anywhere • Mobility and connectivity
IEEE 802.11 disadvantages: • Best effort services • No build in QoS modification of existing standards required • Shared medium
Figure 1. The IEEE 802 family and its relation to the OSI model
Figure 2. PHY components • PLCP ( Physical Layer Convergence Procedure ) • PMD ( Physical Medium Dependent )
Types of Networks • Independent BSS (IBSS) • IBSSs are sometimes referred to as ad hoc BSSs or ad hoc networks.
Infrastructure BSS • An infrastructure BSS is defined by the distance from the access point. • Access points in infrastructure networks are in a position to assist with stations attempting to save power.
MAC Access Modes • Access to the wireless medium is controlled by coordination functions. • Ethernet-like CSMA/CA access is provided by the distributed coordination function (DCF). • If contention-free service is required, it can be provided by the point coordination function (PCF), which is built on top of the DCF. • Contention-free services are provided only in infrastructure networks.
Interframe Spacing • Varying interframe spacings create different priority levels for different types of traffic. • The high-priority traffic doesn't have to wait as long after the medium has become idle. • To assist with interoperability between different data rates, the interframe space is a fixed amount of time, independent of the transmission speed.
Short interframe space (SIFS) • The SIFS is used for the highest-priority transmissions, such as RTS/CTS frames and positive acknowledgments. • PCF interframe space (PIFS) • The PIFS is used by the PCF during contention-free operation. • Stations with data to transmit in the contention-free period can transmit after the PIFS has elapsed and preempt any contention-based traffic.
DCF interframe space (DIFS) • The DIFS is the minimum medium idle time for contention-based services. • Stations may have immediate access to the medium if it has been free for a period longer than the DIFS. • Extended interframe space (EIFS) • It is not a fixed interval. • It is used only when there is an error in frame transmission.
Distributed Coordination Function (DCF) • The DCF is the basis of the standard CSMA/CA access mechanism. • Like Ethernet, it first checks to see that the radio link is clear before transmitting. • To avoid collisions, stations use a random backoff after each frame, with the first transmitter seizing the channel.
In some circumstances, the DCF may use the CTS/RTS clearing technique to further reduce the possibility of collisions. • Most traffic uses the DCF, which provides a standard Ethernet-like contention-based service. • The DCF allows multiple independent stations to interact without central control, and thus may be used in either IBSS networks or in infrastructure networks.
Backoff with the DCF • A period called the contention windowor backoff windowfollows the DIFS. • This window is divided into slots. • Stations pick a random slot and wait for that slot before attempting to access the medium; all slots are equally likely selections. • When several stations are attempting to transmit, the station that picks the first slot (the station with the lowest random number) wins.
As in Ethernet, the backoff time is selected from a larger range each time a transmission fails. • Contention window sizes are always 1 less than a power of 2 (e.g., 31, 63, 127,255). • Each time the retry counter increases, the contention window moves to the next greatest power of two.
When the contention window reaches its maximum size, it remains there until it can be reset. • The contention window is reset to its minimum size when frames are transmitted successfully, or the associated retry counter is reached, and the frame is discarded.
Point Coordination Function (PCF) • To support applications that require near real-time service, the 802.11 standard includes a second coordination function to provide a different way of accessing the wireless medium. • The PCF allows an 802.11 network to provide an enforced "fair" access to the medium.
Point coordination provides contention-free services. • Special stations called point coordinatorsare used to ensure that the medium is provided without contention. • Point coordinators reside in access points, so the PCF is restricted to infrastructure networks.
To gain priority over standard contention-based services, the PCF allows stations to transmit frames after a shorter interval. • The PCF is not widely implemented. • The PCF is an optional part of the 802.11 specification; products are not required to implement it.
Contention-free service is not provided full-time. • Periods of contention-free service arbitrated by the point coordinator alternate with the standard DCF-based service. • When the PCF is used, time on the medium is divided into the contention-free period (CFP) and the contention period (CP).
Figure 10. Diagrammatic representation of PCF access method
The contention period must be long enough for the transfer of at least one maximum-size frame and its associated acknowledgment. • Alternating periods of contention-free service and contention-based service repeat at regular intervals, which are called the contention-free repetition interval.
Reserving the medium during the contention-free period • At the beginning of the contention-free period, the access point transmits a Beacon frame. • One component of the beacon announcement is the maximum duration of the contention free period, CFPMaxDuration. • All stations receiving the Beacon set the NAV to the maximum duration to lock out DCF-based access to the wireless medium.
The polling list • After the access point has gained control of the wireless medium, it polls any associated stations on a polling listfor data transmissions. • During the contention-free period, stations may transmit only if the access point solicits the transmission with a polling frame.
Contention-free polling frames are often abbreviated CF-Poll. • Each CF-Poll is a license to transmit one frame. • Multiple frames can be transmitted only if the access point sends multiple poll requests.
Generally, all transmissions during the contention-free period are separated by only the short interframe space (SIFS). • To ensure that the point coordinator retains control of the medium, it may send to the next station on its polling list if no response is received after an elapsed PCF interframe space (PIFS).
Transmissions from the Access Point • Time in the contention-free period is precious, so acknowledgments, polling, and data transfermay be combined to improve efficiency.
Several different frame types can be used in the contention free period: • Data • CF-Ack • CF-Poll • Data+CF-Ack • Data+CF-Poll • CF-ACK+CF-Poll • Data+CF-ACK+CF-Poll • CF-End • CF-End+CF-Ack • Any Management
Contention-Free Period Duration • The minimum length of the contention period is the time required to transmit and acknowledge one maximum-size frame. • It is possible for contention-based service to overrun the end of the contention period, however. • When contention-based service runs past the expected beginning of the contention-free period, the contention-free period is foreshortened, as in Figure 11.
QoS Support Mechanismsof 802.11e • In order to support QoS approaches in 802.11, TGe has defined a new mechanism called HCF( Hybrid Coordination Function). • This mechanism is backwardly compatible with legacy DCF and PCF. • It has both polling based and contention based channel access mechanisms in a single channel access protocol.
HCF ( Hybrid Coordination Function) • EDCF ( Enhanced DCF ) • HCF controlled channel access • In HCF there may still be two phases of operations within the superframes, the CFP and CP, which alternate over time. • The EDCF is used in the CP only, while the HCF controlled channel access method is use in both phases, which makes this new coordination function hybrid.
EDCF ( Enhanced DCF ) • EDCF is a contention-based channel access scheme. • EDCF provides differentiated service, distributed access to the wireless medium for 8 delivery priorities. • EDCF access channel on each ESTA uses at most 8 prioritized output queues, one for each delivery priority, called Traffic Categories (TCs).
The CWmin and CWmax parameters can be set differently for different traffic categories, such as, a high priority TC with small values of CWmin and CWmax. • Instead of using a DIFS, as a minimum specified idle duration time as defined in DCF, a new kind of interframe space called Arbitration Interframe Space (AIFS) is used.
A big difference from the legacy DCF is that After any unsuccessful transmission attempt a new contention window is calculated with the help of the persistence factor PF[TCi] and another uniformly distributed backoff counter out of this new, enlarged CW is drawn, to reduce the probability of a new collision.
Whereas in legacy 802.11, CW is always doubled after any unsuccessful transmission (i.e., equivalent to a PF=2). EDCF, uses the PF to increase the CW different for each TCi:
Figure 12. Diagrammatic representation of EDCF access method
A single station may implement up to eight transmission queues realized as virtual stations inside a station, with QoS parameters that determine their priorities. • If the counters of two or more parallel TCs in a single station reach zero at the same time, a scheduler inside the station avoids the virtual collision.