
Distributed Coordination Function (DCF), and
works as follows. Before the transmission, each STA
listens the wireless medium: if it is heard free for a
DIFS (Distributed Inter Frame Space) time, the
STA sends the bits, otherwise it launches the backoff
procedure. The backoff procedure calculates a
backoff time through a random function which takes
uniformly distributed values between 0 and CW
(Contention Window), where CW is always:
CW
min
≤ CW ≤ CW
max
Initially CW is initialised at CW
min.
The backoff
time is calculated as follows:
SlotTimeRandomCWtimeBackoff ×
= ()_
Standard values for the SlotTime
are 31µs for
802.11b and 15µs for 802.11a. Because the CW
value is chosen as a power of two minus one, if
Random() assumes integer values the Backoff_time
is:
SlotTimeRandomtimeBackoff
k
××−= ()])12[(_
where CW=2
k
-1. When a STA which has launched
the backoff procedure finds the medium as free, it
begins to decrement of a slot time the backoff timer
until it relieves the medium as occupied. When this
timer reaches zero value, the station transmits the
Mac Service Data Unit (MSDU). Each MSDU
which has been correctly received must be
acknowledged with and ACK frame. If the ACK is
not received into an ACKtimeout time, then the
transmission is considered unsuccessful and the
backoff procedure is launched by duplicating the
previous CW value as follows:
1)1(2 −+×=
oldnew
CWCW
The backoff time at the i-th tentative of access is:
SlotTimerandomtimeBackoff
ik
××−=
+
()])12[(_
When a STA has successful transmitted a MSDU, it
launches a post-backoff procedure in order to allow
other stations to access the medium.
DCF is the basic MAC for both infrastructure and ad
hoc 802.11 networks. An added function, not
mandatory from the standard, is the Virtual Carrier
Sense (VCS), which solves the hidden node problem
with RTS/CTS frames. Finally, the PCF is an
optional access technique which can be implemented
only in infrastructure networks where the Point
Coordinator (PC) regulates the access to the
medium during a time called Contention Free
Period.
3 QOS IN IEEE 802.11
DCF is for best effort services, because it does not
provide QoS. In fact all the stations belonging to a
BSS or an IBSS compete with the same priority to
access the same wireless medium.
In the standardization bodies was accepted that QoS
mechanisms had to be added in the 802.11 standard,
and in 1999 the task group TGe was created, that
later gave birth to the draft standard IEEE 802.11e.
This new MAC maintains the compatibility with
802.11.
In IEEE 802.11e, the stations are named QSTA, the
BSS and IBSS are QBSS and QIBSS. It is worth to
underline that the existence of a QBSS or a QIBSS
does not preclude the good functioning of the non-
QoS stations.
With IEEE 802.11e the MAC is enhanced by the
Enhanced Distributed Coordination Function
(EDCF), which is a completely distributed technique
that provides a service differentiation based on 8
priority levels, named User Priority (UP). Each
QSTA can manage 4 Access Categories (AC), and
each AC has a different value for DIFS, which in
IEEE 802.11e is renamed AIFS (Arbitration
InterFrame Space), CW
min
and CW
max
. In general,
the higher is the priority, the lower are AIFS[AC],
CW
min
[AC] and CW
max
[AC] parameters.
The mapping between UP and AC is represented in
table 1.
Table 1: mapping between UP and AC
User
Priority
(UP)
IEEE Definition Access
Category
(AC)
0 Best Effort (BE) 0
1 Background (BK) 0
2 - 0
3 Excellent Effort (EE) 1
4 Controlled Load (CL) 2
5 Video 2
6 Voice 3
7 Network Control (NC) 3
The backoff interval is given by:
SlotTimeRandomtimeBackoff ×
()_
where
()Random
assumes uniformly distributed
values in (1, CW[AC]+1).
In EDCF there are 4 traffic queues, where are
mapped the eight defined User Priorities.
QUALITY OF SERVICE PERFORMANCES IN AD HOC IEEE 802.11 WIRELESS LANS
161