Escolar Documentos
Profissional Documentos
Cultura Documentos
1. Introduction
The IEEE 802.11 standard [1] defines the protocol and
compatible interconnections of data communication equipment
via the air (radio or infrared) in a local area network (LAN). It
encompasses the physical (PHY) and the media access control
(MAC) layers of the ISO seven-layer network model.
Figure 3: OPNET node model: WLAN Access Point. 4. Tuning the WLAN physical layer parameters
In this section, we explore the effect of physical (PHY) layer
Independent Basic Service Set: The IEEE 802.11 WLAN parameters. Three OPNET pre -defined types of PHY layers are:
consists of a Basic Service Set (BSS) (Figure 4). A BSS is a set Frequency Hopping, Direct Sequence, and Infra Red.
of stations that communicate with each other. It is called an OPNET does not offer customized PHY parameters.
independent BSS (ad-hoc network) if every station in the BSS
communicates directly with other stations and if the BSS is not
connected to wired networks.
2
4.1 OPNET Implementation 4.3 Slot Time and SIFS
We modified the OPNET wlan_mac process model and The first set of simulation scenarios demonstrate the effect of
introduced four parameters in the WLAN parameters table: Slot Slot Time and Short Inter-frame Space (SIFS) on the WLAN
Time, SIFS Time, Minimum Contention Window, and performance. Parameters for the two simulation scenarios are
Maximum Contention Window. They are enabled only if the given in Table 2.
Customized option is selected for Physical Characteristics
(Figure 6). Scenario 1 Scenario 2
PHY characteristics Frequency Customized
hopping
Slot time (s) 5.0E-05 2.0E-05
SIFS (s) 2.8E-05 1.0E-05
Min contention window size 15 15
Max contention window size 1,023 1,023
WLAN bandwidth (bps) 11 M 11 M
WLAN buffer size (bits) 256 k 256 k
Table 2: Slot Time and SIFS parameters for the two
simulation scenarios.
3
The simulation results (Figure 9) indicate that the performance PEG destroys the current packet and reports the loss to the
of the wireless network can be improved by setting Min MAC layer.
Contention Window to a smaller value in the case when there are
few WLAN stations in the network. l Packet Error Mode: The PEG counts the total number of
packets received from other stations. Once that number
Scenario 3 Scenario 4 reaches the specified Packet Error Rate threshold, the PEG
PHY characteristic Customized Customized destroys the current packet and reports the loss to the MAC
Slot time (s) 5.0E-05 5.0E-05 layer.
SIFS (s) 2.8E-05 2.8E-05
Min contention window size 7 63
Max contention window size 1,023 1,023
WLAN bandwidth (bps) 11 M 11 M
WLAN buffer size (bits) 256 k 256 k
Table 3: Min Contention Window parameters for the two
simulation scenarios.
4
hopping hopping hopping
Table 5: Effect of Fragmentation Threshold: parameters for
simulation scenarios 8, 9, and 10.
The final set of parameters for Fragmentation Threshold is listed
in Table 6. The simulation results (Figure 13) indicate that for
relatively low bit error rates (2x10-6 ), a commonly used
fragmentation threshold (256 bytes) or using no fragmentation
has no effect on the performance of the network. When the
fragmentation threshold is very small (16 bytes), the WLAN
performance deteriorates because of the heavy packet overhead.
5
The main idea of the adaptive back-off mechanism is to estimate possible collision if the station sends the packet immediately, it
the contention level of the shared channel by calculating the slot triggers the Virtual Collision Procedure and it will perform back-
utilization ratio (Figure 14). When a WLAN station detects a off instead of sending the packet. Thus, a possible collision is
high contention level in the shared channel, which implies a avoided.
6
6 .2 Simulation scenarios and settings
We employed three simulation scenarios with various numbers
(11, 21, and 65) of identical WLAN stations. An example
scenario with 11 stations is given in Figure 17. They send data at
an average rate of 820 kbps. Destination stations are randomly
chosen by the source station. The traffic attributes are listed in
Table 7.
The additional pseudo code for states BACKOFF, Figure 17: Simulation scenario with 11 stations.
PT_BACKOFF, PT_TEST, and BKOFF_NEEDED is:
Attribute Value
BACKOFF state: the system monitors the channel and keeps Packet sending start time (sec) constant (2)
track of Backoff_Time and Channel_Busy_Time in terms of time Packed sending stop time (sec) never
slots. Packet interarrival time (sec) exponential (0.01)
Packet size (bytes) exponential (1,024)
PT_BACKOFF state: Segmentation size (bytes) no segmentation
if Current_Contention_Window
< Min_Contention_Window Table 7: Traffic generation parameters.
then
Current_Contention_Window
6 .3 Simulation results
= Min_Contention_Window
else Simulation parameters are listed in Table 8. The throughput and
load of node_0 are collected for analysis . The throughput is the
Current_Contention_Window
= Current_Contention_Window * 2 + 1 bit rate sent to the higher layer [2]. It represents the rate of data
if Current_Contention_Window successfully received from other stations. WLAN load is the bit
rate submitted to the WLAN layer by higher layers in the node
> Max_Contention_Window
then [2]. It also represents the rate of data sent to other stations.
Current_Contention_Window
= Max_Contention_Window Scenario Scenario Scenario
Backoff_Time = random_uniform(Current_Contention_Window) 14 15 16
go to state BACKOFF Number of stations 11 21 65
Error Mode None None None
PT_TEST state: Bits Error Rate (1/bits) N/A N/A N/A
Channel_Utilization = Channel_Busy_Time / Backoff_Time Fragmentation None None None
Possibility_to_Transfer = 1 Channel_Utilization Threshold
Transfer_Threshold = random_uniform(0, 1) WLAN bandwidth (bps) 11 M 11 M 11 M
if Possibility_to_Transfer < Transfer_Threshold WLAN buffer size (bits) 256 k 256 k 256 k
then
Max receive lifetime (s) 0.5 0.5 0.5
go to state PT_BACKOFF
Short retry limit (slots) 7 7 7
else
Long retry limit (slots) 4 4 4
transfer packet
PHY characteristic Frequency Frequency Frequency
BKOFF_NEEDED state: hopping hopping hopping
set Channel_Utilization = 0 Table 8: Effect of Adaptive Back-off: parameters for
set Channel_Busy_Time = 0 simulation scenarios 14, 15, and 16.
set Backoff_Times_Counter = 0
7
The simulation results (Figures 18-23) illustrate that with the Simulation results indicate that throughput/load behavior of
adaptive back-off mechanism, load between WLAN stations can WLAN with 21 stations is consistent with WLAN with 11
be greatly reduced while throughput can still maintain the same stations. In case of 21 stations, adaptive back-off algorithm
or achieve a slightly higher value. The reduction of WLAN load reduces the network load by almost 30% (Figure 20), while still
is important for power reduction in wireless devices. maintaining good throughput compared to the standard back-off
Furthermore, the adaptive back-off mechanism can effectively algorithm (Figure 21).
reduce the number of collisions and data loss in wireless
networks.
8
8. References
[1] LAN MAN Standards Committee of the IEEE Computer
Society, Part 11: wireless LAN medium access control (MAC)
and physical layer (PHY) specifications, ANSI/ IEEE Standard
802.11, 1999 Edition.