Unit-02 (C03) Wireless
Unit-02 (C03) Wireless
• IEEE 802.11: This is the original standard created in 1997 but currently defunct. The version
supports a maximum connection speed of 1Mbps. Unfortunately, devices using this version are no
longer produced and don’t work on today’s equipment.
• IEEE 802.11a: This second version was developed in 1999 and works on a 5GHz Wi-Fi band. The
version was released hoping that it will encounter less interference, especially since most devices
then used the 2.4GHz band. Nonetheless, IEEE 802.11a is faster, with maximum data rates of
1.5Mbps to 54Mbps.
• IEEE 802.11b: This version was also developed in 1999 but used the typical unregulated radio
signalling frequency of the 2.4GHz band. It comes with a maximum speed of 11Mbps, and it is the
version that increased Wi-Fi’s popularity. Most vendors preferred using these frequencies due to
low production costs. Unfortunately, its unregulated nature means that IEEE 802.11b can face
interference from cordless phones, ovens, and all other devices using the 2.4GHz range.
IEEE Wireless Standards
• IEEE 802.11g: This 2003 sequel improved the maximum data rates of 54Mbps
while maintaining the reliable 2.4GHz band usage, which explains its widespread
adoption. Also called Wi-Fi 3, this standard combines the good features of IEEE
802.11b and IEEE 802.11a. As such, it is compatible with backward technologies,
meaning that 802.11b APs can work with IEEE 802.11g adapters.
• IEEE 802.11n: The IEEE 802.11n, otherwise called Wireless N or Wi-Fi 4, was
developed to improve the bandwidth rates provided by IEEE 802.11g. This
standard uses several antennas and wireless signals, popularly known as MIMO
technology, contrary to the one used by IEEE 802.11g. 802.11n was ratified by
industry standards in 2009, enabling it to provide maximum network bandwidths
of 600Mbps. It also offers a better Wi-Fi range compared to previous standards
since it has a higher signal intensity. The only drawback of this standard is that it
is more expensive than IEEE 802.11g.
IEEE Wireless Standards
• IEEE 802.11ac: Also called Wi-Fi 5, this Wi-Fi standard was created in 2014 and
primarily supports the 5GHz frequency band. It offers increased bandwidth, with
potential speeds exceeding 1Gbps using multiple spatial streams and advanced
modulation techniques. While the standard operates on 5GHz for high speeds, it
also supports 2.4GHz frequencies to maintain compatibility with older devices. It
is backward compatible with previous Wi-Fi standards such as 802.11a/b/g/n. This
was the initial Wi-Fi standard that facilitated the utilization of multiple
input/multiple output (MIMO) technology, allowing the use of multiple antennas
on both transmitting and receiving devices to minimize errors and enhance speed.
• IEEE 802.11ax: The IEEE 802.11ax, also known as Wi-Fi 6, is the recent and
game-changing Wi-Fi standard that is up to 10 times faster than 802.11ac. It
features a maximum data rate of 1.3Gbs and operates on both 2.4GHz and 5GHz
frequencies.
IEEE Wireless Standards
IEEE Wireless Standards
While both 802.11ac and 802.11ax provide robust performance for modern
wireless networks, they differ significantly in their design goals and practical
applications. 802.11ac is popular for its high throughput and low latency,
especially when dealing with high-definition video streaming and online
gaming. It relies heavily on the 5GHz band for compatibility with older
devices. In contrast, 802.11ax not only more than doubles the speed of
802.11ac, but also introduces advanced technologies such as OFDMA and
MU-MIMO, which significantly increase the efficiency and capacity of the
network. 802.11ax not only supports the 2.4GHz and 5GHz frequency bands
but also has the ability to expand into the future 6GHz frequency band,
making it the ideal solution for future IoT devices and high-density network
environments.
802.11 ac vs 802.11 ax
Practical Applications of 802.11
Standards
1. Home Networking
• Wi-Fi Routers and Access Points: Routers use 802.11 standards (such as 802.11n, 802.11ac, 802.11ax) to provide
wireless internet access within homes.
• Smart Home Devices: Many smart home devices (like smart thermostats, bulbs, and security systems) rely on Wi-
Fi for communication.
2. Enterprise Networking
• Office WLANs: Businesses use enterprise-grade access points and routers to provide robust and scalable wireless
networking.
• VoIP and Video Conferencing: 802.11 networks support real-time communication applications like VoIP and
video conferencing.
3. Industrial Applications
• IoT Devices: 802.11 standards support Internet of Things (IoT) devices used in industrial automation and control
systems.
• Factory Automation: Wireless networks connect sensors, machines, and control systems in smart factories.
• Key 802.11 standards and their applications:
802.11
• 802.11b/g/n (2.4 GHz Band): Suitable for general home and small
business use due to decent range and good compatibility with older
devices.
• 802.11a/ac (5 GHz Band): Ideal for higher bandwidth applications
like HD streaming and gaming, though with a shorter range compared
to the 2.4 GHz band.
• 802.11ax (Wi-Fi 6): Offers better performance, efficiency, and
capacity, well-suited for dense environments like stadiums, airports,
and large enterprise deployments.
The IEEE 802 family and its relation to the OSI model
The IEEE 802 family and its relation to
the OSI model
IEEE 802 specifications are focused on the two lowest layers of the OSI model because they incorporate both
physical and data link components. All 802 networks have both a MAC and a
Physical (PHY) component. The MAC is a set of rules to determine how to access the medium and send data,
but the details of transmission and reception are left to the PHY.
• The base 802.11 specification includes the 802.11 MAC and two physical layers: a frequency-hopping spread-
spectrum
• (FHSS) physical layer and a direct-sequence spread-spectrum (DSSS) link layer. Later revisions to
• 802.11 added additional physical layers. 802.11b specifies a high-rate direct-sequence layer
• (HR/DSSS); products based on 802.11b hit the marketplace in 1999 and make up the bulk of the installed
base. 802.11a describes a physical layer based on orthogonal frequency division multiplexing (OFDM)
802.11 splits the PHY into two generic
components
• 802.11 splits the PHY into two generic components: the Physical Layer Convergence Procedure (PLCP), to
map the MAC frames onto the medium, and a Physical Medium Dependent (PMD) system to transmit those
frames. The PLCP straddles the boundary of the MAC and physical layers.
Components of 802.11 LANs
Distribution system
When several access points are connected to form a large coverage area, they must
communicate with each other to track the movements of mobile stations. The distribution
system is the logical component of 802.11 used to forward frames to their destination. 802.11
does not specify any particular technology for the distribution system. In most commercial
products, the distribution system is implemented as a combination of a bridging engine and a
distribution system medium, which is the backbone network used to relay frames between
access points; it is often called simply the backbone network. In nearly all commercially
successful products, Ethernet is used as the backbone network technology.
Components of 802.11 LANs
Access points
• Frames on an 802.11 network must be converted to another type of frame for delivery to the rest of the world.
Devices called access points perform the wireless-to-wired bridging function. (Access points perform a
number of other functions, but bridging is by far the most important.)
Wireless medium
• To move frames from station to station, the standard uses a wireless medium. Several different physical layers
are defined; the architecture allows multiple physical layers to be developed to support the 802.11 MAC.
Initially, two radio frequency (RF) physical layers and one infrared physical layer were standardized, though
the RF layers have proven far more popular.
Stations
• Networks are built to transfer data between stations. Stations are computing devices with wireless network
interfaces. Typically, stations are battery-operated laptop or handheld computers. In some environments,
wireless networking is used to avoid pulling new cable, and desktops are connected by wireless LANs.
Components of 802.11 LANs
• One common use is to create a short-lived network to support a single meeting in a conference room. As the
meeting begins, the participants create an IBSS to share data. When the meeting ends, the IBSS is dissolved.
Due to their short duration, small size, and focused purpose, IBSSs are sometimes referred to as ad hoc BSSs
or ad hoc networks.
Why Hotspot?
Infrastructure networks
Infrastructure BSS (never called an IBSS). Infrastructure networks are distinguished by the use of an access
point.
• Access points are used for all communications in infrastructure networks, including communication between
mobile nodes in the same service area. If one mobile station in an infrastructure BSS needs to communicate
with a second mobile station, the communication must take two hops. First, the originating mobile station
transfers the frame to the access point. Second, the access point transfers the frame to the destination station.
With all communications relayed through an access point, the basic service area corresponding to an
infrastructure BSS is defined by the points in which transmissions from the access point can be received.
BSSs can create coverage in small offices and homes, but they
cannot provide network coverage to larger areas. 802.11 allows
wireless networks of arbitrarily large size to be created by
linking BSSs into an extended service set (ESS). An ESS is
created by chaining BSSs together with a backbone network.
802.11 does not specify a particular backbone technology; it
requires only that the backbone provide a specified set of
services. In Figure, the ESS is the union of the four BSSs
(provided that all the access points are configured to be part of
the same ESS). In real-world deployments, the degree
of overlap between the BSSs would probably be much greater
than the overlap.
Extended service set
• Stations within the same ESS may communicate with each other, even though these stations may be in
different basic service areas and may even be moving between basic service areas. For stations in an ESS to
communicate with each other, the wireless medium must act like a single layer 2 connection. Access points
act as bridges, so direct communication between stations in an ESS requires that the backbone network also
be a layer 2 connection. Any link-layer connection will suffice. Several access points in a single area may be
connected to a single hub or switch, or they can use virtual LANs if the link-layer connection must span a
large area.
Physical-Layer Architecture
The physical layer is divided into two sublayers: the Physical Layer Convergence Procedure (PLCP)
sublayer and the Physical Medium Dependent (PMD) sublayer. The PLCP is the glue
between the frames of the MAC and the radio transmissions in the air. It adds its own header.
Normally, frames include a preamble to help synchronize incoming transmissions. The requirements
of the preamble may depend on the modulation method, however, so the PLCP adds its own header to
any transmitted frames. The PMD is responsible for transmitting any bits it receives from the PLCP
into the air using the antenna. The physical layer also incorporates a clear channel assessment (CCA)
function to indicate to the MAC when a signal is detected.
Physical Layers
Three physical layers were standardized in the initial revision of 802.11, which was published in 1997:
• Frequency-hopping (FH) spread-spectrum radio PHY
• Direct-sequence (DS) spread-spectrum radio PHY
• Infrared light (IR) PHY
In 1999, two further physical layers based on radio technology were developed:
• 802.11a: Orthogonal Frequency Division Multiplexing (OFDM) PHY
• 802.11b: High-Rate Direct Sequence (HR/DS or HR/DSSS) PHY
IR WLAN
▪ 802.11 also includes a specification for a physical layer based on infrared (IR) light. Using infrared light instead of
radio waves seems to have several advantages. IR ports are less expensive than radio transceivers—in fact, the cost
is low enough that IR ports are standard on practically every laptop.
▪ IR is extremely tolerant of radio frequency (RF) interference because radio waves operate at a totally different
frequency. This leads to a second advantage: IR is unregulated. Product developers do not need to investigate and
comply with directives from several regulatory organizations throughout the world.
▪ Security concerns regarding 802.11 are largely based on the threat of unauthorized users connecting to a network.
Light can be confined to a conference room or office by simply closing the door. IR-based LANs can offer some of
the advantages of flexibility and mobility but with fewer security concerns. This comes at a price. IR LANs rely on
scattering light off the ceiling, so range is much shorter.
The big drivers to adopt 802.11 are flexibility and mobility, which are better achieved by radio’s longer
range and ability to penetrate solid objects.
50,000 nm -700 nm
Directed and Diffused
Directed and Diffused
Diffused:
Reflected rays to diffuse or transmit data & follows multiple paths
One Tx can be used for transmission to multiple receiver (broadcast)
Station can be stationary and mobile
1-4mbps
Directed:
stationary with LoS (TV and remote)
1-10 mbps
Diffused Infrared WLAN
Characteristics
Coverage and Range: Diffused infrared systems do not require a direct line of sight, allowing them to operate
effectively in environments where obstacles might block the signal. They typically cover distances of about 15 to 60
meters, depending on the specific implementation and environmental conditions.
Data Rate: The data rates for diffused infrared WLANs generally range from 1 to 4 Mbps. Some implementations
can achieve higher rates under optimal conditions, but this is the common range observed in practical applications.
Mobility Support: These systems support both stationary and mobile devices, making them suitable for dynamic
environments like offices or temporary setups.
Applications
Diffused infrared is particularly useful in environments such as hospitals, offices, and schools where robust
connectivity is needed without the requirement for extensive cabling. It allows for easy setup and mobility among
devices within the coverage area.
Directed Infrared WLAN
Directed
Characteristics
Coverage and Range: Directed infrared systems require a clear line of sight between
the transmitter and receiver. They typically have a range of about 25 meters.
Data Rate: These systems can achieve higher data rates, generally ranging from 1 to
10 Mbps, depending on the specific technology used. Advanced configurations may
allow for even higher throughput under optimal conditions.
Mobility Support: Directed infrared is primarily suited for stationary applications
due to its line-of-sight requirement, making it less flexible than diffused systems.
Applications
Directed infrared is often used in personal area networks (PANs) or situations
where devices are fixed in position but require high-speed connections, such as
between a computer and a printer in close proximity.
IrDA vs IR WLAN
• IrDA: Generally operates in a point-to-point configuration where two
devices communicate directly without any intermediary devices.
• Infrared WLAN: Can support more complex network topologies
including peer-to-peer configurations and ad hoc networks, allowing
multiple devices to communicate simultaneously within the same
area
Spread-spectrum techniques:
The radio-based physical layers in 802.11 use three different spread-spectrum techniques:
Node 1 has a frame to send; it initiates the process by sending an RTS frame. The RTS frame serves several
purposes: in addition to reserving the radio link for transmission, it silences any stations that hear it. If the target
station receives an RTS, it responds with a CTS. Like the RTS frame, the CTS frame silences stations in the immediate
vicinity. Once the RTS/CTS exchange is complete, node 1 can transmit its frames without worry of interference from
any hidden nodes. Hidden nodes beyond the range of the sending station are silenced by the CTS from the receiver.
When the RTS/CTS clearing procedure is used, any frames must be positively acknowledged.
MAC coordination functions
Carrier-Sensing Functions and the
Network Allocation Vector
• Physical carrier-sensing functions are provided by the physical layer in
question and depend on the medium and modulation used. It is difficult (or, more
to the point, expensive) to build physical carrier-sensing hardware for RF-based
media, because transceivers can transmit and receive simultaneously only if they
incorporate expensive electronics. Furthermore, with hidden nodes potentially
lurking everywhere, physical carrier-sensing cannot provide all the necessary
information.
• Virtual carrier-sensing is provided by the Network Allocation Vector (NAV). Most
802.11 frames carry a duration field, which can be used to reserve the medium
for a fixed time period. The NAV is a timer that indicates the amount of time the
medium will be reserved, in microseconds. Stations set the NAV to the time for
which they expect to use the medium, including any frames necessary to
complete the current operation. Other stations count down from the NAV to 0.
When the NAV is nonzero, the virtual carrier-sensing function indicates that the
medium is busy; when the NAV reaches 0, the virtual carrier-sensing function
indicates that the medium is idle.
Features of DCF (Distributed Coordination
Function)
Cyclic Redundancy Check (CRC):
• Ensures data integrity by detecting errors in the transmitted packets.
• A CRC code is appended to the data before transmission, and at the receiver's
end, the CRC is recalculated to verify if the data has been altered during
transmission.
• Error detection, not correction: if an error is detected, the packet is discarded,
and the sender is notified to retransmit the packet.
Packet Fragmentation:
• Large data packets are broken down into smaller fragments before transmission.
• Each fragment is transmitted separately, reducing the chances of collisions and
improving reliability, especially in environments with high interference.
• If one fragment is lost, only that fragment needs to be retransmitted, instead of
the whole packet, improving efficiency.
Backoff Mechanism in Distributed
Coordination Function (DCF)
It helps manage channel access in a shared medium to avoid collisions
between multiple devices attempting to transmit data simultaneously.
Backoff Timer:
• When the medium is busy, a device enters the backoff phase.
• A random backoff timer is selected, which counts down during idle
periods of the channel. When the backoff timer expires, the device
transmits its data.
• This random timer helps distribute transmission attempts over time,
reducing the chance of multiple devices transmitting simultaneously
(collisions).
Backoff Counter Mechanism:
• The backoff counter is chosen randomly from a range called the
Contention Window (CW), which is initially small.
• When a device finds the medium busy, it waits for the DIFS (DCF
Interframe Space) time, then selects a backoff counter in the range
[0,𝐶𝑊−1] slots, and decrements the counter as the medium remains
idle.
• If the medium becomes busy (e.g., another device starts
transmitting), the device pauses its countdown and resumes when
the channel is free again.
Backoff Process - Step-by-Step:
1.Check Medium:
1. Device checks if the medium is idle or busy.
2.Busy Medium:
1. If the medium is busy, the device waits and sets a backoff timer.
3.Idle Medium:
1. Once the medium becomes idle, the device begins counting down the backoff timer
after waiting for a DIFS period.
4.Transmission:
1. When the backoff timer reaches zero, the device transmits its data.
5.Collision Handling:
1. If a collision occurs (no ACK received), the Contention Window (CW) size is doubled,
and the device selects a new backoff timer.
PCF
• PCF is an optional centralized access method in wireless networks.
• Operates in infrastructure mode, where a Point Coordinator (PC) (usually
the Access Point) manages the communication.
• Aims to provide collision-free communication and support for time-
sensitive services (e.g., voice or video).
• Polling Mechanism:
• The Access Point (AP) polls stations, giving them the opportunity to
transmit without competing for the medium.
• Stations only transmit when polled by the AP, ensuring collision-free
communication.
• Point Coordination Function (PCF) was never widely implemented in WLAN
networks.
PCF and DCF can coexist
In an IEEE 802.11 network, both PCF and DCF can coexist. While DCF is
used by most devices for normal operation, PCF can be employed by
the access point to manage traffic for applications that require more
stringent timing and bandwidth guarantees.
However, it's important to note that PCF is optional and not widely
implemented in many modern Wi-Fi networks, which primarily use DCF
due to its simpler implementation and effectiveness for general data
traffic.
HCF
Hybrid Coordination Function (HCF): The introduction of HCF in later
standards (such as 802.11e) provided enhanced capabilities that
combined features of both DCF and PCF while addressing their
limitations. HCF includes mechanisms for prioritizing traffic without the
need for the polling system inherent in PCF, making it more appealing
to manufacturers and users alike.
802.11 MAC frame format:
• 802.11 MAC frames do not include some of the classic Ethernet frame
features, most notably the type/length field and the preamble. The
preamble is part of the physical layer, and encapsulation details such as
type and length are present in the header on the data carried in the 802.11
frame.
Frame Control:
Contains control flags and frame type (management, control, or data).
Defines how the frame should be processed by the receiver.
Duration/ID:
Specifies the time for which the medium will be reserved for transmission (NAV:
Network Allocation Vector).
Used in power-saving modes for identification of stations.
Generic 802.11 MAC frame
Address Fields (1-4):
Address 1: Typically, the destination address.
Address 2: The source address (originating device).
Address 3: The BSSID (MAC address of the Access Point) in infrastructure mode or the
destination address in ad-hoc mode.
Address 4: Only present in certain frames (e.g., when using wireless distribution
systems, WDS).
Sequence Control:
Ensures proper ordering of fragmented frames and helps in duplicate frame
detection.
Includes a fragment number and a sequence number.
802.11 MAC frame
Frame Body:
Contains the data payload in data frames or management/control
information in other types of frames.
Management Frames: Includes information like authentication or association
data.
Control Frames: Helps manage access to the medium.
Data Frames: Carry the actual user data.
Frame Check Sequence (FCS):
A Cyclic Redundancy Check (CRC) used for error detection.
Ensures data integrity by allowing the receiver to detect any errors that
occurred during transmission.
Frames vs Packets:
Both units of data used in communication networks, but they function at different layers and serve
different purposes.
Layer of Operation:
▪ Packet: Operates at the network layer (Layer 3 of the OSI model). It is the unit of data that is
routed through networks.
▪ Frame: Operates at the data link layer (Layer 2 of the OSI model). It includes data encapsulated
with a header and trailer to be transmitted over a physical network medium.
•Association Response:
•The AP replies with an Association Response frame.
•This frame informs the station whether it is accepted or rejected.
•If accepted, the AP assigns an Association ID (AID) to the station.
•Completion:
•Once associated, the station can exchange data frames with the AP.
•The AP tracks the station's association and maintains its status in the network.
Re-association Process:
When is Re-association Needed?
Roaming: When a station moves out of range of one AP and closer to another AP, it initiates re-association to
maintain connectivity.
Network Transition: To switch from one AP to another while staying connected to the network.
Re-association Request:
The station sends a Re-association Request frame to the new AP. The request contains information about the
previous AP, allowing the new AP to coordinate with it for seamless handoff.
Re-association Response:
The new AP sends a Re-association Response frame, similar to the Association Response. If accepted, the new
AP will take over the station's connection.
Seamless Transition:
The station's session and network parameters are transferred to the new AP, allowing for continuous network
access without interruption.
Power management in IEEE 802.11
Power management in IEEE 802.11 wireless networks is designed to conserve battery life
for wireless devices, particularly in mobile stations (laptops, smartphones, etc.). It allows
devices to alternate between active communication and low-power states without losing
their connection to the network.