Lecture 6 - Wireless Local Area Networks
Lecture 6 - Wireless Local Area Networks
m.d.hope@salford.ac.uk
Newton 262
WLAN Applications
Almost nonexistent until 2000, WLANs have
experienced astonishing growth
2
How WLANs Operate
Although a variety of radio frequency WLANs
exist, different products share similarities and
operate similarly
3
Access Point
An access point (AP) has three main parts
An antenna and a radio transmitter/receiver
An RJ-45 wired network interface to connect to a
wired network
Special bridging software
4
Access Point as a Bridge
5
Characteristics of an Access
Point
Range approximately 375 feet (115 meters)
6
Ad Hoc Mode
Ad Hoc Mode or peer-to-peer mode lets wireless
clients communicate among themselves without
an access point
Officially called Independent Basic Services Set
(IBSS), this mode is easy to set up, but it does not
have access to a wired network
See Figure 6-8
7
Ad Hoc Mode
8
Infrastructure Mode
Infrastructure Mode, also called Basic Service
Set (BSS), has wireless clients and an access
point
9
Extended Service Set (ESS)
10
Features of Access Points
Coverage area should overlap when using
multiple access points
Wireless clients survey radio frequencies to find an
AP that provides better service
A seamless handoff occurs when client associates
with new AP
11
ESS and Subdivided Networks
Drawback of ESS WLANs is that all wireless
clients and APs must be part of same network to
allow roaming
12
Wireless Gateway
Devices that follow 802.11 standard are
becoming less expensive and more popular
13
IEEE 802.11
Introduced in 1990
14
WLAN features in PHY and
MAC layers
15
IEEE 802.11b
1999 amendment to 802.11 standard
Called Wi-Fi
16
Physical Layer
Physical layer that sends and receives signals
from network is divided into two parts
See Figure 6-11
17
PHY Sublayers
18
PLCP Sublayer
19
Physical Layer Convergence
Procedure Standards
Based on direct sequence spread spectrum (DSSS)
Reformats data from MAC layer into frame that PMD
sublayer can transmit
See Figure 6-13
20
PLCP Frame
21
Physical Medium Dependent
Standards
Frame created by PLCP passes to PMD sublayer
where binary 1’s and 0’s are translated into radio
signals for transmission
22
802.11b ISM Channels
23
PMD Transmissions
PMD can transmit data at 11, 5.5, 2, or 1 Mbps
1 Mbps transmissions use two-level differential binary
phase shift key (PSK)
2, 5.5, and 11 Mbps transmissions use four-level
phase change
Barker code used to transmit each data bit when
transmitting at 1 or 2 Mbps
Complementary Code Keying (CCK) used for
transmissions rates above 2 Mbps
24
Medium Access Control Layer
802.11 Data Link layer has two sublayers
Logical Link Control (LLC), used in 802.11b wireless
networks with no change from wired network
functions
Media Access control (MAC) contains all changes
necessary for 802.11b WLANs
25
Two Kinds of Coordination
Coordination necessary among devices sharing
same RF spectrum
26
Distributed Coordination
Function
Channel access methods refer to different ways
of sharing
Contention
Computers compete for use of network
May cause collisions that result in scrambled
messages, as seen in Figure 6-14
Must first listen to be sure no other device is
transmitting
27
Collision
28
CSMA/CD
29
CSMA/CD
30
Distributed Coordination
Function (DCF)
802.11b wireless networks cannot use
CSMA/CD because radio signals drown out
ability to detect collisions
31
Packet Acknowledgement
(ACK)
CSMA/CA also reduces collisions by using
explicit packet acknowledgement (ACK)
Receiving client must send back to sending client an
acknowledgement packet showing that packet arrived
intact
If ACK frame is not received by sending client, data
packet is transmitted again after random waiting time
Figure 6-16 illustrates CSMA/CA
32
CSMA/CA
33
RTS/CTS
Virtual Carrier Sensing or Request to Send/ Clear to
Send (RTS/CTS) protocol also reduces collisions
Sending clients sends RTS frame to access point
Access point warns all wireless clients of time to be used
for transmission and then sends requesting client a clear-
to-send (CTS) frame
Upon receiving CTS, sending client proceeds with
transmission
See Figure 6-17
34
RTS/CTS
35
Fragmentation
Fragmentation reduces collisions by reducing time on
wireless medium
If data frame exceeds specific length, MAC layer
36
Point Coordination Function
Polling, an orderly channel access method,
prevents collisions by requiring device to get
permission before transmitting
Each computer is asked in sequence if it wants
to transmit, as shown in Figure 6-18
37
Polling
38
Association and Reassociation
MAC layer uses association and reassociation to make
sure client joins WLAN and stays connected
39
Reassociation
Reassociation involves dropping connection with one
access point and establishing connection with another
AP
Allows mobile clients to roam beyond coverage area of
single AP
Allows client to find new AP if original one becomes weak
or has interference
Client scans to find new AP and sends reassociation
request frame
New AP then sends disassociation frame to
old AP as shown in Figure 6-19
40
Reassociation Process
41
Power Management
802.11b defines power management function for
WLANs in infrastructure mode where mobile
devices go into sleep mode to save battery
power
At intervals AP sends out beacon frame with traffic
indication map (TIM) listing clients that have buffered
frames waiting at AP
All sleeping clients change to active listening mode
and, if frames are waiting, request that frames be
forward, as seen in Figure 6-20
42
Power Management
43
MAC Frame Formats
802.11b specifies three different MAC frame
formats
Management frames—set up initial communication
between client and AP, as
seen in Figure 6-21
Control frames—provide assistance in delivering
frame that contains data, as seen
in Figure 6-22
Data frames—carry information to be transmitted to
destination client, as seen in Figure 6-23
44
Management Frame
45
Control Frame
46
Data Frame
47
Interframe Spaces
802.11b defines three different interframe spaces
(IFS) or time gaps for special types of
transmissions, as shown in Table 6-2
Short IFS (SIFS)—used for immediate response
actions such as ACK
Point Coordination Function IFS (PIFS)—used
to poll nodes that have specific time requirement
Distributed Coordination function IFS
(DIFS)—standard interval between transmission of data
frames
48
Interframe Spaces
49
CSMA/CA Transmissions and
Backoff Intervals
Figure 6-24 shows transmission by Client A using
DSSS with backoff interval of 3
Receiving client sends back ACK in SIFS gap; then
process starts over again
Figure 6-25 shows two clients needing to transmit
with client with lowest backoff interval getting
access first
Client A using DSSS has backoff interval of 3 while Client
B has backoff interval of only 2
50
CSMA/CA with
One Client Transmitting
51
CSMA/CA with
Two Clients Transmitting
52
ANY QUESTIONS ?
53