Professional Documents
Culture Documents
Chuong 4 Wireless Lan
Chuong 4 Wireless Lan
Chuong 4 Wireless Lan
Chapter 4
WIRELESS LAN
1
3/24/2016
IEEE 802.11
2
3/24/2016
Advantages
Flexibility: very flexible within the reception area
Planning: Ad-hoc networks without previous
planning possible
Design: (almost) no wiring difficulties (e.g. historic
buildings, firewalls)
Robustness: more robust against disasters like, e.g.,
earthquakes, fire or users pulling a plug
Cost: Adding additional users to a wireless network
will not increase the cost.
6
3
3/24/2016
Disadvantages
Quality of service: typically very low bandwidth
compared to wired networks (1-10 Mbit/s)
Proprietary solutions: many proprietary solutions,
especially for higher bit-rates, standards take time
(e.g. IEEE 802.11). Now, 802.11g is a popular
solution.
Restrictions: products have to follow many national
restrictions if working wireless, it takes long time to
establish global solutions like, e.g., IMT-2000
Safety and security: Precautions have to be taken to
prevent safety hazards. Secrecy and integrity must be
7
assured.
4
3/24/2016
wireless hosts
laptop, PDA, IP phone
run applications
may be stationary (non-
mobile) or mobile
network wireless does not
infrastructure always mean mobility
6-9
base station
typically connected to
wired network
relay - responsible for
sending packets
between wired
network network and wireless
infrastructure host(s) in its “area”
e.g., cell towers,
802.11 access
points
6-10
5
3/24/2016
wireless link
typically used to
connect mobile(s) to
base station
also used as backbone
link
network multiple access
infrastructure protocol coordinates
link access
various data rates,
transmission distance
6-11
6
3/24/2016
infrastructure mode
base station connects
mobiles into wired
network
handoff: mobile
changes base station
network providing connection
infrastructure into wired network
6-14
7
3/24/2016
ad hoc mode
no base stations
nodes can only
transmit to other
nodes within link
coverage
nodes organize
themselves into a
network: route among
themselves
6-15
16
8
3/24/2016
17
infrastructure
network
access point
application application
TCP TCP
IP IP
LLC LLC LLC
802.11 MAC 802.11 MAC 802.3 MAC 802.3 MAC
802.11 PHY 802.11 PHY 802.3 PHY 802.3 PHY
9
3/24/2016
6-19
10-4
SNR versus BER tradeoffs
given physical layer: increase
10-5
>decrease BER
10-7
10 20 30 40
given SNR: choose physical SNR(dB)
layer that meets BER
QAM256 (8 Mbps)
requirement, giving highest
QAM16 (4 Mbps)
thruput
SNR may change with mobility: BPSK (1 Mbps)
10
3/24/2016
A B C
C
space
Hidden terminal problem
B, A hear each other Signal attenuation:
B, C hear each other B, A hear each other
A, C can not hear each other B, C hear each other
means A, C unaware of their A, C can not hear each other
interference at B interfering at B
6-21
22
11
3/24/2016
BSS 1
AP
12
3/24/2016
25
13
3/24/2016
CSMA/CA flowchart
27
28
14
3/24/2016
30
15
3/24/2016
31
16
3/24/2016
33
17
3/24/2016
35
36
18
3/24/2016
37
Fragmentation
38
19
3/24/2016
Frame Format
39
Subfields in FC field
40
20
3/24/2016
D field :In all frame types except one, this field defines the duration
of the transmission that is used to set the value of NAY. In one
control frame, this field defines the ID of the frame.
Addresses. There are four address fields, each 6 bytes long. The
meaning of each address field depends on the value of the To DS
and From DS subfields
Sequence control. This field defines the sequence number of the
frame to be used in flow control.
Frame body. This field, which can be between 0 and 2312 bytes,
contains information based on the type and the subtype defined in
the FC field.
FCS. The FCS field is 4 bytes long and contains a CRC-32 error
detection sequence.
41
Frame Types
42
21
3/24/2016
43
Addressing Mechanism
44
22
3/24/2016
Addressing mechanisms
46
23
3/24/2016
48
24
3/24/2016
49
50
25
3/24/2016
51
Physical layer
52
26
3/24/2016
53
27
3/24/2016
55
56
28
3/24/2016
BSS 2
6-57
29
3/24/2016
AP 1 AP 2 AP 1 1 AP 2
1 1 2 2
2 3
3 4
H1 H1
A B C
C
A’s signal C’s signal
B strength strength
A
space
6-60
30
3/24/2016
802.11 sender
1 if sense channel idle for DIFS then sender receiver
transmit entire frame (no CD)
2 if sense channel busy then DIFS
- if frame received OK
return ACK after SIFS (ACK needed due to hidden
terminal problem)
6-61
6-62
31
3/24/2016
A B
AP
reservation collision
DATA (A)
defer
time
6-63
2 2 6 6 6 2 6 0 - 2312 4
frame address address address seq address
duration payload CRC
control 1 2 3 control 4
6-64
32
3/24/2016
Internet
H1 R1 router
AP
802.3 frame
802.11 frame
6-65
2 2 6 6 6 2 6 0 - 2312 4
frame address address address seq address
duration payload CRC
control 1 2 3 control 4
2 2 4 1 1 1 1 1 1 1 1
Protocol To From More Power More
Type Subtype Retry WEP Rsvd
version AP AP frag mgt data
frame type
(RTS, CTS, ACK, data)
6-66
33