immediately. The sending station will recognize a
successful transmission by means of an
acknowledgement (ACK) packet from the receiving
station. The receiving station, on successful
reception of packet delivers an ACK packet to
source station after short inter frame space interval
(SIFS). All stations except the source station in the
BSS use the duration field of the data packet to
adjust their Network Allocation Vector (NAV),
which indicates the amount of time that must elapse
until the end of the current transmission, for
deferring access to the medium. CSMA is very
effective when the medium is lightly loaded since
the protocol allows nodes to transmit with minimum
delay. Due to finite propagation delay along the
transmission medium, there is a probability of two or
more nodes simultaneously sensing the medium as
being free and transmitting at the same time, thereby
causing a collision. Clearly, when the network is
heavily loaded, such collisions will occur often
(Woesner et al., 1995) (Crow et al., 1997).
The CSMA protocol incorporates a Collision
Avoidance (CA) scheme that introduces a random
interframe space which is called as backoff between
successive packet transmissions. Collision avoidance
part is performed to reduce the high probability of
collision immediately after a successful packet
transmission. If the medium is detected to be busy,
the node must first delay until the end of the DIFS
interval and further wait for a random number of
time slots i.e. the backoff interval, before attempting
transmission. The backoff mechanism is explained
in detail in the later sections.
In wireless scenario, it cannot be guaranteed that
all station will be able to listen to each other. Some
station will be hidden to other simply because they
are out of the range of this station. Carrier sensing is
difficult due to the hidden terminal scenario where
collisions cannot be securely detected at the sending
stations. The DCF protocol is enhanced further by
provision of a virtual carrier sense indication called
Network Allocation Vector, which is based on
duration information transferred in special RTS/CTS
frames before the data exchange. It allows stations to
avoid transmission in time intervals in which the
medium is surely busy.
4 EXPONENTIAL BACKOFF
MECHANISM
IEEE 802.11 backoff mechanism follows rotating
window mechanism for the backoff procedure as
follows: whenever a station gets ready with a packet
for transmission and senses the medium busy it has
to choose a random number between (0,CW) (CW:
Contention Window) and wait for this number of
slots before accessing the medium. Contention
window is the range of slots within which a station
selects random slots during backoff process. For
every station, for a new packet, the value of
contention window will be equal to minimum value:
CWmin, and it will increase exponentially as it
experiences collision until a maximum value:
CWmax, and sets back CWmin on every successful
transmission (Natkaniec and Pach, 2000).
At each backoff time slot, carrier sensing is
performed to determine if there is any activity on the
medium. The station that selected the short random
time will gain access for transmission, the others
freeze their backoff timers until the winning
station’s transmission is finished and wait for the
remaining time in the following cycle. In this case,
when the medium becomes idle again for a period
greater then the DIFS, the backoff procedure
continues decrementing from the time slot, which
was previously disrupted. Hence a packet that was
delayed while performing the backoff procedure has
a high probability of being transmitted earlier than a
newly arrived packet. The process is repeated until
the backoff interval reaches zero and once it reaches
zero the packet is transmitted immediately. That way
station that has been waiting for long to gain access
is more likely to win this competition than another
that just entered it. The probability of gaining access
to medium increases with the time waited. If two or
more stations complete their backoff procedure at
the same time, or else if the stations select the same
slot then collision will occur.
When retransmission is necessary, the backoff
interval increases exponentially up to a certain
threshold. Conversely, the backoff interval reduces
to minimum value when packets are transmitted
successfully. Now, each station will have to increase
its CW exponentially (until the maximum CWmax)
and then select again a new random slot between 0
and CW. For every retransmission attempt, the
backoff time grows as a function of 2
i
where i is the
number of collision encountered. And whenever
there is a successful transmission for a station its
contention window is brought back to minimum CW
value-CWmin. The effect of this procedure is that
when multiple stations are deferring and go into
random backoff, then the station selecting the
smallest backoff time slot will win the contention
PERFORMANCE ANALYSIS OF CSMA/CA PROTOCOL IN IEEE 802.11 NETWORKS USING BACKOFF
MECHANISM
479