Professional Documents
Culture Documents
Chapter-5 Local Area Network
Chapter-5 Local Area Network
Chapter-5 Local Area Network
● IEEE has defined the specifications for a wireless LAN, called IEEE 802.11,
which covers the physical and data link layers
● Two kinds of services:
1. the basic service set (BSS) and
2. the extended service set (ESS)
5
Extended Service Set
● Extended Service Set
● An extended service set (ESS) is made up of two or more BSSs with
APs
● The BSSs are connected through a distribution system, which is usually a
wired LAN.
● The distribution system connects the APs in the BSSs. IEEE 802.11 does
not restrict the distribution system; it can be any IEEE LAN such as an
Ethernet.
● It uses two types of stations: mobile and stationary.
1. The mobile stations are normal stations inside a BSS.
2. The stationary stations are AP stations that are part of a wired LAN
6
Extended Service Set
7
Extended Service Set
● The stations within reach of one another can communicate without
the use of an AP.
● Communication between two stations in two different BSS usually
occurs via two APs
Station types
● Based on their mobility in a wireless LAN:
1. No-transition: either stationary (not moving) or moving only
inside a BSS
2. BSS-transition: can move from one BSS to another
3. ESS-transition mobility: can move from one ESS to another
8
MAC Sublayer
● IEEE 802.11 defines two MAC sublayers: the distributed coordination
function (DCF) and point coordination function (PCF)
9
Distributed Coordination Function
● DCF uses CSMA/CA as the access method
● Frame Exchange Time Line : shows the exchange of data and
control frames in time.
request to send
10
Distributed Coordination Function
11
Distributed Coordination Function
12
Distributed Coordination Function
13
Distributed Coordination Function
14
Point Coordination Function (PCF)
● Due to the priority of PCF over DCF, stations that only use
DCF may not gain access to the medium
Frame control (FC): The FC field is 2 bytes long and defines the type of frame
and some control information.
Ex: management frames, control frames, and data frames 18
Frame Format
● D: this field defines the duration of the transmission that is used to set the
value of NAV.
● 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.
19
Subfields in FC field
20
Frame Format
● Management Frames: they are used for the initial communication between
stations and access points.
● Control Frames : they are used for accessing the channel and acknowledging
frames.
Addressing Mechanism
22
Addressing Mechanism
23
Hidden station problem
Hidden stations can reduce the capacity of the network because of the
possibility of collision.
24
Hidden station problem
25
Use of handshaking to prevent hidden station problem
26
Physical Layer
28
Bluetooth
29
Bluetooth
31
Bluetooth
● Bluetooth technology is the implementation of a protocol
defined by the IEEE 802.15 standard.
● The standard defines a wireless personal-area network (PAN)
operable in an area the size of a room or a hall
Architecture
● two types of networks:
● piconet and
● scatternet
32
Piconet Bluetooth
● It can have up to eight stations, one of which is called the
primary; the rest are called secondary.
● All the secondary stations synchronize their clocks and hopping
sequence with the primary
33
Scatternet
Bluetooth Devices
● A Bluetooth device has a built-in short-range radio
transmitter.
● The current data rate is 1 Mbps with a 2.4-GHz bandwidth
● there is a possibility of interference between the IEEE 802.11b
wireless LANs and Bluetooth LANs
34
35
Bluetooth Layers
36
Bluetooth Layers
Radio Layer
38
Baseband Layer
40
Multiple-secondary communication
41
Physical Links in bluetooth
42
Physical Links in bluetooth
43
Frame Format
45
Frame Format
● Access code: This 72-bit field normally contains synchronization
bits and the identifier of the primary to distinguish the frame of one
piconet from another
● Header: This 54-bit field is a repeated 18-bit pattern. Each pattern
has the following
● subfields:
● Address: The 3-bit address subfield can define up to seven
secondaries
● If the address is zero, it is used for broadcast communication from
the primary to all secondaries
46
Frame Format
47
Frame Format
48
L2CAP layer and data packet format
49
Zigbee
50
Zigbee
Zigbee Applications:
● Home Automation
● Medical Data Collection
● Industrial Control Systems
51
ZigBee architecture
52
53
54
General Characteristics of Zigbee Standard:
55
Operating Frequency Bands
56
Zigbee architecture
57