Chapter 4 - Wireless LANs Part 2 - 16x9
Chapter 4 - Wireless LANs Part 2 - 16x9
(Part 2)
Reliable Data Delivery
NES440 Wireless Networks
Even with relatively strong error-correction techniques, frames may not be successfully
received (i.e.; error-free)
This can be dealt with at a higher layer such as the TCP. However:
The retransmission timers at the higher layers are typically in the order of seconds (i.e.; relatively
long retransmission delay)
The TCP reliable data transfer was designed to overcome data loss caused by traffic congestion
not due to collisions
Therefore, it is more efficient to deal with such errors at the MAC level
The IEEE 802.11 MAC includes a two-way frame exchange protocol:
When a station receives a frame, it returns an acknowledgment (ACK) frame
The exchange process is given a high priority and hence cannot be interrupted by any other station
If no ACK is received within a short period of time, the station retransmits the frame
NES440: Wireless Networks Copyright © Dr. Fahed H. Awad 2
Four-Frame Exchange
Basic data transfer involves the exchange of two frames (i.e.; the data frame and the ACK
frame)
To further enhance the reliability of data transfer, a four-frame (or a four-way frame)
exchange may be used such that:
The source STA sends a Request to Send (RTS) frame to the destination STA
The destination STA responds with Clear to Send (CTS) frame
After receiving CTS, the source STA transmits the data
Upon receiving the data, the destination STA responds with an ACK
The RTS alerts all STAs within the range of the source STA that an exchange of frames is
about to start
The CTS alerts all STAs within the range of the destination STA that an exchange of frames
is about to start
Therefore, the STAs refrain from any transmission for the duration of the frame exchange in
order to avoid collisions
RTS/CTS exchange is a required function of the MAC sublayer but it may be disabled or
restricted due its associated large overhead
IEEE 802.2
802.11b
IEEE 802.2
802.11b
boe busy
station2
busy
station3
busy medium not idle (frame, ack etc.) boe elapsed backoff time
wo = CW min
m = max. # of attempts
m’ = max. # of doubling CW (m’=10)
DIFS
RTS data
sender
SIFS SIFS SIFS
CTS ACK
receiver
DIFS
RTS frag1 frag2
sender
NAV (RTS)
NAV (CTS)
DIFS
NAV (frag1)
other data
NAV (ACK1)
stations
t
contention
B B B B
access
point
beacon interval
B1 B1
station1
B2 B2
station2
The PCF is based on polling the stations by a centralized polling master (called a point coordinator or
PC), which is usually the AP
The PC polls the intended stations in a round-robin fashion
When a station is polled, it may respond after an SIFS
If the PC receives a response, it issues another poll after an SIFS
The PC uses PIFS (instead of DIFS) to contend for the medium gaining a higher priority than any other
station trying to access the medium
Due to the higher priority of the PCF over DCF, contention-based traffic may not have access to the
medium during the PCF period
In order to allow contention-based traffic to access the medium, a repetition interval (also called a
superframe) is used, which allows both types of traffic to access the medium