Beruflich Dokumente
Kultur Dokumente
Abstract This paper proposes and discusses the modification that all stations use the Distributed Coordination Function
and extension of the present Wireless Local Area Network (DCF) of 802.11 and they always have packets to send and it
(WLAN) to use it for communication system to enhance its is also assumed for simplicity that no delay is made in packet
performance in the Medium Access Control (MAC) layer. The transmission. We discuss some basic functions and
Medium Access Control (MAC) protocol is the primary element
parameters used in the simulation of WLAN and then the
determining how efficiently the limited communication
bandwidth of the wireless channel is shared in a Wireless Local model of our simulation is presented. Finally we show the
Area Network (WLAN). It is crucial that the MAC protocol results of the simulation.
should provide robustness and fairness among users. This paper
also discusses the simulation results for understanding the II. FUNCTIONS AND PARAMETERS IN WLAN
variation in number of transmissions and collisions for different
communication stations, packet size, mobility, difference between
A. Distributed Coordination Function (DCF)
Carrier Sense Multiple Access with Collision Avoidance (CSMA- DCF[1, 2] is a basic medium access protocol that allows for
CA) and CSMA-CA with RTS-CTS. It also shows the simulation automatic sharing between compatible Physical Layers, with
results; number of transmissions and collisions for varying the help of CSMA/CA and a random back off interval
different parameters. And also CSMA-CA and CSMA-CA with following any busy medium condition. All directed traffic
RTS-CTS cases are calculated in the simulation. For CSMA-CA uses immediate positive acknowledgment (ACK frame) where
and CSMA-CA with RTS-CTS cases, Distributed Co-ordination
the sender schedules retransmission if no ACK has been
Function (DCF) is used. In the simulation, we used three to seven
stations. Simulation duration is 10000 ms. received.
I. INTRODUCTION
The IEEE 802.11 WLAN technology offers the largest
deployed wireless access to the Internet. This standard by
IEEE specifies both the Medium Access Control (MAC) and
the Physical (PHY) Layers [1, 2]. The Physical layer selects
the correct modulation scheme given the channel conditions
and provides the necessary bandwidth, while the MAC layer
makes a decision in a distributed manner on how the offered
bandwidth is shared among all the stations within the
communication range. Different analytical models and
simulation studies have been done to evaluate the 802.11
MAC layer performances in different cases. These studies
mainly aim at computing the throughput of the MAC layer
and focus on its improvement. One of the most promising
models is the Bianchi model [3]. The modelling of the 802.11
MAC layer is an important issue for the evolution of this
technology. One of the major shortcomings in existing MAC
models is that the varying Physical layer conditions are not
considered in those models. The main contribution of this
paper is considering MAC layer protocols to analyze the Fig. 1 State transition for DCF using CSMA-CA.
performance of IEEE 802.11 standard varying different B. Different Inter-Frame Spacing (IFS) Parameters
parameters. We compute, for a given topology, the throughput,
the number of successful transmissions and collisions for any The time interval between two consecutive frames is called
wireless station using the 802.11 MAC protocol. We assume the IFS [1, 2]. A station shall determine that the medium is
SIFS (short interframe space) SlotTime = the value of the correspondingly named
PIFS (PCF interframe space) Physical characteristic.
DIFS (DCF interframe space)
AIFS (arbitration interframe space)
EIFS (extended interframe space)
Fig. 2 Relationship among different IFS parameters [1, 2] Fig. 3 Random Backoff procedure[1, 2 ]
864
III. STATE PARAMETERS FOR THE SIMULATION simulation, the following five cases can occur. The followings
In our simulation we used the following states and numbering are the cases that can occur in the simulation.
of the states is as shown below:
A: Successful transmission occurs if all steps are done.
-6: Waiting for ACK B: Collision occurs if one step is missed.
-3: DATA collision? C: Ack-collision occurs if ack is not received.
-2: ACK collision? D: Unreachable occurs if receiver is out of range.
-1: sending an ACK E: Ack-unreachable occurs if receiver is out of range.
0: idle (nothing to send)
1: Waiting for free media (have something to send)
V. RESULTS AND DISCUSSIONS
2: Free media detected, wait for DIFS
3: Random back-off A. Results for CSMA-CA Vs CSMA-CA with CTS-RTS by
4: Waiting for SIFS to send ACK varying different parameters:
5: sending successfully 1) Collision of CSMA-CA Vs CSMA-CA with CTS-RT:
6: sending to a busy station
Results for the collision of CSMA-CA Vs CSMA-CA with
7: sending to an out-of-range node
CTS-RTS are shown in Fig. 6. The maximum number of
8: sending an RTS signal/packet
collision is 2526 for CSMA-CA when there are 7 stations and
9: sending a CTS signal/packet for CSMA-CA with CTS-RTS it is 1108. For the curve
10: NAV (Net allocation vector)
CSMA-CA collision rise steadily whereas for CSMA-CA with
CTS-RTS it is almost remain flat. So according to this result
CSMA-CA with CTS-RTS is better in regarding number of
collisions.
865
B. Results for CSMA-CA with CTS-RTS by varying different
parameter:
1) Transmission Vs Collision with varying stations:
Here we see results for Transmission Vs Collision with
varying stations in Fig. 9. The maximum number of collision
is 1073 when there are 5 stations and for transmission it is 328
when there are 2 stations. For the curve collision it rises
sharply till 3 stations then it rises slowly till 5 stations. For the
curve transmission it falls sharply till 3 stations then falls is
slowly till 5 stations. Here we also see that difference in
number of collision and transmission in 5 stations is huge
which is almost 67 times than transmission. So according to
this result number of collision is increases as the number of
stations increases and the number of transmission is decreases
as the number of stations increases.
866
4) Transmission Vs Collision with varying PCWmin size:
Here we see results for Transmission Vs Collision with
varying PCWmin or contention window size stations in Fig.
12. The maximum number of collision is 712 when PCWmin
size is 2 and for transmission it is 378 when PCWmin size 2.
For the curve collision it deceases sharply till PCWmin size is
8 with slight fluctuations when PCWmin is 4. For the curve
transmission it deceases steadily till PCWmin size is 8 with
slight fluctuations when PCWmin is 4. Here we also see that
difference in number of collision and transmission when
PCWmin is 8 which is almost double than transmission. So
collision is deceases as the PCWmin size increases and the
transmission is decreases as the PCWmin size increases.
867
REFERENCES [4] J. G. Proakis, Digital Communications, 3rd ed., Mc-Grew Hill, New
York, NY, 1995.
[1] Wireless LAN Medium Access Control (MAC) and Physical Layer [5] W. Stalling: Data and Computer Communications, 5th Ed. Prentice
(PHY) specifications, Standard Specification, IEEE Std.802.11, 1999. Hall, 1997.
[2] Wireless LAN Medium Access Control (MAC) and Physical Layer [6] T. S. Rappaport, Wireless Communications: Principles and Practice,
(PHY) Specifications, IEEE Std 802.11-2007 (Revision of IEEE Std Prentice Hall, 1996.
802.11-1999) [7] Wi-Fi (2007), Wi-Fi official website <http://www.wi-fi.org/>
[3] G. Bianchi, Performance Analysis of the IEEE 802.11 Distributed [8] Bianchi, Understanding 802.11e contention-based prioritization
Coordination Function, IEEE Journal on Selected Areas in mechanism and their coexistence with legacy 802.11 stations, IEEE
Communications, Vol. 18, Number 3, March 2000. Network, pp. 28-34, 2005
868