0% acharam este documento útil (0 voto)
5 visualizações116 páginas

Introdução ao Computação Móvel

MC Sem 5 Notes

Enviado por

Nicole Falcao
Direitos autorais
© All Rights Reserved
Levamos muito a sério os direitos de conteúdo. Se você suspeita que este conteúdo é seu, reivindique-o aqui.
Formatos disponíveis
Baixe no formato PDF, TXT ou leia on-line no Scribd
0% acharam este documento útil (0 voto)
5 visualizações116 páginas

Introdução ao Computação Móvel

MC Sem 5 Notes

Enviado por

Nicole Falcao
Direitos autorais
© All Rights Reserved
Levamos muito a sério os direitos de conteúdo. Se você suspeita que este conteúdo é seu, reivindique-o aqui.
Formatos disponíveis
Baixe no formato PDF, TXT ou leia on-line no Scribd

Module 1.

Introduction To Mobile Computing

[Link] to mobile computing

Mobile computing is human–computer interaction in which a computer is


expected to be transported during normal usage and allow for transmission of
data, which can include voice and video transmissions. Mobile computing
involves mobile communication, mobile hardware, and mobile software.
Communication issues include ad hoc networks and infrastructure networks
as well as communication properties, protocols, data formats, and concrete
technologies. Hardware includes mobile devices or device components.
Mobile software deals with the characteristics and requirements of mobile
applications.

A mobile computing system involves a mobile device, such as a laptop


computer or a smartphone, and a wireless network connection based on Wi-
Fi or cellular wireless technology, such as 5G. Mobile devices typically can
store data locally, and access to that data doesn't require a network
connection.

Applications of MC
[Link]
The integration of mobile computing in vehicles brings forth a range of
applications that enhance the overall driving experience, safety, and
ef ciency. Here are some key applications outlined in the provided text:

• Wireless Communication Systems:


• Digital Audio Broadcasting (DAB) is utilized to receive music,
news, road conditions, and weather reports, providing
entertainment and real-time information to drivers.
• Universal Mobile Telecommunications System (UMTS) phones
offer voice and data connectivity, allowing for personal
communication on the go.
• Navigation and Location Services:
• Global Positioning System (GPS) is employed to determine the
current position of the vehicle, aiding in navigation and location-
based services.
• Emergency Communication:
• In case of accidents, vehicles are equipped to trigger emergency
calls to service providers, informing authorities like the police and
ambulance services automatically.
fi
• An ad-hoc network is established among nearby vehicles,
enabling fast information exchange during emergency situations
and improving response times.
• Safety Alert Systems:
• Vehicles can communicate with each other via an ad-hoc network,
allowing them to share information about accidents or road
hazards. This information can be used to warn other drivers and
prevent further accidents.
• Fleet Management for Commercial Vehicles:
• Buses, trucks, and trains transmit maintenance and logistic
information to their home base, facilitating eet management and
improving overall organizational ef ciency.
• Satellite Communication for Remote Areas:
• In remote areas, where traditional communication infrastructure
may be lacking, satellite communication can be employed to
ensure continuous connectivity.
• Infotainment Systems:
• In-car wireless pico networks enable connectivity between
personal digital assistants (PDAs), laptops, and mobile phones,
providing passengers with a range of infotainment options.
• Preventive Maintenance:
• Transmitting maintenance information from vehicles to their home
base helps in proactive maintenance, reducing downtime and
saving time and money for commercial vehicle operators.
• Interconnection of Networks:
• Different wireless networks, including cellular phones (GSM,
UMTS), trunked radio systems (TETRA), and wireless LANs
(WLAN), are interconnected, ensuring seamless communication
and connectivity.

[Link]
Instant Access to Company Databases:
• Traveling employees, such as salespeople, can have instant
access to the company's database, ensuring that the information
on their laptops re ects the most current data. This is crucial for
making informed decisions and conducting business on the go.
• Mobile Of ce Capability:
• Wireless access allows laptops to transform into true mobile
of ces, enabling employees to work seamlessly from any location.
This is particularly bene cial for remote workers or those who
frequently travel for business.
• Activity Tracking:
fi
fi
fl
fi
fi
fl
• The company can keep track of the activities of traveling
employees in real-time, providing insights into their movements,
interactions, and work progress. This helps in monitoring
productivity and optimizing business processes.
• Data Consistency and Synchronization:
• Ef cient and powerful synchronization mechanisms are crucial to
maintaining data consistency across various devices and
locations. This ensures that employees have access to the latest
information, regardless of where they are working from.
• Wireless Connectivity Handovers:
• Employees transitioning between different locations and networks
experience seamless handovers. For example, transitioning from
a home WLAN or LAN to an enhanced version of GSM when
leaving home. This requires robust handover mechanisms to
maintain continuous connectivity.
• High-Speed Data Access:
• Despite potential data rate drops at higher speeds or in areas with
interference, the goal is to provide high-speed data access for
employees, ensuring that they can work ef ciently and access
necessary resources even while on the move.

• Support for Various Technologies:


• Different technologies, such as GSM, WLAN, and DSL, are
seamlessly integrated to provide continuous connectivity. This
involves multiple handovers between technologies to ensure a
smooth transition as employees move through different
environments.
• Enhanced Connectivity during Commutes:
• Employees commuting via trains can make use of the support for
wireless connectivity, allowing them to remain connected and
productive during transit.
• Constant Connectivity to Internet, Intranet, and Telephone
Network:
• Regardless of time and location, mobile communications should
always strive to offer optimal connectivity to the internet, the
company's intranet, or the telephone network. This ensures that
employees can stay in touch, access resources, and
communicate effectively.

[Link] dependent services


• Follow-On Services:
fi
fi
• In the context of mobile computing, follow-on services involve
forwarding calls or data to the current user location. For instance,
a mobile computer could provide a consistent desktop
environment worldwide, automatically forwarding emails and
storing changes to documents at a central location. Multimedia
conference calls could also be redirected to the user's current
location.
• Location-Aware Services:
• Location-aware services leverage information about the user's
current location for various purposes. For example, if a user
wants to print a document in a hotel lobby, the service can identify
the available printers and charge the user accordingly. This
ensures that location-speci c capabilities are utilized ef ciently.
• Privacy Considerations:
• Privacy becomes a crucial aspect when using location-dependent
services. Users may want certain services to follow them, such as
important emails, while excluding others, like video calls, in
speci c locations or times. Striking a balance between utilizing
location-dependent services and maintaining user privacy is
essential.
• Information Services:
• Mobile computing enables users to actively seek information
based on their location, such as nding the nearest restaurant.
Additionally, information services can proactively push relevant
information to users, such as special offers from nearby
businesses. This enhances the user experience by providing
timely and contextually relevant information.
• Support Services:
• Support services involve integrating mechanisms to assist mobile
devices. For example, intermediate results of calculations, state
information, or cached contents can follow the mobile node
through the xed network. When the mobile node reconnects, all
information is readily available, reducing access delay and traf c
within the xed network. This approach is particularly bene cial in
situations where caching on the mobile device is limited due to
memory constraints.

[Link] Services
• Mobile Banking Apps:
• Banking institutions offer mobile apps that allow customers to
access their accounts, check balances, view transaction history,
fi
fi
fi
fi
fi
fi
fi
fi
and perform various banking transactions. These apps provide a
user-friendly interface for on-the-go banking.
• Mobile Payments:
• Mobile computing facilitates various payment methods, including
mobile wallets and contactless payments. Customers can make
transactions using their smartphones, making purchases,
transferring money, and even settling bills with ease.
• Mobile Deposit:
• Many banks allow customers to deposit checks by capturing
images of them using their mobile devices. This eliminates the
need to visit a physical bank branch, providing convenience for
customers.
• SMS Banking:
• Basic banking services can be accessed through SMS (Short
Message Service). Customers can receive alerts, check account
balances, and get transaction noti cations via text messages.
• Alerts and Noti cations:
• Mobile apps provide real-time alerts and noti cations, keeping
customers informed about account activities, low balances, or
suspicious transactions. This enhances security and helps
customers stay vigilant about their nances.
• ATM and Branch Locator:
• Mobile banking apps often include features that help users locate
the nearest ATMs or bank branches. This is especially useful
when customers need in-person assistance or want to avoid ATM
fees.
• Mobile Trading:
• For customers involved in stock trading, mobile computing allows
them to monitor stock prices, execute trades, and manage their
investment portfolios using dedicated mobile trading apps.
• Personal Finance Management:
• Mobile banking apps often include tools for personal nance
management, allowing users to set budgets, track expenses, and
analyze spending patterns. This helps customers make informed
nancial decisions.

[Link] Generations
[Link]
[Link]

[Link] Systems
fi
fi
fi
fi
fi
fi
[Link] Spectrum
[Link]
#:~:text=The%20electromagnetic%20spectrum%20consists%20of,visible%20
light%20or%20ultraviolet%20radiation.
The electromagnetic spectrum is the range of all electromagnetic radiation,
which includes a vast array of waves with different frequencies and
wavelengths. It encompasses everything from extremely low-frequency (ELF)
radio waves to extremely high-frequency (EHF) gamma rays. The spectrum is
typically divided into different regions based on these frequencies or
wavelengths.

[Link]
An antenna can be de ned as an electrical conductor or system of
conductors used either for radiating electromagnetic energy or for collecting
electromagnetic energy.
For transmission of a signal, radio-frequency electrical energy from the
transmitter is converted into electromagnetic energy by the antenna and
radiated into the surrounding environment (atmosphere, space, water).
For reception of a signal, electromagnetic energy impinging on the antenna is
converted into radio- frequency electrical energy and fed into the receiver.

In two-way communication, the same antenna can be and often is used for
both transmission and reception. This is possible because any antenna
transfers energy from the surrounding environment to its input receiver
terminals with the same ef ciency that it transfers energy from the output
transmitter terminals into the surrounding environment, assuming that the
same frequency is used in both directions.
Put another way, antenna characteristics are essentially the same whether an
antenna is sending or receiving electromagnetic energy.

Types - [Link] -antenna-in-wireless-


networks/
[Link]
Antenna_types#:~:text=These%20are%20sometimes%20further%20subdivid
ed,both%20types%20of%20composite%20antennas.

Omni directional - an omnidirectional antenna is a type of antenna which


radiates equal radio power in all directions perpendicular to its axis its power
varies with angle to the axis (elevation angle), declining to zero on the axis.[1][2]
Omnidirectional antennas are designed to radiate or receive signals in all
directions, providing a 360-degree coverage [Link] the horizontal plane, it
looks like a perfect [Link] three dimensions , its radiation pattern is
fi
fi
fi
doughnut-shaped / toroid shaped. Omnidirectional antennas are widely used
for radio broadcasting[3] and in mobile devices that use radio such as cell
phones, FM radios, walkie-talkies, wireless computer networks, cordless
phones, [Link] Omni directional antenna’s general range is given in dBi;
the higher the dBi number, the greater the range.

Semi directional - [Link]


technologies/semi-directional-antennas/

Highly directional

[Link] wave Dipole Antenna : The half-wave dipole consists of two straight
collinear conductors of equal length, separated by a small gap. The length of
the antenna is one-half the wavelength of the signal that can be transmitted
most ef ciently.
The radiation pattern of an antenna describes how it sends or receives
signals in different directions in space. A half-wave dipole has a uniform or
omnidirectional radiation pattern in one dimension meaning , the antenna
sends or receives signals equally well in all directions along the plane parallel
to the ground
and a gure eight pattern in the other two dimensions , The gure-eight
pattern indicates that the antenna is most effective in sending or receiving
signals in two opposite directions. These directions are perpendicular to the
axis of the antenna .
The range of frequency in which half-wave dipole operates is around 3KHz to
300GHz. This is mostly used in radio receivers.

[Link] wave antenna : A quarter-wave antenna, often known as a quarter-


wave vertical or Marconi antenna, is a type of antenna commonly used in
applications like automobile radios and portable radios.
fi
fi
fi
The length of the quarter-wave antenna is one-fourth (1/4) of the wavelength
of the signal it is designed to transmit or receive ef ciently. Unlike the half-
wave dipole, the quarter-wave antenna is typically oriented vertically. It may
consist of a vertical rod or [Link] radiation pattern of a quarter-wave
antenna is typically omnidirectional in the horizontal plane.

[Link] Propagation
Signal propagation in mobile computing refers to the transmission and
reception of wireless signals between mobile devices (such as smartphones,
tablets, and laptops) and the communication infrastructure, which includes
base stations, access points, and other network elements.
Signal propagation refers to the way in which electromagnetic waves,
carrying information in the form of signals, travel from a transmitter to a
receiver through a medium, such as air or space .
When E.M. waves carry data in the form of voice, images etc. it is known as
signal. Signal on its way from sender to receiver is effected by several factors
like distance as well as the environmental objects it interacts with. According
to the properties of the object, earth’s atmosphere and wavelength of signal,
the signal undergoes different phenomena like re ection, refraction,
diffraction and scattering. Due to these phenomena, various effects occur
which destructively or constructively effect the communication.

Factors affecting strength and path of EM waves


Distance between transmitter and receiver
Frequency/wavelength of wave
Earth’s atmosphere
Environmental objects

Modes of Propagation : A signal radiated from an antenna travels along one


of three routes: ground wave, sky wave, or line of sight (LOS) , the mode of
propagation selected depends only upon the nature , wavelength , frequency
of the waves and other environmental factors
fl
fi
[Link] Wave Propagation : Ground wave propagation is a mode of radio
wave propagation that involves the transmission of electromagnetic waves
along the Earth's surface.
This type of propagation is commonly used for medium-frequency (MF) and
high-frequency (HF) radio communication , Ground wave propagation occurs
primarily due to diffraction, where radio waves bend around obstacles and
follow the curvature of the Earth.
Ground wave propagation is typically associated with frequencies up to the
lower VHF (Very High Frequency) range, including the MF and HF bands.
The exact frequency range can vary, but it is generally below 2 MHz for
reliable ground wave propagation.
In the context of ground wave propagation, diffraction causes the waves to
bend around obstacles, such as buildings or terrain features. This bending or
diffraction enables the waves to travel along the Earth's surface and navigate
around obstacles, enhancing the coverage area.
Also When an electromagnetic wave, such as those used in AM radio
frequencies, encounters the Earth's surface, it induces a current in the Earth.
This induced current slows down the wave near the Earth's surface. As a
result, the wavefront tilts downward, and follows the curvature of the Earth.
This phenomenon aids in the propagation of the wave over the Earth's
surface.
Ground wave propagation becomes less effective at higher frequencies due
to increased absorption by the Earth's surface. As frequencies increase, the
ground wave range decreases .
The best-known example of ground wave communication is AM radio
[Link] Wave Propagation : With sky wave propagation, a signal from an earth-
based antenna is re ected from the ionised layer of the upper atmosphere
(ionosphere) back down to earth. Although it appears the wave is re ected
from the ionosphere as if the ionosphere were a hard re ecting surface, the
effect is in fact caused by [Link] type of propagation enables long-
distance communication, particularly in the High Frequency (HF) and Very
High Frequency (VHF) radio bands . Sky wave propagation is particularly
effective in the HF frequency band (3 MHz to 30 MHz)
Refraction is described subsequently. A sky wave signal can travel through a
number of hops, bouncing back and forth between the ionosphere and the
earth's surface (Figure 5.5b). With this propagation mode, a signal can be
picked up thousands of kilometres from the transmitter.
Sky wave propagation is used for amateur radio, CB radio, and international
broad- casts such as BBC and Voice of America.

[Link] of Sight : Line-of-sight (LOS) propagation is a mode of radio wave


propagation where the transmission path is unobstructed, allowing the radio
waves to travel in a straight line from the transmitter to the receiver. In this
fl
fl
fl
propagation mode, both the transmitting and receiving antennas must have a
clear and direct line of sight to each other . This mode of propagation is used
for communication in the Very High Frequency (VHF), Ultra High Frequency
(UHF), and microwave bands , for frequencies above 30MHz
Above 30 MHz, neither ground wave nor sky wave propagation modes
operate, and communication must be by line of sight .Eg:For satellite
communication, a signal above 30 MHz is not re ected by the ionosphere and
therefore can be transmit- ted between an earth station and a satellite
overhead that is not beyond the horizon.

Signal Characteristics
Signal characteristics refer to various properties and attributes of a signal that
can be analyzed and described. These characteristics provide insights into
the behavior, quality, and content of the signal. Here are some key signal
characteristics:

• Amplitude:
• The amplitude of a signal represents its strength or intensity. It is
the maximum value of the signal's waveform, measuring the
extent of its deviation from the baseline.
• Frequency:
• Frequency is the number of cycles or oscillations of a signal per
unit of time. It is measured in Hertz (Hz). Higher frequencies
correspond to more rapid oscillations.

• Phase:
• Phase describes the position of a signal waveform in relation to a
reference point in time. It is often expressed in degrees and
indicates the time relationship between different signals or
components of a signal.
fl
• Wavelength:
• Wavelength is the spatial length of one cycle of a signal. It is
inversely proportional to frequency, meaning higher frequencies
have shorter wavelengths.
• Period:
• The period of a signal is the reciprocal of its frequency. It
represents the time it takes for one
complete cycle of the signal to occur.
• Duty Cycle:
• Duty cycle is a measure of the ratio of the
duration of the active (on) part of a signal to the total period of the
signal. It is often expressed as a percentage.
• Rise Time and Fall Time:
• Rise time is the time it takes for a signal to transition from a low to
a high level, while fall time is the time for the transition from high
to low. These are important in assessing how quickly a signal
changes.
• Pulse Width:
• Pulse width is the duration of time during which a signal is at its
maximum level in a pulse waveform.
• Peak, Peak-to-Peak, and RMS Values:
• Peak value is the maximum absolute value of a signal. Peak-to-
peak value is the difference between the maximum and minimum
values. RMS (Root Mean Square) value is a measure of the
signal's effective value.
• Noise:
• Noise refers to unwanted or random variations in a signal that can
affect its quality. Signal-to-noise ratio (SNR) is a measure of the
ratio of the signal's strength to the strength of background noise.
• Bandwidth:
• Bandwidth is the range of frequencies within which a signal
operates. It is often de ned by the difference between the upper
and lower frequencies of the signal.
• Modulation:
• Modulation refers to the process of varying one or more
properties of a carrier signal in accordance with the information in
a modulating signal. Amplitude modulation (AM), frequency
modulation (FM), and phase modulation (PM) are common
modulation techniques.
• Spectrum:
fi
• The spectrum of a signal represents its frequency content. It can
be analyzed using Fourier analysis to identify the individual
frequency components present in the signal.

[Link]
Multiplexing is a technique used in communication systems to transmit
multiple signals over a single communication channel simultaneously. The
primary goal of multiplexing is to make ef cient use of the available
bandwidth and optimize the use of the transmission medium .
It is almost always the case that the capacity of the transmission medium is
more than the capacity required for the transmission of a single signal. To
make e cient use of the transmission system, it is desirable to carry multiple
signals on a single medium. This is referred to as multiplexing.

Eg: There are n inputs to a multiplexer. The multiplexer is connected by a


single data link to a demultiplexer. The link is able to carry n separate
channels of data. The multiplexer , combines (multiplexes) data from the n
input lines and transmits over a higher- capacity data link. The demultiplexer
accepts the multiplexed data stream, separates (demultiplexes) the data
according to channel, and delivers them to the appropriate output lines.

Types of
Multiplexing

[Link] Division Multiplexing (FDM) : Frequency Division Multiplexing


(FDM) is a multiplexing technique that allows multiple signals to be
transmitted simultaneously over a shared communication channel by dividing
the available frequency spectrum into distinct frequency bands. Each signal is
assigned a unique frequency band, and these bands do not overlap.
A number of signals can be carried simultaneously if each signal is modulated
onto a different carrier frequency and the carrier frequencies are suf ciently
separated so that the bandwidths of the signals do not overlap. Six signal
sources are fed into a multiplexer that modulates each signal onto a different
frequency (f1,. .. ,f6)' Each signal requires a certain bandwidth centered on its
carrier frequency, referred to as a channel. To prevent interference, the
ffi
fi
fi
channels are separated by guard bands, which are unused portions of the
spectrum .

[Link] division multiplexing : Time Division Multiplexing (TDM) is a technique


used to transmit multiple signals over a single communication channel by
dividing the available time into discrete time slots. Each time slot is dedicated
to a speci c signal or data stream. Time-division multiplexing (TDM) is a
method of putting multiple data streams in a single signal by separating the
signal into many segments, each having a very short duration. Each
individual data stream is reassembled at the receiving end based on the
timing.
The circuit that combines signals at the source (transmitting) end of a
communications link is known as a multiplexer. It accepts the input from each
individual end user, breaks each signal into segments, and assigns the
segments to the composite signal in a rotating, repeating sequence. The
composite signal thus contains data from multiple senders. At the other end of
the long-distance cable, the individual signals are separated out by means of
a circuit called a demultiplexer, and routed to the proper end users. A two-way
communications circuit requires a multiplexer/demultiplexer at each end of
the long-distance, high-bandwidth cable.
If many signals must be sent along a single long-distance line, careful
engineering is required to ensure that the system will perform properly. An
asset of TDM is its exibility. The scheme allows for variation in the number of
signals being sent along the line, and constantly adjusts the time intervals to
make optimum use of the available bandwidth.

Synchronous Time Division Multiplexing (Synchronous TDM):


fi
fl
In

Synchronous TDM, time is divided into xed, equal-sized slots, and these
slots are organized into frames. Each frame corresponds to one complete
cycle of time slots. The key characteristic of Synchronous TDM is that each
input signal is given a dedicated time slot in the output frame.
One limitation of Synchronous TDM is its inef ciency when dealing with idle
or unused time slots. If an input frame has no data to send during its
designated time slot, that time slot in the output frame remains empty. This
results in a waste of bandwidth.
To address synchronization issues, a synchronous bit is typically included at
the beginning of each frame. This bit helps receivers identify the beginning of
a new frame and ensures proper synchronization of the transmitted signals.

Statistical Time Division Multiplexing (Statistical TDM):


Statistical TDM takes a more exible approach compared to Synchronous
TDM. In this method, the output frame collects data from the input frames
until it is full, without leaving empty slots. Unlike Synchronous TDM, Statistical
TDM does not assign xed time slots for each input signal.
To manage the variable nature of the input data, Statistical TDM requires the
inclusion of addresses for each speci c data in the slots being sent to the
output frame. These addresses help in identifying the source of the data
within the frame.
The advantage of Statistical TDM lies in its improved ef ciency. It fully utilizes
the channel capacity by dynamically allocating time slots based on the
fi
fl
fi
fi
fi
fi
presence of data in the input frames. This leads to better bandwidth ef ciency
compared to Synchronous TDM, especially when dealing with varying data
traf c.

[Link]
statistical-tdm/
[Link]

8. Spread Spectrum

Spread spectrum is a communication technique by which a signal (e.g., an


electrical, analog, electromagnetic, or acoustic) having a particularly narrow
bandwidth is spread in the frequency domain over a wider frequency band.
It is a technique used to enhance the bandwidth of the baseband signal by
using pseudorandom code.
The signal is intentionally spread over a wider frequency band than is
minimally necessary for transmission , The effect of this modulation is to
fi
fi
increase signi cantly the bandwidth (spread the spectrum) of the signal to be
transmitted.
Input signal(digital) is fed into a channel encoder that produces an analog
signal with a relatively narrow bandwidth around some center frequency.
This signal is further modulated using a sequence of digits (digits can be 4
digited or 8 digit , each digit corresponds to a frequency) known as a
spreading code . The spreading code is generated by a pseudorandomnoise,
generator. The effect of this modulation is to increase signi cantly the
bandwidth (spread the spectrum) of the signal to be transmitted. On the
receiving end, the same digit sequence is used to demodulate the spread
spectrum signal. Finally, the signal is fed into a channel decoder to recover
the data.

*Channel encoder : It is device that converts digital signal to analog signal


*Frequency Modulation : Frequency modulation (FM) is the encoding of
information in a carrier wave by varying the instantaneous frequency of the
wave

Advantages : This method is employed for various purposes, including


reducing interference, improving security, and enhancing the reliability of
communication systems.

[Link] can gain immunity from various kinds of noise and multipath distortion.
The earliest applications of spread spectrum were military where it was used
for its immunity to jamming.

2. It can also be used for hiding and encrypting signals. Only a recipient who
knows the spreading code can recover the encoded information.

[Link] users can independently use the same higher bandwidth with very
little interference. This property is used in cellular telephony applications, with
a technique know as code division multiple access (CDMA).
fi
fi
FHSS :
Frequency hopping Spread Spectrum : Frequency hopping is a spread
spectrum communication technique where the signal rapidly changes its
transmission frequency according to a predetermined sequence.

In Frequency hopping Spread Spectrum the signal is broadcast over various


random series of radio frequencies, hopping from frequency to frequency at
xed intervals meaning the frequency of the signal changes from one
frequency to another after xed time intervals . A receiver, hopping between
frequencies in synchronzation with the transmitter, picks up the message ,
meaning the receiver’s input frequency also changes similarly as the sender’s
frequency is changed , thus both sender and receiver have the same
frequencies which enables the receiver to pick up the message

Basic Working : There are 2^k different carrier frequencies onto which the
input signal can be modulated on , and thus corresponding to each frequency
there is a separate channel , forming a total of 2^k channels . The Transmitter
operates in one channel at a time , generating an output frequency based on
that channel type . After a xed time interval generally after every 300ms of
transmission , the transmitter changes the channel and starts operating in a
different channel , generating a different output frequency thus hopping
between frequencies .
The sequence of channels used is dictated by a spreading code. Both
transmitter and receiver use the same code to operate into a sequence of
channels in synchronization.
fi
fi
fi
Work Flow : For Data transmission, binary data (digital signal) is fed into a
modulator (or channel encoder) using some digital-to-analog encoding
scheme, such as frequency-shift keying (FSK) or binary phase-shift keying
(BPSK) to obtain an analog signal sd(t) that is centered on some base
frequency (fb )which has a narrow bandwidth.
A pseudorandom noise or number source generates a random number from a
set of 2^k numbers at an interval of say 300ms , this PN number which is
either of 4 digits or 8 digits is used as an index into a table of frequencies ,
corresponding to the PN number there is a frequency and a channel that
produces that frequency speci ed in the table , then according to the same , a
Modulator is used to modulate the initial frequency signal sd(t) onto the new
frequency say (fn) selected , to generate the new freq s(t) , having the same
shape but is now centred on a carrier freq fb, When two frequencies fb and fn
are modulated , the modulation process generates signals with frequencies
corresponding to the sum (fb+fn) and difference (fb-fn) , A bandpass ltering
device is used , that allows only the sum part of the signal to be transmitted ,
thus removing the difference part of the signal .
On reception, the spread spectrum signal is demodulated using the same
sequence of PN-derived frequencies and then is de-modulated to produce the
output data.
This signal is then transmitted to the receiver , this process repeats after a
xed interval of time during the signal’s total transmission time to enable
frequency hopping
Advantages of FHSS:
• Resistance to Interference:
• FHSS provides robustness against narrowband interference and
frequency-selective fading. The signal rapidly changes its
frequency, making it dif cult for interference on a speci c
frequency to signi cantly impact the overall communication.
• Security:
• FHSS enhances security by making it more challenging for
unauthorized users to intercept or jam the signal. The hopping
sequence is synchronized between the transmitter and receiver
using a spreading code, adding a layer of encryption to the
communication.
• Coexistence with Other Systems:
• FHSS allows multiple systems to coexist in the same frequency
band without causing interference. This is particularly bene cial in
crowded radio frequency environments.
fi
fi
fi
fi
fi
fi
fi
• Improved Reliability:
• FHSS can improve reliability in wireless communication,
especially in environments with high interference or when dealing
with fading and multipath propagation. The signal can navigate
around interference by hopping to different frequencies.
• Low Probability of Intercept (LPI):
• FHSS exhibits a low probability of intercept, making it less
detectable by unintended receivers.
Disadvantages of FHSS:
• Reduced Data Rate:
• The frequent hopping between channels can result in a lower
effective data rate compared to other modulation techniques. The
time spent on each channel during hopping intervals limits the
data transfer speed.
• Complexity and Cost:
• Implementing FHSS systems can be more complex and
expensive than simpler modulation schemes. Synchronization
and coordination between transmitter and receiver require
additional components.
• Limited Range:
• FHSS may have a limited range compared to some other
communication methods. Rapid frequency hopping can result in a
shorter effective communication distance.
• Synchronization Challenges:
• Achieving and maintaining synchronization between the
transmitter and receiver is crucial for FHSS. If synchronization is
lost, it can lead to communication errors.
• Regulatory Constraints:
• Some regulatory environments may have restrictions on the use
of frequency hopping, and users may need to adhere to speci c
frequency-hopping patterns or avoid certain frequency ranges.
• Vulnerability to Jamming in Wideband Systems:
• In wideband systems, where the frequency hopping covers a
broad range, FHSS may still be vulnerable to certain types of
jamming techniques.

DSSS : Direct Sequence Spread Spectrum - DSSS is a transmission


technology used in wireless communication. This method involves spreading
the signal over a larger bandwidth than what is required for simple
transmission. The original data signal is combined with a higher rate bit
sequence, also known as a chipping code, to increase the signal’s bandwidth.

For direct sequence spread spectrum (DSSS), each bit in the original signal is
represented by multiple bits in the transmitted signal, using a spreading code.
The spreading code spreads the signal across a wider frequency band in
direct proportion to the number of bits used.

DSSS spreads the signal by multiplying each bit of the original data by a
sequence of chips/bits (spreading code). Each bit of the original signal is
expanded into a longer sequence using the spreading code.
The spreading code increases the signal's bandwidth, providing resilience to
interference and noise , resulting in a wider frequency spectrum signal. This
chipping code, or pseudorandom code, is a sequence of 0s and 1s at a much
higher frequency than the original signal. The receiver, using the same
fi
chipping code, can then de-spread the spread signal and retrieve the original
data.

Basic Working of DSSS


The binary data/digital signal to be transmitted is rstly converted into an
analog signal centred on a base frequency using a Modulator with BPSK
scheme s(t) , here the 0 is represented by -1, then a pseudorandom noise
fi
sequence source generates a spreading code , While the sequence appears
random, it is deterministic.
The spreading code is a sequence of bits, typically consisting of +1 and -1
(representing 0) values . The spreading code is represented as say c(t)
Each bit of the original data is multiplied (or XORed) with the corresponding
bit of the spreading code.
The signal transmitted is sd(t) = s(t) x c(t)
This process is known as spreading, and it occurs before the modulation of
the signal.
At the receiver’s end the modulated signal s(t) is again multiplied by c(t) to
obtain s(t)
[Link]-channel interference
[Link]
interference-in-mobile-computing/
Co-Channel Interference (CCI) occurs when multiple communication signals
that share the same frequency spectrum interfere with each other. This
interference can degrade the quality of the received signals and impact the
overall performance of communication systems. Co-channel interference is
particularly relevant in scenarios where multiple transmitters operate in the
same frequency band.
Causes of Co-Channel Interference:

• Frequency Reuse:
• In cellular networks and other communication systems, the same
frequency channels are often reused across different cells or
geographical areas to maximize spectrum ef ciency. When
signals from different cells or transmitters use the same frequency
channel, co-channel interference can occur.
• Limited Frequency Spectrum:
• In congested or crowded frequency bands, available spectrum is
limited. Multiple users or systems may be forced to share the
same set of frequencies, leading to interference.
• Signal Propagation:
• Co-channel interference can be exacerbated by the propagation
characteristics of radio waves. Signals may propagate beyond
their intended coverage areas, leading to overlapping regions
where interference occurs.
Prevention and Mitigation of Co-Channel Interference:

• Frequency Planning:
• Effective frequency planning involves allocating different
frequency channels to neighboring cells or transmitters. By
minimizing the reuse of frequencies in adjacent areas, the
likelihood of interference is reduced.
• Cell Design and Sectorization:
• Cellular networks often employ sectorization, dividing cells into
sectors served by different antennas. This helps in directing
signals more precisely and reducing the chances of interference.
• Power Control:
• Dynamic power control mechanisms can be implemented to
adjust the transmit power of each transmitter based on the quality
of the received signal. This ensures that neighboring cells or
transmitters operate at power levels that minimize interference.
fi
• Smart Antenna Systems:
• Smart antenna systems, such as adaptive beamforming, can
focus the transmission in speci c directions, reducing the
potential for interference in unwanted areas.
• Frequency Hopping Spread Spectrum (FHSS) and Direct Sequence
Spread Spectrum (DSSS):
• Spread spectrum techniques like FHSS and DSSS distribute the
signal across a wide frequency band, making the system more
resistant to interference. They can be effective in mitigating co-
channel interference.
• Interference Avoidance Algorithms:
• Advanced interference avoidance algorithms in wireless systems
can dynamically adjust parameters such as transmission timing
and frequency selection to minimize interference.
• Spectrum Sharing Protocols:
• Cognitive radio and dynamic spectrum access technologies
enable devices to intelligently sense and adapt to the radio
frequency environment. Devices can opportunistically access
available spectrum to avoid interference.
• Interference Coordination:
• Coordination between neighboring cells or transmitters is
essential. Communication protocols and standards may include
mechanisms for interference coordination to optimize frequency
usage.
• Use of MIMO Technology:
• Multiple Input Multiple Output (MIMO) technology uses multiple
antennas for both transmission and reception, allowing for spatial
multiplexing. This can improve spectral ef ciency and reduce
interference.
• Regulatory Measures:
• Regulatory bodies may impose rules and standards to manage
co-channel interference. This could include limitations on transmit
power, frequency assignments, and interference mitigation
techniques.
fi
fi
Module 2 : GSM Mobile Services

[Link] Mobile Services


The Global System for Mobile Communications (GSM) is a standard
developed by the European Telecommunications Standards Institute (ETSI)
to describe the protocols for digital cellular networks used by mobile devices
such as mobile phones and tablets.
GSM permits the integration of different voice and data services and the inter-
working with existing networks. Services make a network interesting for
customers. GSM has de ned three different categories of services: bearer,
tele, and supplementary services
Services - Bearer services , Tele services , Supplementary services

2. System Architecture
(Pg 121 bk-1)
GSM has a hierarchical, complex system architecture comprising of many
entities, interfaces, and acronyms. A GSM system consists of three
subsystems, the radio sub system (RSS), the network and switching
subsystem (NSS), and the operation subsystem (OSS). Generally, a GSM
customer only notices a very small fraction of the whole network – the mobile
stations (MS) and some
antenna masts of the
base transceiver stations
(BTS).

[Link]
fi
[Link] : The “heart” of the GSM system is formed by the network and
switching sub-system (NSS).
(Functions)
The NSS facilitates communication between the GSM wireless network and
standard public networks like landline etc, enabling users to connect with
each other and communicate across different networks.
The NSS plays a vital role in managing handovers, allowing mobile devices to
transition smoothly between different Base Station Subsystems (BSS). This is
crucial for maintaining an ongoing call or data session as a user moves within
the network coverage area.
The NSS supports functions that enable the worldwide localization of users.
This means that users can be tracked and located globally, facilitating
services such as international roaming.
The NSS is responsible for handling charging and accounting functions for
the services used by the users.
For users who travel between different countries or regions, the NSS
supports roaming capabilities. This involves the ability for users to seamlessly
connect to different providers in different countries while maintaining their
identity and service continuity.

The NSS consists of the following switches and databases

[Link] Service switching centre (MSC) : Mobile Services Switching


Center (MSC) plays a crucial role in establishing, managing, and terminating
the phone call.
MSCs are high-performance digital ISDN (Integrated Services Digital
Network) switches.
They are responsible for setting up phone call connections to other MSCs
and to the Base Station Controllers (BSCs) via the A interface. The A interface
is the interface between the MSC and the BSC in a GSM system.
MSCs form the xed backbone network of a GSM system. Typically, an MSC
manages several BSCs in a geographical region.
Some MSCs, known as Gateway MSCs, have additional connections to other
xed networks, such as the Public Switched Telephone Network (PSTN) and
ISDN. GMSCs play a role in connecting calls between the mobile network
and external [Link] additional interworking functions (IWF), an MSC
can also connect to public data networks (PDN) such as X.25. This allows for
data communication over the GSM network.
An MSC handles all signaling required for call connection setup, connection
release, and handover of connections to other MSCs. The signaling system
used for this purpose is Standard Signaling System No. 7 (SS7).SS7 covers
various aspects of control signaling for digital networks, ensuring reliable
fi
fi
routing and delivery of control messages, as well as establishing and
monitoring calls. Features of SS7 include free phone/toll/collect/credit calls,
call forwarding, three-way calling, etc .
MSC also performs functions related to supplementary services, such as call
forwarding, multi-party calls, reverse charging, and more.

Role of MSC in a phone call? [Link]


d74bbfd0-5894-4869-bfef-fd862fd7f43d

[Link] Location Register (HLR) : The Home Location Register (HLR) is a


critical component of NSS in a GSM (Global System for Mobile
Communications) system, serving as the central database that stores
essential information about mobile subscribers.
Its role is crucial in providing user-speci c data for call setup, call routing, and
ensuring the proper functioning of mobile services.
The HLR stores both static and dynamic information about each mobile
subscriber.
Static information includes details like the Mobile Subscriber ISDN Number
(MSISDN), subscribed services (e.g., call forwarding, roaming restrictions,
GPRS), and the International Mobile Subscriber Identity (IMSI).
Dynamic information includes the current location area (LA) of the mobile
station (MS), the Mobile Subscriber Roaming Number (MSRN), the current
Visitor Location Register (VLR), and Mobile Switching Center (MSC)
associated with the subscriber.
As a mobile station moves between different Location Areas (LAs) or
connects to new VLRs and MSCs, the HLR is updated with the current
information to re ect the user's latest location and status.
The information stored in the HLR is crucial for localizing a user within the
worldwide GSM network. It enables the network to route calls and messages
to the correct location based on the user's current position.
Each user's information, including MSISDN, IMSI, and subscribed services,
exists only once in a single HLR. This ensures consistency and avoids data
duplication within the network.
The HLR plays a role in tracking call duration, data usage, and other relevant
metrics for billing purposes.
HLRs are designed to handle data for several million customers. They contain
highly specialized databases that must meet real-time requirements to
respond to network requests within speci c time constraints.

[Link] Location Register (VLR) : The Visitor Location Register (VLR) is a


dynamic database associated with each Mobile Switching Center (MSC) in a
GSM (Global System for Mobile Communications) network.
fl
fi
fi
Its primary function is to store important information about mobile station (MS)
users currently located in the speci c Location Area (LA) associated with the
MSC.
The VLR is a dynamic database, meaning it continuously updates and stores
information about MS users within the particular LA associated with the MSC.
This information includes details such as the International Mobile Subscriber
Identity (IMSI), Mobile Subscriber ISDN Number (MSISDN), and the Home
Location Register (HLR) address associated with each user.
When a new MS enters a particular LA for which the VLR is responsible, the
VLR copies all relevant information for that user from the Home Location
Register (HLR). This information transfer helps avoid frequent updates to the
HLR and reduces the need for long-distance signaling of user data.
The VLR works in conjunction with the HLR in a hierarchical structure. the
VLR, associated with a speci c MSC and LA, maintains up-to-date
information about users within its coverage area.
The collaboration between the VLR and HLR allows for ef cient user
localization. When a user moves into a new LA, the VLR retrieves the
necessary information from the HLR, minimizing the need for constant
updates to the HLR and reducing the signaling load on the network.

[Link] and Calling

Mobile Terminated Call (MTC) : A Mobile Terminated Call (MTC) refers to


a situation in which a call is directed towards a mobile subscriber, and
the termination point of the call is the mobile device itself. In other
words, it is an incoming call to a mobile phone or other mobile device.
If someone calls you on your mobile phone, it's a Mobile Terminated Call.
Working
1.A user initiates a call by dialing the phone number of a GSM subscriber.

[Link] Public Switched Telephone Network (PSTN) recognizes that the call is
for a GSM subscriber and forwards the call setup request to the Gateway
MSC (GMSC).

[Link] GMSC identi es the Home Location Register (HLR) for the subscriber
based on the phone number and signals the call setup to the HLR.

[Link] HLR veri es the subscriber's existence, subscription, and requested


services based on the IMSI during the veri cation process.
GSM uses the IMSI for internal unique identi cation of a subscriber. The IMSI
is part of the information sent for authentication to the GSM network.
fi
fi
fi
fi
fi
fi
fi
It then requests a Mobile Subscriber Roaming Number (MSRN) from the
current Visitor Location Register (VLR).

[Link] HLR receives the MSRN from the [Link] MSRN helps the HLR to
nd a subscriber for an incoming call.

[Link] HLR determines the MSC responsible for the Mobile Station (MS) of
recipient using the MSRN and forwards this information to the GMSC.

[Link] GMSC forwards the call setup request to the identi ed MSC.

[Link] MSC requests the current status of the MS from the Visitor Location
Register (VLR).

If the MS is available, the MSC initiates paging in all cells it is responsible for
(Location Area, LA). This allows the MS to be located without searching for
the right cell.

[Link] the MS answers, the VLR performs security checks, such as setting up
[Link] TMSI is a temporary and randomly assigned identity used for
security and privacy purposes. It helps protect the subscriber's identity during
communication within the GSM network.
The VLR may use the TMSI during the paging process to locate the Mobile
Station (MS) within its coverage area without revealing the IMSI.
Security checks, such as encryption setup, may involve the use of the TMSI
to maintain the con dentiality of the subscriber.

[Link] VLR signals to the MSC to set up a connection to the MS.

After successful setup, both parties can exchange data while the user
decides to terminate the call.
fi
fi
fi
Mobile Originated Call (MOC): A Mobile Originated Call (MOC) refers to a
situation where a call is initiated by a mobile device user. In other
words, it is an outgoing call made from a mobile phone
When you dial a phone number and make a call from your mobile phone, it's
a Mobile Originated Call.
Working
[Link] Mobile Station (MS) transmits a request for a new connection.

[Link] Base Station Subsystem (BSS) forwards this request to the Mobile
Switching Center (MSC).

[Link] MSC checks if the user is allowed to set up a call with the requested
service by sending signal to HLR to verify existence of user and its services
Later it encrypts the message using VLR
and veri es the availability of resources through the GSM network and into
the PSTN.

[Link] all resources are available, the MSC sets up a connection between the
MS and the PSTN.

[Link] parties can exchange data until the user decides to end the call.

[Link]

Handover/HandOff , is a critical process that involves the transfer of an


ongoing call or communication session from one cell to another within a
mobile network. This is necessary because individual cells in a cellular
network have limited coverage areas, and as mobile stations (devices) move,
they transition between different cells. The primary aim of handover is to
maintain continuous connectivity and prevent call drop or service interruption
as mobile stations move throughout the network.
4 Types
[Link]-cell Handover:
Intra-cell handover occurs within a single cell. It is needed when narrow-band
interference at a speci c frequency makes transmission impossible.
The Base Station Controller (BSC) detects interference or unfavorable
[Link] BSC decides to change the carrier frequency within the same
fi
fi
cell.A new radio channel is assigned in the same cell, and the old one is
released.

[Link]-cell, Intra-BSC Handover:


a mobile station moving from one cell to another but staying within the control
of the same BSC (Base Station Controller).
The mobile station transitions from the coverage area of one cell to another .
The BSC, which controls both cells, performs a handover.
A new radio channel is assigned in the new cell, and the old one is released.

[Link]-BSC, Intra-MSC Handover:As a BSC only controls a limited number


of cells; GSM also has to perform handovers between cells controlled by
different BSCs. This handover then has to be controlled by the MSC
the handover occurs between cells controlled by different BSCs (Base Station
Controllers) but within the same MSC (Mobile Switching Center).
The mobile station moves from a cell controlled by one BSC to a cell
controlled by another BSC.
The handover process is controlled by the MSC.
The new BSC assigns a new radio channel, and the old one is released.

[Link]-MSC Handover:
A handover is required between two cells belonging to different MSCs (Mobile
Switching Centers).
The mobile station moves from a cell controlled by one MSC to a cell
controlled by another MSC.
Both MSCs coordinate the handover process.
A new radio channel is assigned in the new cell, and the old one is released.

[Link]
GSM (Global System for Mobile Communications) incorporates several
security services to protect user data and ensure the con dentiality and
fi
integrity of communication. These security services are facilitated through the
use of con dential information stored in the Authentication Center (AuC) and
the individual Subscriber Identity Module (SIM) cards.

[Link] control and Authentication : The rst security step involves


authenticating a valid user for the SIM. The user is required to enter a secret
Personal Identi cation Number (PIN) to access the SIM card. Subsequently, a
subscriber authentication process takes place, employing a challenge-
response scheme.

[Link] dentiality: After authentication, GSM ensures the con dentiality of


user-related data. Encryption is applied to voice, data, and signaling,
protecting the information from unauthorized access during transmission.
Both the Base Transceiver Station (BTS) and the mobile station (MS) apply
encryption to voice, data, and signaling.
This encryption ensures that the communication between the MS and the
BTS is secure.

[Link]: GSM provides user anonymity by encrypting all data before


transmission and avoiding the use of user identi ers that could reveal identity.
Instead, a temporary identi er, known as Temporary Mobile Subscriber
Identity (TMSI), is transmitted. The TMSI is assigned by the Visitor Location
Register (VLR) after each location update, and it can be changed by the VLR
at any time.

Three speci ed algorithms are employed to provide security services in GSM:


Algorithm A3 for authentication, Algorithm A5 for encryption, and Algorithm A8
for the generation of a cipher key.

Subscriber Authentication in GSM

Before a subscriber can use any service from the GSM network, he or she
must be authenticated. Authentication is based on the SIM . SIM stores the
individual authentication key Ki, the unique user identi cation IMSI, and
the algorithm used for authentication A3 which is used to generate the cipher
response SRES.
For each unique individual identi cation IMSI , the AuC generates an
authentication key Ki and Random value RAND and sends it to the HLR for
storing ,
The authentication process uses a challenge-response method , in which ,
every time a user is to be authenticated , The AuC generates a new Random
fi
fi
fi
fi
fi
fi
fi
fi
fi
fi
value RAND and stores it in HLR
with the old values of Ki . The
VLR requests these values
during authentication
This RAND retrieved by VLR ,
from HLR is send to SIM where
the SRES (signed response)
value is calculated by using A3
algorithm on RAND and Ki
values
At the VLR similar operation is
performed , then SIM sends the
SRES value to VLR and if Both
SRES values at VLR and of SIM match , user is accepted else rejected .
The RAND value keeps changing everytime , however Ki value shared by

both SIM and HLR , VLR remains same


[Link] system and protocol architecture
Services by GPRS
GPRS : General packet radio service is an advanced version of the GSM
Service which facilities packet switched data transmission for applications.
In packet switched data transmission , data is broken down into smaller sized
packets before being sent across a network . These discrete packets can
travel independently to their destination. Each packet may take a different
route and may arrive at the destination out of order.
GPRS uses a protocol stack that includes protocols such as IP (Internet
Protocol), TCP (Transmission Control Protocol), and UDP (User Datagram
Protocol).

GPRS Architecture
[Link]

The GPRS (General Packet Radio Service) architecture mainly uses the
existing GSM architecture with some modi cations but also incorporates two
new components known as GPRS support nodes (GSN), which function as
routers within the existing GSM (Global System for Mobile Communications)
architecture. These nodes introduce several new interfaces and play crucial
roles in managing packet data communication.

The Gateway GPRS Support Node (GGSN), is the interface between the
GPRS network and external Packet Data Networks (PDN). The GGSN holds
routing information for GPRS users, executes address conversion, and
facilitates data transmission to users through encapsulation. Connected to
external networks (e.g., IP or X.25) via the Gi interface, the GGSN transfers
packets to the Serving GPRS Support Node (SGSN) through an IP-based
GPRS backbone network (Gn interface).

The Serving GPRS Support Node (SGSN) interacts with Mobile Stations (MS)
through the Gb interface. It performs various tasks, such as requesting user
addresses from the GPRS register (GR), tracking the location of individual
MSs, collecting billing information, and implementing security measures like
access control. The SGSN is linked to a Base Station Controller (BSC)
through frame relay and operates at a similar hierarchical level as a Mobile
Switching Center (MSC). The GPRS register (GR), typically part of the Home
Location Register (HLR), stores all GPRS-related data. Comparatively,
fi
GGSNs and SGSNs can be likened to home and foreign agents, respectively,
in a mobile IP network.

In the data transmission process, packet data travels from a PDN, through
the GGSN and SGSN, directly to the Base Station Subsystem (BSS) and
ultimately to the Mobile Station (MS). Unlike traditional circuit-switched GSM,
where the MSC is responsible for data transport, in GPRS, the MSC is
utilized only for signaling. Additional interfaces to other network elements and
Public Land Mobile Networks (PLMNs) can be found in ETSI (1998b).

Before transmitting data over the GPRS network, a MS must attach to it by


following mobility management procedures. This involves assigning a
temporal identi er called a Temporary Logical Link Identity (TLLI) and a
Ciphering Key Sequence Number (CKSN) for data encryption. A GPRS
context is established for each MS, encompassing the MS's status, CKSN,
compression ag, and routing data (TLLI, Routing Area RA, Cell Identi er,
and Packet Data Channel PDCH Identi er). Mobility management includes
functions like authentication, location management, and ciphering, with the
scope of ciphering extending between the MS and SGSN, surpassing that in
standard GSM. In idle mode, an MS is not reachable, and all context is
deleted. In standby mode, only movements across routing areas are updated
to the SGSN, striking a balance between constant updating and preserving
battery power. In the ready state, every movement of the MS is indicated to
the SGSN.
fl
fi
fi
fi
GPRS protocol Architecture
[Link] [Link]/itp12/chapter/gprs/
The key components and protocols involved in the GPRS transmission plane
are detailed as follows:
GPRS Tunnelling Protocol (GTP): All data within the GPRS backbone,
transferred between the GGSN and SGSN (GPRS Support Nodes), is
transferred using the GPRS Tunnelling Protocol (GTP). GTP can utilize either
the reliable TCP (Transmission Control Protocol) for X.25 packet transfer
reliability or the non-reliable UDP (User Datagram Protocol) for IP packet
transfer.
IP Backbone: The network protocol for the GPRS backbone is IP (Internet
Protocol), operating over any lower layers. IP facilitates the routing of packets
between different GSNs.
Subnetwork Dependent Convergence Protocol (SNDCP): SNDCP is
employed between a Serving GPRS Support Node (SGSN) and the Mobile
Station (MS) to adapt to the distinct characteristics of the underlying
[Link] facilitates the integration of GPRS data services with the
existing GSM infrastructure. SNDCP ensures that the packet-switched data
traf c from GPRS can seamlessly traverse the GSM network, allowing for the
coexistence of voice and data services within the same mobile network
Logical Link Control (LLC): A special LLC is used reliable packet transfer
between SGSN and MS. It uses Automatic Repeat reQuest (ARQ) and
Forward Error Correction (FEC) mechanisms for Point-to-Point (PTP)
services
Base Station Subsystem GPRS Protocol (BSSGP): BSSGP is employed to
convey routing and Quality of Service (QoS) related information between the
fi
fl
Base Station Subsystem (BSS) and SGSN. It operates on top of a frame
relay network without error correction.
Radio Link Protocol (RLC) and Medium Access Control (MAC): Radio
link-dependent protocols, such as RLC and MAC, are necessary for data
transfer over the Um interface (the radio interface in GPRS). RLC ensures a
reliable link, while MAC controls access using signaling procedures for the
radio channel and the mapping of Logical Link Control (LLC) frames onto
GSM physical channels.

[Link] Architecture
[Link]
[Link]

[Link]

The UMTS (Universal Mobile Telecommunications System) system


architecture is a complex framework that enables the delivery of high-speed
mobile communication services. Figure 4.24 provides a simpli ed
representation of the UMTS reference architecture, applicable to both UTRA
(UMTS Terrestrial Radio Access) solutions. Here's an explanation of the key
components and their interactions:

• UTRAN (UMTS Terrestrial Radio Access Network):


• Function: UTRAN handles cell-level mobility and is composed of
several Radio Network Subsystems (RNS).
• RNS Functions: RNS functions include radio channel ciphering
and deciphering, handover control, and radio resource
management.
• Connection to UE: UTRAN is connected to User Equipment (UE)
via the radio interface Uu, which is comparable to the Um
interface in GSM.
• Iu Interface:
• Function: Iu interface is similar to the A interface in GSM and
facilitates communication between UTRAN and the Core Network
(CN).
• CN Functions: Core Network contains functions for inter-system
handover, gateways to other networks ( xed or wireless), and
performs location management if there is no dedicated connection
between UE and UTRAN.
• Domains in UMTS Architecture (Figure 4.25):
• User Equipment (UE) Domain:
fi
fi
• User-speci c: Assigned to a single user and includes all
functions needed to access UMTS services.
• Subdomains: Includes the USIM domain (Subscriber
Identity Module for UMTS) and the Mobile Equipment
domain.
• USIM Domain: Contains the UMTS SIM responsible
for encryption, authentication, and storing user-related
data.
• Mobile Equipment Domain: Encompasses the end
device, housing functions for radio transmission and
user interfaces.
• Infrastructure Domain:
• Shared: Shared among all users and offers UMTS services
to all accepted users.
• Subdomains: Includes the Access Network Domain
and the Core Network Domain.
• Access Network Domain: Comprises the Radio
Access Networks (RAN).
• Core Network Domain: Contains access
network-independent functions.
• Serving Network Domain: Encompasses
functions used by a user for accessing UMTS
services.
• Home Network Domain: Involves functions
related to the user's home network, such as user
data lookup.
• Transit Network Domain: May be necessary if
direct contact between the serving network and
home network is not possible.
• Physical Network: The three domains within the Core Network
(Serving, Home, Transit) may physically be part of the same
network, and these domains primarily describe functionalities
rather than distinct physical entities

[Link] Mobile Services

[Link] services in GSM (Global System for Mobile Communications) refer


to the mechanisms and protocols used for data transmission within the
network. GSM speci es various bearer services for interworking with other
networks such as PSTN, ISDN, and packet-switched public data networks
fi
fi
(PSPDN) like [Link] are two main types of bearer services: transparent
and non-transparent.

Transparent bearer services utilize only the physical layer (layer 1) for data
transmission. This means that data is transmitted without any additional error
correction or ow control mechanisms beyond what is provided at the
physical layer. The advantage of transparent bearer services is that they offer
constant delay and throughput when there are no transmission errors.
However, they do not attempt to recover lost data in case of errors .

Non-transparent bearer services, on the other hand, employ protocols from


layers two and three to implement error correction and ow control. These
services build upon transparent bearer services by adding a radio link
protocol (RLP), which includes mechanisms for high-level data link control
and selective-reject mechanisms for triggering retransmission of erroneous
data. Although non-transparent bearer services achieve a lower bit error rate
(less than 10^-7), the throughput and delay may vary depending on the
transmission quality.

[Link] services in GSM refer to the range of services offered by the Global
System for Mobile Communications that are primarily focused on voice-
oriented communication, messaging, and basic data transmission. These
services are designed to provide high-quality digital voice transmission while
also supporting various other communication needs.

GSM provides encrypted voice transmission to ensure the security and


privacy of voice calls. This feature helps prevent unauthorized interception of
voice communication.

Message Services: GSM supports various message services, including Short


Message Service (SMS), Enhanced Message Service (EMS), and Multimedia
Message Service (MMS). These services enable users to send and receive
text messages, multimedia content, and other types of data.

Emergency Number: GSM networks include support for emergency calls, with
a single universal emergency number that can be used throughout Europe.
This service is mandatory for all GSM providers and is given the highest
priority to ensure timely assistance during emergencies.

Short Message Service (SMS): SMS allows users to send and receive short
text messages of up to 160 characters. SMS messages utilize signaling
channels within the GSM network and can be sent and received during voice
fl
fl
or data transmission. SMS has become widely popular for both personal and
commercial communication purposes.

Enhanced Message Service (EMS): EMS offers an extension to SMS,


allowing for larger message sizes, formatted text, and the transmission of
multimedia content such as images and ring tones. However, EMS did not
gain widespread adoption due to the emergence of Multimedia Message
Service (MMS).

Multimedia Message Service (MMS): MMS enables the transmission of larger


multimedia content, including images, videos, and audio clips. It supports
richer multimedia experiences compared to SMS and EMS and is commonly
used in conjunction with mobile phones equipped with cameras.

[Link] services - GSM providers can offer supplementary


services. Similar to ISDN networks, these services offer various
enhancements for the standard telephony service, and may vary from
provider to provider. Typical services are user identi cation, call redirection,
or forwarding of ongoing calls. Standard ISDN features such as closed user
groups and multi- party communication may be available. Closed user
groups are of special interest to companies because they allow, for example,
a company-speci c GSM sub-network, to which only members of the group
have access.

[Link] Architecture

[Link] - The radio subsystem (RSS) is a fundamental component of the GSM


(Global System for Mobile Communications) network, responsible for
handling all radio-speci c functions. It consists of two main entities: the
mobile stations (MS) and the base station subsystem (BSS). The RSS
interfaces with the network switching subsystem (NSS) via the A interface and
with the operations support subsystem (OSS) via the O interface.

Base Station Subsystem (BSS):The BSS is composed of multiple base


station controllers (BSC) and base transceiver stations (BTS).

Base Station Controller (BSC): The BSC manages the BTSswithin its
coverage area. It allocates radio frequencies, coordinates handovers between
BTSs, and handles paging of mobile stations.
Base Transceiver Station (BTS): Each BTS includes radio equipment such as
antennas, signal processors, and ampli ers necessary for radio transmission.
fi
fi
fi
fi
It forms the physical infrastructure of the cellular network, providing coverage
to mobile stations within its range.

Mobile Station (MS):


• The MS is the user equipment used for communication with the
GSM network.
• It consists of both hardware and software components, including
the subscriber identity module (SIM).
• The SIM stores user-speci c data such as the international mobile
subscriber identity (IMSI), authentication key (Ki), and list of
subscribed services.
• The MS communicates with the BTS via the Um interface for
wireless transmission.
• Mobile stations can be personalized using the SIM card, which
facilitates user-speci c functionalities like charging and
authentication.

• A Interface: This interface connects the BSS to the NSS and typically
uses circuit-switched PCM-30 systems for voice/data transmission.
• O Interface: This interface connects the RSS to the OSS and utilizes
the Signalling System No. 7 (SS7) based on X.25 for management data
exchange.
• [Link] - Operation subsystem
The third part of a GSM system, the operation subsystem (OSS),
contains the necessary functions for network operation and
maintenance. The OSS possesses network entities of its own and
accesses other entities via SS7 signaling (see Figure 4.4). The
following entities have been de ned:
• Operation and maintenance center (OMC): The OMC monitors and
controls all other network entities via the O interface (SS7 with X.25).
Typical OMC management functions are traf c monitoring, status
reports of net- work entities, subscriber and security management, or
accounting and billing. OMCs use the concept of telecommunication
management net- work (TMN) as standardized by the ITU-T.

• Authentication centre (AuC): As the radio interface and mobile stations


are particularly vulnerable, a separate AuC has been de ned to protect
user identity and data transmission. The AuC contains the algorithms
for authentication as well as the keys for encryption and generates the
values needed for user authentication in the HLR. The AuC may, in fact,
be situated in a special protected part of the HLR.
fi
fi
fi
fi
fi
• Equipment identity register (EIR): The EIR is a database for all IMEIs,
i.e., it stores all device identi cations registered for this network. As
MSs are mobile, they can be easily stolen. With a valid SIM, anyone
could use the stolen MS. The EIR has a blacklist of stolen (or locked)
devices. In theory an MS is useless as soon as the owner has reported
a theft. Unfortunately, the blacklists of different providers are not usually
synchronized and the illegal use of a device in another operator’s
network is possible (the reader may speculate as to why this is the
case). The EIR also contains a list of valid IMEIs (white list), and a list of
malfunctioning devices (gray list).

[Link] Interface

The radio interface (Um interface) in a GSM system is a crucial component


responsible for the wireless transmission of voice and data between mobile
stations (MS) and base transceiver stations (BTS). It incorporates various
mechanisms for multiplexing and media access, combining frequency division
multiple access (FDMA) and time division multiple access (TDMA)
techniques.

• SDMA and FDD: GSM utilizes Space Division Multiple Access (SDMA)
through the division of cells with BTS and assigns MS to a speci c BTS.
Additionally, Frequency Division Duplexing (FDD) is employed to
separate the downlink (from BTS to MS) and uplink (from MS to BTS)
transmissions.

• FDMA and TDMA: FDMA divides the available frequency spectrum into
channels, with GSM 900 using 124 channels and GSM 1800 using 374
channels. Each channel is 200 kHz wide. TDMA further divides each
channel into time slots, with GSM employing 8 time slots per channel.
Each time slot represents a physical TDM (Time Division Multiplexing)
channel and lasts for 577 μs within a frame duration of 4.615 ms.

• Burst Transmission: Data is transmitted in bursts, with a guard space to
avoid overlapping between bursts due to different path delays. A normal
burst, used for data transmission, contains 148 bits of user or signaling
data within a 546.5 μs duration.

• Burst Types: Apart from normal bursts, GSM de nes four more types of
bursts for speci c purposes including frequency correction,
synchronization, initial connection setup, and dummy bursts when no
data is available.
fi
fi
fi
fi

• Transmitter Hardware: The radio interface allows for the use of simple
transmitter hardware. The uplink and downlink slots are separated in
frequency, and TDMA frames are shifted in time, enabling the use of
half-duplex transmitters that switch between receiving and sending.

• Frequency Hopping: To mitigate frequency selective fading, GSM
speci es an optional slow frequency hopping mechanism. Both MS and
BTS may change carrier frequency after each frame based on a
common hopping sequence.

[Link]

Protocols in a GSM (Global System for Mobile Communications) network play


a crucial role in facilitating communication between different network entities
and ensuring the reliable transfer of voice and data. The protocol architecture
of GSM involves multiple layers, each responsible for speci c functions and
interactions between network elements.

Physical Layer (Layer 1):


The physical layer handles all radio-speci c functions, including the creation
of bursts, synchronization with the base transceiver station (BTS), and
channel quality measurement.
It uses Gaussian Minimum Shift Keying (GMSK) for digital modulation and
performs encryption/decryption of data for secure transmission between the
mobile station (MS) and the base station subsystem (BSS) over the air
interface. Channel coding and error detection/correction are performed at
this layer, using forward error correction (FEC) schemes to add redundancy
to user data for error detection and correction.

Link Access Procedure for the D-channel (LAPDm) (Layer 2):


LAPDm is derived from the Link Access Procedure for the D-channel (LAPD)
used in Integrated Services Digital Network (ISDN) systems.
It o ers reliable data transfer over connections, re-sequencing of data
frames, and ow control.
LAPDm ensures e cient communication between layers 1 and 3, adhering to
the frame structures and recurrence patterns de ned for the Um interface.

Network Layer (Layer 3):


The network layer comprises several sublayers, including radio resource
management (RR), mobility management (MM), and call management (CM).
RR handles setup, maintenance, and release of radio channels, with some
functions implemented in the BTS and others in the base station controller
(BSC). MM is responsible for registration, authentication, identi cation, and
ff
fi
fl
ffi
fi
fi
fi
fi
location updating of mobile subscribers, providing a temporary mobile
subscriber identity (TMSI) to protect user identity.
CM includes entities for call control, short message service (SMS), and
supplementary services (SS), facilitating call establishment, SMS messaging,
and additional service functionalities.

Additional Protocols:
Signaling System No. 7 (SS7) is used for signaling between Mobile Switching
Centers (MSCs), BSCs, and other network elements, transferring
management information.
LAPD is used for layer 2 at the Abis interface, while BTSM is employed for
BTS management.
Data transmission at the physical layer typically uses pulse code modulation
(PCM) systems, with PCM systems o ering transparent 64 kbit/s channels.
Various other protocols are utilized at internal interfaces within the GSM
system, such as the Abis and A interfaces, for data transmission and
signaling.

[Link] and calling

Mobile Station International ISDN Number (MSISDN):The MSISDN is the


phone number associated with a GSM [Link] follows the ITU-T standard
E.164 for addressing, similar to xed ISDN networks.
The MSISDN typically includes:
Country Code (CC): Indicates the country of the subscriber (e.g., +49 for
Germany).National Destination Code (NDC): Identi es the network provider
within the [Link] Number (SN): Unique identi er for the
subscriber within the network.

International Mobile Subscriber Identity (IMSI):


The IMSI is used internally within the GSM network to uniquely identify a
[Link] comprises:
Mobile Country Code (MCC): Identi es the country of the subscriber.
Mobile Network Code (MNC): Identi es the network provider within the
country.
Mobile Subscriber Identi cation Number (MSIN): Unique identi er for the
subscriber within the network.

Temporary Mobile Subscriber Identity (TMSI):


The TMSI is used to conceal the IMSI during signaling over the air interface.
It is a temporary identi er assigned by the Visitor Location Register (VLR)
and is only valid within the current location area.
TMSI helps in maintaining user privacy and security by providing a temporary
and local identi er.
fi
fi
fi
fi
fi
fi
ff
fi
fi
fi
Mobile Station Roaming Number (MSRN):
MSRN is another temporary address used to hide the identity and location of
a subscriber.
Generated by the VLR upon request from the Mobile Switching Center (MSC)
and stored in the Home Location Register (HLR).
MSRN includes:
Visitor Country Code (VCC): Country code of the visitor network.
Visitor National Destination Code (VNDC): Identi es the network within the
visiting country.
Identi cation of the current MSC along with the subscriber number.
Used by the HLR to route incoming calls to the subscriber's current location.

[Link]

GSM offers several security services using con dential information stored in
the AuC and in the individual SIM (which is plugged into an arbitrary MS). The
SIM stores personal, secret data and is protected with a PIN against
unauthorized use. (For example, the secret key Ki used for authentication and
encryption procedures is stored in the SIM.) The security services offered by
GSM are explained below:

Access control and authentication: The rst step includes the


authentication of a valid user for the SIM. The user needs a secret PIN to
access the SIM. The next step is the subscriber authentication (see Figure
4.10).

Con dentiality: All user-related data is encrypted. After authentication, BTS


and MS apply encryption to voice, data, and signaling as shown in section
[Link]. This con dentiality exists only between MS and BTS, but it does not
exist end-to-end or within the whole xed GSM/telephone network.

Anonymity: To provide user anonymity, all data is encrypted before trans-


mission, and user identi ers (which would reveal an identity) are not used
over the air. Instead, GSM transmits a temporary identi er (TMSI), which is
newly assigned by the VLR after each location update. Additionally, the VLR
can change the TMSI at any time.

Three algorithms have been speci ed to provide security services in GSM.


Algorithm A3 is used for authentication, A5 for encryption, and A8 for the
generation of a cipher key.
fi
fi
fi
fi
fi
fi
fi
fi
fi
fi
A3 , A5 , A8
[Link]
• A3 Algorithm:
• The A3 algorithm is used for authentication purposes in GSM
networks.
• It operates on the authentication challenge (RAND) and the secret
key stored in the subscriber's SIM card, called the Ki (Individual
Subscriber Authentication Key).
• The A3 algorithm generates a response (SRES) based on the
RAND and Ki, which is sent to the network for veri cation during
the authentication process.
• The network compares the received SRES with its own
calculation to authenticate the subscriber.
• A8 Algorithm:
• The A8 algorithm is used for generating session keys for
encryption purposes in GSM networks.
• It operates on the same secret key stored in the subscriber's SIM
card, Ki.
• The A8 algorithm takes the RAND and Ki as inputs and generates
a session key (Kc), which is used for encrypting the communication
between the mobile station and the base station.
• Each time a new communication session is established, a new
session key is generated using the A8 algorithm to ensure security.
• A5 Algorithm:
• The A5 algorithm is used for encrypting voice and data
communication between the mobile station and the base station in
GSM networks.
• There are several versions of the A5 algorithm, including A5/1,
A5/2, and A5/3, each providing different levels of encryption
strength.
• A5/1 is the most commonly used version and offers strong
encryption, while A5/2 is a weaker version primarily used for
export-restricted countries.
• A5/3 is a newer and more secure algorithm used in 3G and later
GSM networks.
• The A5 algorithm takes the session key (Kc) generated by the A8
algorithm as input and encrypts the communication between the
mobile station and the base station using stream cipher
techniques.
fi
Ch. 3 Mobile Networking

1.1 Medium Access Protocol


The MAC Layer controls the hardware responsible for interaction with the
wireless transmission medium.
In a wireless environment, multiple devices share the same communication
medium, leading to the possibility of collisions when two or more devices try
to transmit data simultaneously. MAC protocols are designed to manage
access to the shared medium ef ciently, minimizing collisions, maximizing
throughput, and ensuring fairness among users.
These MAC Protocols are

[Link]/CA (Carrier Sense Multiple Access with Collision Avoidance) :


Carrier Sense Multiple Access (CSMA) is a protocol used in network
communication to improve upon the basic Aloha protocol by adding a carrier
sensing mechanism. In CSMA, devices sense the communication medium
(such as the wireless channel) before transmitting data. If the medium is idle,
the device starts transmitting immediately. However, if the medium is busy,
indicating that another device is already transmitting, the device waits for a
random period before attempting to transmit again. This random backoff
period helps reduce the likelihood of collisions between devices trying to
access the medium simultaneously.

Non-persistent CSMA: In this scheme, stations sense the carrier and start
sending immediately if the medium is idle. If the medium is busy, the station
pauses for a random amount of time before sensing the medium again and
repeating the process.

p-persistent CSMA: Nodes also sense the medium, but only transmit with a
probability of p. If the medium is busy, the station delays its transmission to
the next slot with the probability of 1-p. This approach introduces slotted
access to the medium.

1-persistent CSMA: In this scheme, all stations wishing to transmit access


the medium as soon as it becomes idle. This can lead to many collisions if
multiple stations try to send simultaneously.

2. TDMA (Time Division Multiple Access):


[Link] nition/
TDMA#:~:text=Time%20Division%20Multiple%20Access%20(TDMA)
%20is%20a%20digital%20modulation%20technique,division%20multiple%20
access%20(FDMA).
Time Division Multiple Access (TDMA) is a channel access method used in
telecommunications and networking to allow multiple users to share the same
frequency channel by dividing it into different time slots.
fi
fi
Each user is allocated a unique time slot during which they can transmit data.
In TDMA, the transmission time is divided into discrete time slots, and each
user is assigned one or more time slots for data transmission.
Users take turns transmitting data during their allocated time slots, and the
time slots are synchronized across all users within the network.
By using time division, multiple users can share the same frequency channel
without interfering with each [Link] transmission time is organized into
frames, with each frame consisting of a xed number of time slots.
Each time slot corresponds to a speci c period of time during which a user
can transmit data.
The frame structure de nes the duration of each time slot, the number of time
slots per frame, and any overhead information needed for synchronization
and control. Synchronization is crucial in TDMA systems to ensure that all
users within the network are aligned with the same frame structure.

3. FDMA (Frequency Division Multiple Access): Frequency Division


Multiple Access (FDMA) is a channel access method used in
telecommunications to allow multiple users to share the same communication
medium by dividing it into different frequency channels. Each user is allocated
a unique frequency channel for transmission, and users transmit
simultaneously on their assigned channels without interfering with each other.
FDMA is based on the principle of Frequency Division Multiplexing (FDM),
where the available frequency spectrum is divided into multiple non-
overlapping frequency bands or channels.
Each user is allocated a separate frequency channel for communication, and
multiple users can transmit simultaneously on different frequency channels
without causing interference.
FDMA is commonly used in systems where the available bandwidth is divided
into xed-width frequency channels, such as radio broadcasting and cellular
networks.
Advantages of FDMA:
Ef cient Use of Bandwidth: FDMA allows multiple users to share the available
frequency spectrum simultaneously, maximising spectral ef ciency.
Simpli ed Access Control: Each user is assigned a dedicated frequency
channel, simplifying access control and reducing the likelihood of collisions.
Interference Mitigation: Techniques like frequency hopping can be employed
to mitigate interference and improve system reliability.

4. CDMA (Code Division Multiple Access):Code Division Multiple Access


(CDMA) is a channel access method used in telecommunications to allow
fi
fi
fi
fi
fi
fi
fi
multiple users to share the same communication medium by assigning a
unique code to each user's signal. Unlike other multiple access methods like
Time Division Multiple Access (TDMA) or Frequency Division Multiple Access
(FDMA), which divide the channel based on time or frequency, CDMA allows
multiple signals to occupy the same frequency band simultaneously.
CDMA is based on the principle of spread spectrum technology, where the
data signal is spread over a wider bandwidth using a unique spreading code.
Each user is assigned a unique spreading code, also known as a pseudo-
random code or a spreading sequence.
Users transmit simultaneously on the same frequency band, but their signals
are differentiated by their unique spreading codes.
At the receiver, the desired signal is recovered by correlating it with the
corresponding spreading code, while signals from other users appear as
noise and can be suppressed using signal processing techniques.
The spreading code is multiplied with the user's data signal to spread it over a
wider bandwidth before transmission.
The spreading code spreads the signal in such a way that it appears as noise
to users with different spreading codes, enabling multiple users to share the
same frequency band without interfering with each other signi cantly.

1.2 Mobile Internet Protocol


[Link]
Mobile IP (Internet Protocol) is a protocol that enables mobile devices to
maintain continuous network connectivity and communication while moving
between different IP networks. It allows devices, such as smartphones,
tablets, and laptops, to change their location of accessing the Internet
without changing their IP address, thereby preserving ongoing
communication sessions.

Overview:

• Traditional IP communication assumes that a device's IP address


remains constant throughout its communication session.
However, this assumption breaks down when a device moves
between different networks, such as switching from a Wi-Fi
network to a cellular network or moving between different Wi-Fi
access points.
• Mobile IP addresses this challenge by allowing a mobile device to
maintain its IP address even when it moves to a different network.
This enables ongoing communication sessions, such as VoIP
calls or data transfers, to remain uninterrupted during handovers.
• Components:
fi
• Mobile Node (MN): The mobile device that moves between
different networks. It has a permanent IP address, known as the
home address, which remains constant regardless of its current
location.
• Home Agent (HA): A router on the home network of the mobile
device that maintains information about the current location of the
mobile node. It intercepts packets destined for the mobile node's
home address and forwards them to the mobile node's current
location.
• Foreign Agent (FA): A router on a foreign network visited by the
mobile node. It assists in the communication between the mobile
node and the rest of the Internet while the mobile node is visiting
that network.
• Care-of Address (CoA): The temporary IP address assigned to the
mobile node when it is visiting a foreign network. It is used to
forward packets from the home agent to the mobile node's current
location.
• Operation:
• When a mobile node moves to a foreign network, it registers its
care-of address with its home agent through a process called
registration.
• The home agent then maintains a binding between the mobile
node's home address and its current care-of address.
• When another device on the Internet wants to communicate with
the mobile node, it sends packets to the mobile node's home
address.
• The packets are intercepted by the home agent, which forwards
them to the mobile node's current care-of address.
• If the mobile node moves to a different foreign network, it updates
its care-of address with its home agent through re-registration.

1.3 Transport layer


The Mobile Transport Layer plays a crucial role in ensuring reliable and
ef cient communication between mobile devices and network services. It
encompasses various protocols and mechanisms designed to address the
challenges posed by mobility, varying network conditions, and the need for
seamless connectivity . The Mobile Transport Layer is responsible for
providing end-to-end communication services between mobile devices and
network endpoints.
• Mobile Transmission Control Protocol (TCP):
• TCP is widely used in mobile networks for reliable, connection-
oriented communication.
fi
• It provides features such as congestion control, ow control, and
error recovery to ensure reliable data delivery.
• TCP's reliability mechanisms, such as retransmissions and
acknowledgments, help mitigate the effects of packet loss and
network congestion.

2. Mobile IP
Problem with Traditional IP
In the Internet, communication between devices is based on IP addresses.
Routers use destination IP addresses to forward packets to the appropriate
destination.
Each IP address is associated with a speci c physical subnet.
When a mobile device moves from one location to another, it may change its
point of attachment to the network (e.g., from one Wi-Fi network to another, or
from Wi-Fi to cellular).
Traditional IP routing assumes that devices have xed locations within a
single subnet.
To maintain connectivity, a mobile device needs an IP address that is
"topologically correct" for its current location.
This means that the IP address should re ect the subnet to which the device
is currently attached.

Solution - Mobile IP:


Mobile IP is a protocol developed to address the issue of mobility in IP-based
networks.
It enables a mobile device to maintain continuous communication while
moving between different network environments.
Mobile IP achieves this by allowing the device to retain its home IP address,
even when it moves to a different subnet meaning , the IP address of a
device remains constant and is independent of its location.
When a mobile device moves to a new subnet, it registers its care-of address
(the temporary address assigned to it in the new subnet) with a mobility agent
(typically a router or a specialized entity called a home agent).
When communication is directed to the device's home IP address, the
mobility agent intercepts the packets and forwards them to the device's
current care-of address.

Requirements for Mobile IP


• Compatibility:
• Mobile IP needed to seamlessly integrate with existing systems
and protocols without requiring signi cant changes.
fi
fl
fi
fl
fi
• It had to work with popular applications, operating systems, and
routers without necessitating alterations to their core
functionalities.
• Compatibility with standard IP addressing and routing
mechanisms was crucial to ensure interoperability with non-
mobile devices and networks.
• Transparency:
• Mobility should be transparent to higher-layer protocols and
applications.
• Users and applications should not need to be aware of changes in
the device's network attachment point.
• TCP connections should survive mobility events with minimal
disruption, though applications might experience lower bandwidth
and higher delays.
• Some applications may bene t from being "mobility aware," such
as those involving cost-based routing or video compression,
which may require additional mechanisms to adapt to changes in
network conditions.
• Scalability and Ef ciency:
• The introduction of Mobile IP should not degrade the ef ciency of
the Internet.
• It must handle mobility without ooding the network with
excessive messages.
• Given the proliferation of mobile devices and the expected growth
in mobile communication, Mobile IP must be scalable to
accommodate a large number of participants worldwide.
• Ef cient operation over wireless links is particularly important,
considering their limited bandwidth compared to wired
connections.
• Security:
• Security is a critical concern in mobile environments due to the
inherent risks associated with mobility.
• Mobile IP messages related to management must be
authenticated to prevent unauthorized access and ensure data
integrity.
• While the IP layer can verify the correctness of IP addresses,
preventing attacks like spoo ng or ensuring packet delivery to the
correct mobile host requires additional security mechanisms at
higher layers.
• Following the principle of Internet philosophy, security measures
are typically implemented at higher layers while keeping the core
IP infrastructure as simple as possible.
fi
fi
fi
fi
fl
fi
Terminologies in Mobile IP

[Link] node (MN): A mobile node is a device , an end-system or router


that can change its point of attachment to the internet using mobile IP. The
MN has a permanent IP address using which it can continuously
communicate with any other system in the internet as long as link-layer
connectivity is given.

[Link] node (CN):The correspondent node represents the partner


with which the mobile node communicates.
It can be either a xed or mobile node.
The correspondent node engages in communication with the mobile node,
facilitating data exchange.

[Link] network: The home network is the subnet the MN originally belongs
to with respect to its IP address. No mobile IP support is needed within the
home network.
4. Foreign network: The foreign network is the current subnet the MN visits
and which is not the home network.

[Link] Agent : The FA is a router of the FN responsible for managing the


Care-of Address (COA) for the visiting mobile node .
The FA ensures that packets destined for the MN are correctly forwarded to
its current location.
The FA acts as a tunnel endpoint for communication between the home agent
(HA) in the MN's home network and the MN itself.
When packets are sent to the MN's home IP address, they are intercepted by
the HA, which then encapsulates them and tunnels them to the FA in the
foreign network.
The FA then decapsulates the packets and forwards them to the MN using its
current COA.
The FA forwards packets to the MN within the foreign network.
It ensures that packets from other nodes in the foreign network are correctly
delivered to the MN, regardless of its mobility.
FAs can also provide security services because they belong to the foreign
network as opposed to the MN which is only visiting.

[Link]-of address (COA): The COA de nes the current location of the MN
from an IP point of view. All IP packets sent to the MN are delivered to the
COA, not directly to the IP address of the MN. Packet delivery toward the MN
is done using a [Link] COA marks the tunnel endpoint, i.e., the address
fi
fi
where packets exit the tunnel. There are two different possibilities for the
location of the COA:
Foreign agent COA: The COA could be located at the FA, i.e., the COA is an
IP address of the FA. The FA is the tunnel end-point and forwards packets to
the MN. Many MN using the FA can share this COA as common COA.

[Link] agent (HA): The HA provides several services for the MN and is
located in the home network. The tunnel for packets toward the MN starts at
the HA. The HA maintains a location registry, i.e., it is informed of the MN’s
location by the current COA. The HA can be implemented on a router that is
responsible for the
home network.

2.1 IP Packet Delivery


IP Packet Delivery from CN to MN:

The correspondent node (CN) wants to send an IP packet to the mobile node
(MN).
CN sends the packet with MN's IP address as the destination address and
CN's IP address as the source address, just like in traditional IP
communication (step 1).
The packet is routed through the Internet to the router responsible for the
home network of the MN using standard routing mechanisms.

The home agent (HA) intercepts the packet upon realizing that the MN is
currently not in its home network.
Instead of forwarding the packet into the home network subnet, the HA
encapsulates and tunnels the packet to the care-of address (COA) of the MN.
A new header is added to the original IP packet, indicating the COA as the
new destination and the HA as the source of the encapsulated packet (step
2).
This encapsulation process ensures that the packet is correctly routed to the
MN's current location, maintaining the illusion of seamless communication for
the CN.

The foreign agent (FA) in the foreign network receives the encapsulated
packet and decapsulates it, removing the additional header.
The original packet, with CN as the source and MN as the destination, is
forwarded to the MN within the foreign network (step 3).
From the perspective of the MN, the packet appears as if it were sent directly
from CN, hiding the mobility of the MN.

When the MN wants to send a packet to the CN, it sends the packet with its
own xed IP address as the source and CN's address as the destination (step
4).The router with the FA acts as the default router for the MN and forwards
the packet within the foreign network as usual.

2.2 Agent Discovery and Advertisement


Agent discovery in Mobile IP is crucial for a mobile node (MN) to locate a
foreign agent (FA) in the foreign network after moving from its home network.
Agent discovery enables a MN which has moved from its HN to a FN to
connect to/determine the FA in that FN , this can be done by using Agent
Advertisement . A mobile node uses a method known as agent discovery to
determine the following information:
When the node has moved from one network to another
Whether the network is the node's home or a foreign network
What is the foreign agent care-of address offered by each foreign agent on
that network
Mobility agents transmit agent advertisements to advertise their services on
a network.
fi
Agent Advertisement : In agent advertisement, foreign agents periodically
broadcast their presence within the foreign network.
These advertisements are sent out using ICMP (Internet Control Message
Protocol) messages used with some mobility extensions
When an MN enters a foreign network, it listens for these agent
advertisements to identify available FAs.
Upon receiving an advertisement, the MN can extract relevant information
such as the FA's IP address, capabilities, and services offered.

A foreign agent provides a foreign agent care-of address through its agent
advertisement messages. In this case, the care-of address is an IP address
of the foreign agent. The foreign agent is the endpoint of the tunnel and, on
receiving tunneled datagrams, de-encapsulates them and delivers the inner
datagram to the mobile node. In this mode, many mobile nodes can share the
same care-of address.

The agent advertisement ICMP packet with the extension for mobility is

The upper part


represents the ICMP
packet while the lower part
is the extension needed
for mobility.

The TTL eld of the IP packet is set to 1 for all advertisements to avoid
forwarding them. The IP destination address according to standard router
advertisements can be set to the broadcast address [Link].
Fields in the Upper ICMP packet part
fi
1. The type eld is set to [Link] value indicates that the ICMP packet is an
agent advertisement message
2. The code eld can have two values: 0 or 16. If the code is set to 0, it
signi es that the agent serves as a general router for all types of traf [Link]
the code is set to 16, it indicates that the agent is specialized for handling
traf c related to mobile nodes and does not handle traf c from non-mobile
sources.
3. #Addresses :This eld indicates the number of COAs advertised in the
packet.A single foreign agent (FA) can have multiple care-of addresses
(COAs) associated with [Link] MN can select a COA that it believes will
provide the best connectivity and performance at any given time.
4. Lifetime denotes the length of time this advertisement is valid.
5. Preference levels for each address help a node to choose the router that
is the most eager one to get a new node.
Lower part of ICMP messages with mobility extensions

[Link]: Indicates the type of [Link] Set to 16 for mobility


extensions.
[Link]: Speci es the length of the extension in [Link] on the
number of care-of addresses (COAs) provided with the message and equals
6 + 4*(number of addresses).
[Link] Number: Indicates the total number of advertisements sent since
initialization. An integer value incremented each time an advertisement is
sent.
[Link] Lifetime: Speci es the maximum lifetime in seconds that a
node can request during registration. It is A time value indicating the duration
for which the registration is valid. Allows the agent to control the maximum
duration for which a registration request from a mobile node can be accepted,
ensuring ef cient resource utilization.

5.R Bit (Registration): Indicates if a registration with this agent is required


even when using a colocated care-of address (COA) at the MN. Its value is 1
if registration is required, 0 otherwise.

6.B Bit (Busy):Indicates if the agent is currently too busy to accept new
registrations.1 if the agent is busy, 0 [Link] the agent to inform
mobile nodes if it is currently overloaded or unable to handle new registration
requests, helping to manage load and resource allocation.

7.H and F Bits (Services Offered): Denote if the agent offers services as a
home agent (H) or foreign agent (F) on the link where the advertisement has
been [Link]: 1 if the agent offers the respective service, 0 otherwise.
fi
fi
fi
fi
fi
fi
fi
fi
fi
fi
Informs mobile nodes about the types of services provided by the agent,
allowing them to make informed decisions when selecting agents for
registration and communication.

8.M and G Bits (Encapsulation Method): Specify the method of encapsulation


used for the [Link]: M for minimal encapsulation, G for generic routing
encapsulation. Determines the encapsulation method used for tunneling
packets between the mobile node and the agent, ensuring compatibility and
interoperability.

9.T Bit (Reverse Tunneling Support): Indicates if reverse tunneling is


supported by the foreign agent (FA).Value: 1 if reverse tunneling is
supported, 0 otherwise. Informs mobile nodes about the FA's ability to
support reverse tunneling, enabling them to make appropriate decisions when
setting up communication tunnels.
10. COAs Advertised: Contains the care-of addresses (COAs) advertised by
the agent. Provides mobile nodes with information about available COAs
within the network, allowing them to select the most suitable COA based on
their current location and connectivity requirements.

In This way a MN can determine a FA/HA in a network

2.3 Registration

Registration in Mobile IP is a crucial process that allows a mobile node (MN)


to inform its home agent (HA) of its current location, indicated by the care-of
address (COA). This ensures that packets destined for the MN are correctly
forwarded to its current location.
Registration with COA at the Foreign Agent (FA):

—>The MN sends its registration request to the FA after the FA Broadcasts


the Agent advertisement Packet, FA then forwards the request to the HA.
—>The registration request contains information about the MN's current
COA, allowing the HA to update its mobility binding table with the MN's home
IP address and the COA.
—>The mobility binding also includes the lifetime of the registration,
negotiated during the registration process. This lifetime determines how long
the registration remains valid before expiration.
—>To prevent unused mobility bindings from accumulating, registrations
automatically expire after the speci ed lifetime, prompting the MN to re-
register before expiration.
fi
—>Once the HA sets up the mobility binding, it sends a reply message back
to the FA, which then forwards it to the MN, con rming successful
registration.

Registration Request Packet sent is a UDP Packet sent by MN to FA to HA


and has the following elds
Type:
• Role: Indicates the type of message, in this case, a registration
request.
• Value: Set to 1 for a registration request.
• S Bit (Simultaneous Binding):
• Role: Speci es if the mobile node (MN) wants the home agent
(HA) to retain prior mobility bindings.
• Value: 1 if the MN wants to retain prior bindings, 0 otherwise.
• Explanation: Allows the MN to request simultaneous bindings,
which can be useful for scenarios where the MN may be
reachable through multiple care-of addresses (COAs).
• B Bit (Broadcast Packets):
• Role: Indicates if the MN wants to receive broadcast packets that
have been received by the HA in the home network.
• Value: 1 if the MN wants to receive broadcast packets, 0
otherwise.
• Explanation: Enables the MN to specify whether it wants to
receive broadcast packets in addition to unicast packets. This can
be useful for certain applications or protocols that rely on
broadcast communication.
• D Bit (Decapsulation):
• Role: Indicates if the MN takes care of decapsulation at the tunnel
endpoint when using a co-located COA.
fi
fi
fi
• Value: 1 if the MN takes care of decapsulation, 0 otherwise.
• Explanation: Speci es whether the MN handles decapsulation at
the tunnel endpoint, which is necessary when the COA is co-
located and the MN is responsible for tunneling.
• M and G Bits (Encapsulation Method):
• Role: Denote the use of minimal encapsulation (M) or generic
routing encapsulation (G).
• Values: M for minimal encapsulation, G for generic routing
encapsulation.
• Explanation: Specify the method of encapsulation used for
tunneling packets between the MN and the HA, ensuring
compatibility and interoperability.
• T Bit (Reverse Tunneling):
• Role: Indicates if reverse tunneling is supported.
• Value: 1 if reverse tunneling is supported, 0 otherwise.
• Explanation: Informs the HA whether reverse tunneling is
supported by the MN, enabling the HA to make appropriate
decisions when setting up communication tunnels.
• Lifetime:
• Role: Speci es the validity of the registration in seconds.
• Value: A time value indicating the duration for which the
registration is valid.
• Explanation: Determines the duration for which the registration
remains valid, ensuring that mobility bindings are maintained only
for the necessary period.
• Home Address:
• Role: Represents the xed IP address of the MN.
• Explanation: Identi es the home address of the MN, enabling the
HA to associate the registration request with the correct MN.
• Home Agent:
• Role: Represents the IP address of the HA.
• Explanation: Speci es the IP address of the HA to which the
registration request is sent, ensuring that the request reaches the
correct destination.
• Care-of Address (COA):
• Role: Represents the tunnel endpoint.
• Explanation: Speci es the COA, which is the current location of
the MN, enabling the HA to update its mobility bindings
accordingly.
• 64-bit Identi cation:
• Role: Generated by the MN to identify a request and match it with
registration replies.
fi
fi
fi
fi
fi
fi
fi
• Explanation: Provides a unique identi er for the registration
request, helping to prevent replay attacks and ensuring the
integrity and security of the registration process.
• Extensions:
• Role: Must contain parameters for authentication.
• Explanation: Includes additional parameters necessary for
authentication and security purposes, ensuring the integrity and
authenticity of the registration request.

2.4 Tunneling and Encapsulation

Tunnelling, is the process of sending an IP packet through a tunnel typically


from the HA to the COA , which is achieved by using encapsulation.
A tunnel establishes a virtual pipe for data packets between a tunnel entry
and a tunnel endpoint. Packets entering a tunnel are forwarded inside the
tunnel and leave the tunnel unchanged.
Encapsulation is the mechanism of taking a packet consisting of packet
header and data and putting it into the data part of a new packet.
The reverse operation, taking a packet out of the data part of another packet,
is called decapsulation. Encapsulation and decapsulation are the operations
typically performed when a packet is transferred from a higher protocol layer
to a lower layer or from a lower to a higher layer respectively. Here these
functions are used within the same layer.

Encapsulation Process:
fi
The HA, acting as the tunnel entry, takes the original packet with the MN as
the destination.
It encapsulates this packet by embedding it into the data part of a new
packet.
The HA sets the new IP header (outer header) in a manner that directs the
encapsulated packet to the COA.

Decapsulation Process:
At the COA, the encapsulated packet is received and processed.
The COA extracts the original packet from the data part of the encapsulated
packet.
It forwards the extracted packet to the MN using the information from the
original packet's header.

Inner and Outer Headers:


Inner Header: The original header of the packet being encapsulated. It
contains the original source and destination addresses, among other
information.
Outer Header: The new header added during encapsulation. It includes
routing information necessary to direct the encapsulated packet to its
destination, typically the COA.

Types of Tunnelling
IP-in-IP Tunneling
IP-in-IP encapsulation is the mandatory tunnelling technique for the
encapsulation needed for the tunnel between HA and COA
The elds of the outer header encapsulated for tunnelling from HA to COA in
FN are

[Link] (Ver)
De nition: Indicates the version of the IP protocol being used.
Purpose: Speci es whether the header follows the IPv4 or IPv6 format. In IP-
in-IP tunneling, it is typically set to 4 for IPv4.

2. Internet Header Length (IHL):


De nition: Speci es the length of the outer header in 32-bit words.
Purpose: Indicates the size of the outer header, including any optional elds

[Link] Services (DS) or Type of Service (TOS):


De nition: Formerly known as Type of Service (TOS), now used
for differentiated services.
Purpose: Speci es the quality of service (QoS) or packet priority.
In IP-in-IP tunneling, it is copied from the inner header.

[Link] Length:
De nition: Represents the total length of the encapsulated packet,
including both the outer header and the payload.
Purpose: Indicates the size of the entire encapsulated packet.
[Link]-to-Live (TTL):
De nition: Speci es the maximum number of hops the packet can
traverse before being discarded.
Purpose: Ensures that packets do not loop inde nitely in the
network. Must be set high enough to reach the tunnel endpoint.
[Link] Type:
De nition: Indicates the type of protocol used in the IP payload.
Purpose: Speci es the type of packet contained within the
encapsulated packet. In IP-in-IP tunneling, it is set to 4 for IPv4.
[Link] Checksum:
De nition: A checksum calculated over the entire header to detect
errors in transmission.
Purpose: Provides error detection for the encapsulated packet.
[Link] Address:
fi
fi
fi
fi
fi
fi
fi
fi
fi
fi
fi
fi
fi
fi
fi
De nition: Speci es the IP address of the tunnel entry point (e.g.,
the home agent).
Purpose: Identi es the origin of the encapsulated packet.
[Link] Address:
De nition: Speci es the IP address of the tunnel exit point (e.g., the care-of
address).
Purpose: Indicates the destination of the encapsulated packet.

Minimal encapsulation
Minimal encapsulation, is an optional encapsulation method used in Mobile IP
to reduce the overhead associated with encapsulating packets within a
tunnel.
Minimal encapsulation aims to minimize the size of the encapsulated packets
and reduce redundancy in the encapsulation process.
Many elds in the outer header are unnecessary for Mobile IP tunneling, such
as Type of Service (TOS) and fragmentation elds.
By removing redundant elds, minimal encapsulation improves the ef ciency
of packet transmission in Mobile IP networks.

Fields in the Outer Header:


—>Tunnel Entry Point and Endpoint: Speci es the IP addresses
of the tunnel entry point (e.g., home agent) and tunnel endpoint (e.g.,
care-of address).
—>Protocol Type: The eld for the type of the following header
contains the value 55 for minimal encapsulation protocol, distinguishing
it from other encapsulation methods.
Inner Header:
—>Type of Following Protocol: Speci es the type of protocol used
in the inner header. This is essential for correctly interpreting the
encapsulated packet.
—>Address of the MN (Mobile Node): Includes the IP address of
the mobile node (MN) as the destination of the encapsulated packet.
—>Original Sender Address: If the S bit is set, the original sender
address of the correspondent node (CN) is included in the inner header.
Omitting the source address is often not feasible, so it is included to
maintain packet integrity.

Fragmentation: Minimal encapsulation does not include a eld for


fragmentation offset in the inner header. As a result, it does not support
already fragmented packets and relies on the underlying network to
handle fragmentation if necessary.
fi
fi
fi
fi
fi
fi
fi
fi
fi
fi
fi
fi
fi
Generic Routing Encapsulation
Generic routing encapsulation (GRE) allows the encapsulation of packets of
one protocol suite into the payload portion of a packet of another protocol
suite .The packet of one protocol suite with the original packet header and
data is taken and a new GRE header is prepended. Together this forms the
new data part of the new packet. Finally, the header of the second protocol
suite is put in front. IP-in-IP encapsulation and minimal encapsulation work
only for IP, however the GRE encapsulation scheme also supports other
network layer protocols in addition to IP.

Outer Header:
The packet inside the
tunnel between the
home agent (HA) and
the care- of address (COA)
uses GRE as an encapsulation scheme.
The outer header is a standard IP header with HA as the source
address and COA as the destination address.
The protocol type used in this outer IP header is 47 for GRE.
Other elds of the outer packet, such as TTL (Time to Live) and TOS
(Type of Service), may be copied from the original IP header.
fi
However, the TTL must be decremented by 1 when the packet is
decapsulated to prevent inde nite forwarding.
GRE Header:
The GRE header starts with several ags indicating the presence
or absence of certain elds.
A minimal GRE header uses only 4 bytes but can include
additional mechanisms.
The C bit indicates if the checksum eld is present and contains
valid information. If set, the checksum eld contains a valid IP
checksum of the GRE header and payload.
The R bit indicates if the offset and routing elds are present and
contain valid information.
The offset represents the offset in bytes for the rst source routing
entry. The routing eld, if present, contains elds for source routing.
If the C bit is set, the offset eld is also present, and vice versa.
This ensures alignment of following elds to 4 bytes.
The checksum eld is valid only if the C bit is set, and the offset
eld is valid only if the R bit is set.
GRE also offers a key eld for authentication. If present, the K bit
is set. However, speci c authentication algorithms are not speci ed by
GRE.
The sequence number bit (S) indicates if the sequence number
eld is present. Sequence numbers may be used to restore packet
order, particularly important if the encapsulated protocol guarantees in-
order transmission.
Strict source routing may be enforced if the s bit is set

The recursion control eld in GRE (Generic Routing Encapsulation) is a


crucial feature that distinguishes GRE from other encapsulation methods like
IP-in-IP and minimal encapsulation. This eld serves as a counter that
determines the number of allowed recursive encapsulations for a packet.
When a packet arrives at an encapsulator, it checks the recursion control eld
to see if it equals zero.
If the recursion control eld is not zero, it means that additional encapsulation
is allowed. In this case, the packet is encapsulated again, and the recursion
control eld is decremented by one.
However, if the recursion control eld is already zero, it indicates that further
encapsulation is not permitted. In such a scenario, the packet will likely be
discarded.
This mechanism prevents inde nite recursive encapsulation, which could
occur if tunnels are improperly set up, such as when several tunnels form a
loop.
fi
fi
fi
fi
fi
fi
fi
fi
fi
fi
fi
fi
fi
fi
fi
fi
fi
fi
fl
fi
fi
fi
fi
fi
The default value of the recursion control eld should be 0, which allows only
one level of encapsulation by default. This ensures that encapsulation does
not continue inde nitely, preventing potential network issues.

Additionally, in GRE, certain reserved elds must be set to zero and are
ignored upon reception. These include:

The version eld, which typically contains 0 for the GRE version.
The protocol eld, a 2-byte eld representing the protocol of the packet
following the GRE header. For example, in the case of a mobile IP tunnel, the
protocol eld contains 0x800 for IP.
Other reserved bits, which are set to zero and ignored.

2.5 Reverse Tunneling


[Link]
[Link]#:~:text=A%20mobile%20node%20can%20request,that
%20uses%20a%20reverse%20tunnel.

3. Mobile TCP
Supporting mobility only on lower layers up to the network layer is not enough
to provide mobility support for applications. Most applications rely on a
transport layer, such as TCP (transmission control protocol) in the case of the
internet. Two functions of the transport layer in the internet are
checksumming over user data and multiplexing/demultiplexing of data from/to
applications. While the network layer only addresses a host, ports in TCP
allow dedicated applications to be addressed.
TCP offers connections between two applications. Within a connection TCP
can give certain guarantees, such as in-order delivery or reliable data
transmission using retransmission techniques. TCP has built-in mechanisms
to behave in a ‘network friendly’ manner

3.1 Traditional TCP


Traditional TCP is a wired network connection for communication .Traditional
TCP, when used in conjunction with Mobile IP (Internet Protocol), faces
several challenges in maintaining optimal performance in mobile
environments. Mobile IP enables mobile devices to maintain connectivity
while moving between different networks by assigning them a unique IP
address that remains constant regardless of the network they are connected
to. However, TCP, being designed for traditional xed networks, may
encounter issues when used in conjunction with Mobile IP due to factors such
as handovers, packet loss, and network latency variations.
fi
fi
fi
fi
fi
fi
fi
fi
3.2 Classical TCP Improvements like Indirect TCP

Issues with Traditional TCP


Standard TCP poses challenges in wireless environments:
Packet Losses: Wireless links are more prone to errors and packet losses,
which TCP misinterprets as network congestion, leading to reduced
transmission speeds.
Long Delays: Round-trip times for TCP acknowledgments can be signi cant
over wireless links, further slowing down communication.
End-to-End Semantics: TCP assumes a reliable end-to-end connection. In
mobile environments, handoffs between networks can disrupt this
assumption.
Following are the improvements made to the Traditional TCP

Indirect TCP (I-TCP) addresses the challenges of using TCP over wireless
links by segmenting the TCP connection into two parts: a xed part and a
wireless part. This approach is motivated by the poor performance of
standard TCP over wireless links and the inability to modify TCP within the
xed network. Indirect TCP (I-TCP) is a protocol designed to address the
challenges of using TCP over wireless links while maintaining compatibility
with existing TCP implementations in xed networks.

The TCP connection between the xed host (e.g., a web server) and the
mobile host is split into two parts at a Mobility Support Router (MSR)(access
point). The MSR could be the foreign agent.
Standard/Traditional TCP is used between the xed host and the access
point (AP).
A special TCP variant is used between the AP and the mobile host.
The AP acts as a proxy, terminating the standard TCP connection from the
xed host and initiating another one with the mobile host using the wireless-
adapted [Link] computer in the internet recognises any changes to TCP.
Instead of the mobile host, the access point now terminates the standard TCP
connection, acting as a proxy. This means that the access point is now seen
as the mobile host for the xed host and as the xed host for the mobile host.
Between the access point and the mobile host, a special TCP, adapted to
wireless links, is used. A good place for segmenting the connection between
mobile host and correspondent host is at the foreign agent of mobile IP. The
foreign agent controls the mobility of the mobile host anyway and can also
hand over the connection to the next foreign agent when the mobile host
moves on
fi
fi
fi
fi
fi
fi
fi
fi
fi
one can also imagine separating the TCP connections at a special server,
e.g., at the entry point to a mobile phone network (e.g., IWF in GSM, GGSN
in GPRS). The correspondent host in the xed network does not notice the
wireless link or the segmentation of the connection. The foreign agent acts as
a proxy and relays all data in both directions.

Data Transmissions
CN—> Mobile Host
If the correspondent host sends a packet, the foreign agent acknowledges
this packet and tries to forward the packet to the mobile host. If the mobile
host receives the packet, it acknowledges the packet. However, this
acknowledgement is only used by the foreign agent. If a packet is lost on the
wireless link due to a transmission error, the correspondent host would not
notice this. In this case, the foreign agent tries to retransmit this packet locally
to maintain reliable data transport.

Mobile Host—> CN
if the mobile host sends a packet, the foreign agent acknowledges this packet
and tries to forward it to the correspondent host. If the packet is lost on the
wireless link, the mobile hosts notice this much faster due to the lower round
trip time and can directly retransmit the packet. Packet loss in the wired
network is now handled by the foreign agent.

Handovers
I-TCP requires several actions as soon as a handover takes place
During a handover, packets need to be redirected to ensure that
communication remains uninterrupted. Mobile IP (Internet Protocol) is often
used for this purpose, allowing the mobile host to maintain connectivity even
as it moves between different access points or foreign agents.
The access point acts as a proxy, buffering packets for retransmission during
a handover.
fi
This ensures that data is not lost during the transition period.
After the handover, the old proxy (previous access point) must forward the
buffered data to the new proxy (new access point).
This is necessary because the old proxy has already acknowledged the data
and needs to ensure its delivery to the new proxy to maintain reliable
communication.
After registering with the new foreign agent (the entity responsible for
managing the mobility of the mobile host), the new foreign agent informs the
old one about its location.
This enables the old foreign agent to forward packets to the new location of
the mobile host.
In addition to buffering data, the sockets of the proxy also need to migrate to
the new foreign agent located in the access point. These sockets re ect the
current state of the TCP connection, including sequence numbers,
addresses, and ports. By migrating the sockets, the continuity of the TCP
connection is maintained without the need to establish new connections for
the mobile host.

Advantages
• Compatibility: I-TCP doesn’t require changes to the TCP protocol used
by hosts in the xed network or other hosts in the wireless network.
Existing TCP optimizations continue to function normally between the
foreign agent and the correspondent host.
• Isolation of Transmission Errors: By partitioning the connection into
two separate segments, transmission errors on the wireless link (like
lost packets) are contained and do not propagate into the xed network.
This reduces the need for retransmissions across the entire network.
• Safety in Network Changes: With I-TCP, new mechanisms can be
tested or used only between the mobile host and the foreign agent
fi
fi
fl
without destabilising the entire network. This simpli es optimization and
testing processes.
• Optimization for Short Delays: I-TCP bene ts from the short delay
between the mobile host and the foreign agent, allowing for faster
retransmission of lost packets. Even standard TCP can bene t from this
shorter round trip time, enhancing performance.
• Flexibility in Protocol Usage: Partitioning into two connections allows
for the use of different transport layer protocols between the foreign
agent and the mobile host, or the implementation of techniques like
compressed headers. The foreign agent can act as a gateway to
translate between different protocols, enhancing exibility.

Disadvantages
[Link] point Crash : The loss of end-to-end semantics of TCP due to foreign
agent partitioning can lead to problems if the agent crashes. When a sender
receives an acknowledgment, it assumes the receiver got the packet.
However, with partitioning, an acknowledgment only con rms the foreign
agent received the packet, not the end receiver. If the access node crashes,
applications on the correspondent node may also crash, assuming reliable
delivery.
[Link] Delays : In practical use, increased handover latency can be
more problematic. The foreign agent buffers all packets from the
correspondent host while forwarding them to the mobile host. During
handover, buffered data must be forwarded to the new foreign agent, causing
delays as more packets arrive and need redirection.

3.3 Snooping TCP


The drawback of I-TCP is the segmentation of the TCP connection into wired
and wireless TCP connections due to which the end-to-end semantic
connection of TCP between Sender and receiver is lost .To address this issue
, to make the connection end-to-end and more transparent Snooping TCP is
used.

The main function of the snooping TCP is to buffer data close to the mobile
host to perform fast local retransmission (data re-transmission from Foreign
agent-access point to mobile host) in case of packet loss. A good place for
the enhancement of TCP could be the foreign agent in the Mobile IP.

In Snooping TCP , the TCP connection consists of 2 connections , the wired


(consisting of the CN) and wireless connection (mobile node) , both
fi
fl
fi
fi
fi
connected by the access point/Foreign Agent such that FA is close to mobile
node (it is the agent of the FN in which the MN is currently in).

In this approach, the foreign agent buffers all packets with destination
mobile host and additionally ‘snoops’ (keeps an eye on) the packet ow in
both directions to recognize acknowledgements . The reason for buffering
packets toward the mobile node is to enable the foreign agent to perform a
local retransmission in case of packet loss on the wireless link. The foreign
agent buffers every packet until it receives an acknowledgement from the
mobile host. If the foreign agent does not receive an acknowledgement from
the mobile host within a certain amount of time, either the packet or the
acknowledgement has been lost. Alternatively, the foreign agent could receive
a duplicate ACK which also shows the loss of a [Link] the foreign agent
retransmits the packet directly from the buffer, performing a much faster
retransmission compared to the correspondent host.

To remain transparent, the foreign agent must not acknowledge data to the
correspondent host. This would make the correspondent host believe that the
mobile host had received the data and would violate the end-to-end semantic
in case of a foreign agent [Link] data from CN is passed to FA which
buffers the data and sends it to MN , MN on successfully receiving the data
sends ACK to FA which sends this ACK to CN , thus maintaining end-to-end
connection and transparency .
However, the foreign agent lters the duplicate acknowledgements to avoid
unnecessary retransmissions of data from the correspondent host , closely
watches over the data transmissions , acknowledgements , error handling
and re-transmissions . If the foreign agent now crashes, the time-out of the
correspondent host still works and triggers a retransmission. The foreign
agent may discard duplicates of packets already retransmitted locally and
acknowledged by the mobile host. This avoids unnecessary traf c on the
wireless link.
Data transfer from the mobile host with destination correspondent host
works as follows. The foreign agent snoops into the packet stream to detect
gaps in the sequence numbers of TCP. As soon as the foreign agent detects
a missing packet, it returns a negative acknowledgement (NACK) to the
mobile host. The mobile host can now retransmit the missing packet
immediately. Reordering of packets is done automatically at the
correspondent host by TCP.
fi
fi
fl
Mobile TCP
In wireless networks, packet loss and disconnections are common due to
factors like handovers between base stations and high bit error rates.
Standard TCP handles these situations poorly, leading to reduced throughput,
increased delay, and disruptions in communication.
Mobile TCP (M-TCP) is a protocol designed to address the challenges of
packet loss and disconnections in wireless networks, particularly in scenarios
where mobile users experience frequent or prolonged periods of
disconnection.
M-TCP aims to prevent the sender's window from shrinking due to packet
loss or disconnection, improve overall throughput, reduce delay, maintain
end-to-end TCP semantics, and provide ef cient handover support.

M-TCP splits the TCP connection into two parts. The connection between the
standard host(CN) and the(FA) supervisory host (SH)(proxy/access point) is
the Standard TCP , while an optimized TCP connection is used for
communication between the FA and the mobile host (MN).
The FA acts as an intermediary, exchanging data between the two parts of
the connection. It monitors packets sent to the MH and ACKs returned from
the MH.

Re-Transmissions
If it detects a prolonged absence of ACKs, indicating a disconnection, it sets
the sender's window size to 0. This forces the sender into persistent mode,
preventing it from attempting retransmissions.
By setting the sender's window size to 0, M-TCP ensures that the sender
does not waste resources attempting retransmissions during a
[Link] connectivity is restored, either by the existing FA or a
new FA, the sender's window is reopened to its previous value.
fi
This allows the sender to resume sending data at full speed without any delay
caused by slow start or congestion control mechanisms.

The wireless side of M-TCP employs an adapted TCP variant that can
recover from packet loss more quickly.
This modi ed TCP does not use slow start, requiring the implementation of a
bandwidth manager to ensure fair sharing of the wireless link.

3.4
Fast
Retransmit/ Fast Recovery
When a mobile host moves to a new foreign agent in a network, it can
experience packet loss or timeouts due to changes in network conditions.
This can lead to TCP (Transmission Control Protocol) incorrectly inferring
congestion and triggering a slow start, even when congestion might not be
the actual cause of the packet loss. To address this issue, the concept of fast
retransmit and fast recovery was introduced.
fi
Fast retransmit and fast recovery are mechanisms used by hosts to handle
packet loss without assuming congestion. Typically, when a host detects
packet loss, it waits for a timeout or duplicate acknowledgments before
retransmitting the lost packets. However, with fast retransmit/fast recovery,
hosts can react more quickly to packet loss without waiting for a timeout.

This proposal suggests arti cially inducing the fast retransmit behavior on
both the mobile host and the correspondent host side. When a mobile host
registers at a new foreign agent using Mobile IP, it starts sending duplicate
acknowledgments to correspondent hosts. These duplicate acknowledgments
are intentionally crafted to mimic the behavior that would occur if packet loss
had occurred.
Speci cally, the mobile host sends three duplicate acknowledgments, which
triggers the correspondent host to enter fast retransmit mode. In fast
retransmit mode, the correspondent host retransmits the missing packets
without initiating a slow start. This means that the correspondent host
continues to send data at the same rate it did before the mobile host moved
to another foreign agent, thus avoiding unnecessary slowdowns in data
transmission.
Additionally, because the mobile host may also incorrectly enter slow start
after moving to a new foreign agent, this approach ensures that the mobile
host also enters fast retransmit mode. The mobile host retransmits all
unacknowledged packets using the current congestion window size without
going through the slow start process, further minimizing the impact of packet
loss on data transmission.

3.5

Transmission/Timeout Freezing

Transmission/time-out freezing is a technique designed to handle longer


interruptions of a connection in wireless networks, such as when a mobile
device moves into an area with no network coverage (e.g., a tunnel) or when
the network capacity is exceeded. These interruptions can lead to TCP
fi
fi
(Transmission Control Protocol) mistakenly interpreting the loss of connection
as congestion and triggering a disconnection after a timeout period.

To address this issue, transmission/time-out freezing leverages coordination


between the MAC (Media Access Control) layer and the TCP layer. The MAC
layer, which operates at the lower levels of the network stack and is
responsible for managing access to the physical medium, often detects
connection problems before TCP does. It can identify the real reason for the
interruption, such as a loss of signal, and can inform the TCP layer
accordingly.

When the MAC layer anticipates an upcoming loss of connection or


determines that the interruption is not due to congestion, it noti es the TCP
layer. TCP then stops sending data and "freezes" its current state, including
the congestion window and associated timers. By freezing the state, TCP
maintains its current congestion control parameters and does not initiate a
timeout-based disconnection.

If the interruption is detected early enough, both the mobile host and the
correspondent host (the remote host with which the mobile device is
communicating) can be informed. However, in cases of rapid interruption,
additional mechanisms in the access point (AP) may be necessary to inform
the correspondent host promptly. Without this information, the correspondent
host may incorrectly assume congestion and enter slow start, ultimately
leading to a connection break.

Once the MAC layer detects that connectivity has been restored, it signals
TCP to resume operation from the exact point where it had frozen. This
allows TCP to seamlessly continue the data transmission process without
needing to renegotiate congestion control parameters or restart the
connection

3.6 Selective Retransmission


Selective retransmission is a crucial extension of TCP (Transmission Control
Protocol) that addresses the inef ciencies of traditional retransmission
methods. In TCP, acknowledgments are cumulative, meaning they con rm
the receipt of packets up to a certain point in the sequence. If a single packet
is lost in transit, the sender must retransmit all packets from the lost one
onward, which is known as go-back-N retransmission. This approach can
lead to signi cant bandwidth wastage, especially in networks with high path
capacities or bandwidth-delay-products.
fi
fi
fi
fi
Selective retransmission, allows TCP to request the retransmission of speci c
lost packets rather than entire sequences. This capability signi cantly
reduces bandwidth wastage and improves overall network ef ciency.

Ch. 4 Wireless Local Area Networks

[Link] Local Area Networks (WLAN) : Wireless LAN refers to a network


that connects devices such as laptops, smartphones, tablets, and other
fi
fi
fi
mobile devices wirelessly within a limited geographical area (typically within a
building, campus, or of ce).
It utilises radio waves or infrared signals to transmit data between devices
and a central access point or router.
Common wireless LAN standards include Wi-Fi (IEEE 802.11 family), which
has evolved over time to offer faster speeds, better security, and increased
reliability.

Advantages of WLANs (FPDRC)

Flexibility:
• Within the radio coverage area, nodes can communicate without
restrictions imposed by physical cables. This allows for greater
mobility and exibility in device placement.
• Radio waves used in WLANs can penetrate walls, allowing
communication even between devices in separate rooms or
buildings within the coverage area.
• In scenarios where wiring is challenging or impractical (e.g.,
rewalls separating buildings made of bricks), WLANs offer a
viable solution as they don't require physical connections.
• Wireless LANs can penetrate non-visible areas, such as being
integrated into devices or hidden within walls, providing
connectivity without compromising aesthetics or functionality.
Planning:
• Wireless ad-hoc networks enable communication without the
need for extensive pre-planning or wiring diagrams. As long as
devices adhere to the same wireless standard, they can
communicate seamlessly.
Design:
• WLANs facilitate the design of compact and independent devices
that can easily t into pockets or small spaces. This design
freedom is especially bene cial for devices like PDAs, tablets,
and IoT devices.
• The absence of physical cables not only bene ts users in terms of
mobility but also allows designers to create sleek and unobtrusive
products. Wireless senders and receivers can be discreetly
integrated into historical buildings or environments without
compromising aesthetics.
Robustness:
• Wireless networks exhibit robustness in challenging situations
such as natural disasters (e.g., earthquakes) or accidental
disruptions (e.g., users unplugging cables). Even if physical
fi
fl
fi
fi
fi
fi
infrastructure is damaged, as long as wireless devices remain
operational, communication can continue.
• In contrast, wired networks relying on physical connections are
more susceptible to complete breakdowns if the infrastructure is
compromised.
Cost-Effectiveness:
• Initial setup costs for providing wireless access via an access
point are incurred only once. Adding additional users to a wireless
network typically does not increase costs signi cantly.
• This cost advantage is particularly relevant in environments with
uctuating user numbers, such as lecture halls, hotel lobbies, or
airport gate areas. In these scenarios, accommodating varying
user loads on a xed wired network would require additional
infrastructure and maintenance costs.

Introduction - [Link]
[Link]#~bene ts

Characteristics of WLANs - Explain advantages and basic architecture

HiperLan - HIPERLAN, short for High-Performance Radio Local Area


Network, is a wireless communication standard designed speci cally for local
area networks (LANs) and mobile computing environments. It was developed
by the European Telecommunications Standards Institute (ETSI) as an
alternative to the IEEE 802.11 Wi-Fi standards. HIPERLAN aims to provide
high-speed data transmission, low latency, and robust performance suitable
for demanding applications in both indoor and outdoor settings.
Development and Standards:

HIPERLAN standards were initially introduced in the 1990s by ETSI to


address the need for high-performance wireless LANs. The standards
underwent several revisions and enhancements over time to improve data
rates, security, and interoperability.

Two primary versions of HIPERLAN were developed:


HIPERLAN/1: This version focused on providing high-speed wireless
connectivity for indoor environments, offering data rates up to 20 Mbps in the
5 GHz frequency band.

HIPERLAN/2: Also known as HIPERLAN Type 2, this version aimed to deliver


even higher data rates and quality of service (QoS) support for multimedia
fl
fi
fi
fi
fi
applications, including voice, video, and data. HIPERLAN/2 operated in the 5
GHz band and offered data rates up to 54 Mbps.

Goals of HIPERLAN

1. Quality of Service (QoS) for Multi-service Networks:


- HIPERLAN aims to provide robust Quality of Service mechanisms to
support multiple types of traf c, including voice, video, data, and real-time
applications. QoS ensures that critical services receive adequate bandwidth,
low latency, and priority handling, enhancing overall network performance
and user experience.

2. Strong Security:
- HIPERLAN prioritizes strong security measures to protect network data,
prevent unauthorized access, and mitigate cybersecurity threats. This
includes encryption protocols, authentication mechanisms, access control
policies, and secure key management to safeguard sensitive information and
ensure privacy.

3. Seamless Handoff Between Local and Wide Areas:


- Mobility is a fundamental aspect of modern wireless networks, and
HIPERLAN emphasizes seamless handoff or roaming capabilities when
devices transition between local area networks (LANs) and wider area
networks (WANs). This ensures uninterrupted connectivity and smooth
transitions for mobile users moving between coverage zones.

4. Increased Throughput:
- HIPERLAN focuses on achieving higher data rates and throughput to
support bandwidth-intensive applications, multimedia streaming, large le
transfers, and high-speed data communication. This increased throughput
enhances network performance and user productivity, especially in
demanding environments.

5. Ease of Use, Deployment, and Maintenance:


- User-friendliness is a key goal of HIPERLAN, aiming to simplify network
setup, con guration, and management processes. This includes intuitive
interfaces, automated deployment tools, centralized management consoles,
and self-healing capabilities to reduce complexity and streamline network
operations.

6. Affordability:
fi
fi
fi
- Cost-effectiveness is another priority for HIPERLAN, aiming to deliver
advanced wireless networking capabilities at a reasonable cost. This includes
considerations such as hardware affordability, ef cient resource utilization,
minimized operational expenses, and long-term sustainability of network
investments.

7. Scalability:
- HIPERLAN is designed to scale ef ciently to accommodate growing
network demands, increased user populations, and expanding coverage
areas. This scalability encompasses aspects such as adding new devices,
upgrading network infrastructure, optimizing resource allocation, and adapting
to evolving technology standards without signi cant disruptions.

Difference between HIPERLAN 1, 2

1.2 Infrastructure network and ad-hoc network -


fi
fi
fi
Basic WLAN Architecture

Infrastructure Based Network


[Link]
infrastructure-and-ad-hoc-networks-
#:~:text=In%20infrastructure%2Dbased%20wireless%20networks,network%2
0handling%20different%20wireless%20nodes.

Infrastructure-based networks in WLANs play a crucial role in providing


wireless connectivity, access to other networks, and various network
functions. These networks are structured around access points (APs) that act
as central hubs for communication, medium access control, and bridging to
other networks, both wired and wireless and performing routing.

• Components and Architecture:


• Access Points (APs): APs are central devices in infrastructure-
based WLANs. They provide wireless access to client devices
(such as laptops, smartphones, tablets) within their coverage
area. APs manage medium access, handle network traf c,
fi
enforce security policies, and bridge communication between
wireless clients and other networks. Eg - Routers
• Wireless Clients: These are the devices that connect to the
WLAN through APs. They include laptops, smartphones, IoT
devices, and other wireless-enabled devices.
• Wired and Wireless Networks: Infrastructure-based WLANs
include both wired and wireless components. Wired networks
typically consist of switches, routers, servers, and other network
infrastructure elements. Wireless networks encompass APs,
wireless clients, and communication links between them.
• Functionality and Operations:
• Communication Flow: In infrastructure-based WLANs,
communication primarily occurs between wireless clients and the
APs, not directly between wireless clients. APs serve as
intermediaries that manage and facilitate communication within
the WLAN.
• Network Bridging: APs in infrastructure-based networks not only
control medium access but also act as bridges to other networks.
They can bridge wireless networks to wired networks, other
wireless networks, or even the internet, providing connectivity and
access beyond the WLAN.
• Logical Wireless Networks: Multiple APs and their associated
wireless clients may form one logical wireless network. This
allows for seamless roaming and connectivity across different
coverage areas within the WLAN infrastructure.
• Network Design and Management: Infrastructure-based WLANs
are designed with simplicity in mind. Most of the network
functionality and intelligence reside within the APs, making
network design and management relatively straightforward.
Wireless clients can remain simple as they rely on the APs for
network services and functions.
• Quality of Service (QoS): APs in infrastructure-based networks
can implement QoS mechanisms to prioritize traf c, ensure
minimum bandwidth guarantees for speci c nodes, and manage
network ow ef ciently. This is crucial for supporting applications
with speci c performance requirements, such as real-time
streaming or VoIP.
• Access Schemes and Collision Handling:
• Access Schemes: Infrastructure-based WLANs can employ
different access schemes, such as contention-based (CSMA/CA)
or controlled access (polling). Contention-based access allows
nodes to contend for access to the medium, while controlled
fl
fi
fi
fi
fi
access involves the AP polling wireless nodes to regulate medium
access.
• Collision Handling: Collisions may occur in WLANs if medium
access between wireless nodes and the AP is not coordinated.
However, in controlled access schemes where only the AP
controls medium access, collisions can be avoided, ensuring
ef cient and reliable communication

Ad-Hoc Network
Ad-hoc networks in WLANs refer to a type of wireless network where nodes
can communicate directly with each other without the need for centralized
infrastructure, such as access points or routers. Each node in an ad-hoc
network acts both as a client and as a relay, forwarding data packets to other
nodes within its communication range. This exibility makes ad-hoc networks
suitable for scenarios where infrastructure is unavailable, impractical, or
where quick and temporary network setups are needed.
Key Characteristics of Ad-Hoc Networks:
• Infrastructure-Free: Ad-hoc networks operate without a central
infrastructure, such as access points or base stations. Nodes
communicate directly with each other using peer-to-peer
communication.
• Node Mobility: Nodes in ad-hoc networks can move freely within
the coverage area, and the network dynamically adjusts to
changes in node positions and connectivity.
fi
fl
• Peer-to-Peer Communication: Nodes in an ad-hoc network can
communicate with any other reachable node within their radio
range. Communication can occur directly between nodes or
through intermediate nodes that act as relays.
• Self-Organisation: Ad-hoc networks are self-organizing, meaning
that nodes collaborate to establish network connectivity and
routing without relying on centralized management or
con guration.
Communication in Ad-Hoc Networks:
• Multi-Hop Communication: If nodes are out of each other's
direct radio range, multi-hop communication occurs, where data
packets are relayed through intermediate nodes until they reach
their destination. This relaying mechanism extends the network's
coverage and connectivity.
• Dynamic Network Topology: The network topology in ad-hoc
networks is dynamic and changes as nodes move, join, or leave
the network. Routing algorithms adapt to these changes to
maintain connectivity and ef cient data transmission paths.
Challenges and Considerations in Ad-Hoc Networks:
• Medium Access Control (MAC): Nodes in ad-hoc networks must
implement MAC protocols to manage medium access, avoid
collisions, and coordinate data transmission. Common MAC
protocols include CSMA/CA (Carrier Sense Multiple Access with
Collision Avoidance).
• Hidden Terminal and Exposed Terminal Problems: Ad-hoc
networks may encounter hidden terminal and exposed terminal
problems, where nodes experience interference or collision issues
due to their relative positions and communication ranges. MAC
protocols and routing algorithms address these challenges.
• Quality of Service (QoS): Providing QoS in ad-hoc networks can
be challenging due to dynamic network conditions and varying
data transmission paths. Priority mechanisms and QoS-aware
routing protocols may be implemented to ensure certain levels of
service quality for critical applications.
fi
fi
2. IEEE 802.11 : IEEE 802.11 is a set of standards developed by the Institute
of Electrical and Electronics Engineers (IEEE) that de ne the speci cations
for wireless local area networks (WLANs). It is one of the most widely used

standards for wireless networking, providing connectivity for various devices


such as laptops, smartphones, tablets, IoT devices, and more.

2.1 System architecture -


fi
fi
Infrastructure-Based Network Architecture:
• Stations (STAs): Stations are wireless terminals or devices, such
as laptops, smartphones, tablets, or IoT devices, equipped with
access mechanisms to the wireless medium and capable of radio
communication.
• Access Points (APs): Access points are central devices in
infrastructure-based networks that serve as hubs for wireless
communication. APs connect multiple stations within their radio
coverage area and facilitate communication with other networks
(wired or wireless).
• Basic Service Set (BSS): A BSS is a group of stations (STAs)
connected to the same access point (AP) within its coverage
area. Each BSS has a unique identi er known as the Basic
Service Set Identi er (BSSID).
• Extended Service Set (ESS): An ESS is formed when multiple
BSSs are interconnected via a distribution system. The
distribution system connects APs to create a larger network,
extending the coverage area. The ESS has its own identi er
called the Extended Service Set Identi er (ESSID), also known as
the network name.
• Distribution System: The distribution system connects multiple
BSSs via APs, forming an ESS. It handles data transfer between
different APs, manages roaming (changing access points), and
provides connectivity to other LANs or networks.
• Roaming and Association: Stations (STAs) can roam between
different APs within the same ESS, allowing seamless
connectivity as users move within the coverage area. STAs
associate with an AP to establish communication and maintain
synchronization within the BSS.

Ad-Hoc Network Architecture (Independent Basic Service Set, IBSS):
• Independent Basic Service Set (IBSS): In ad-hoc networks,
stations (STAs) can form independent BSSs without the need for
central APs. An IBSS comprises a group of stations using the
same radio frequency and communicating directly with each
other.
• Peer-to-Peer Communication: Stations within the same IBSS
can communicate directly with each other, forming a self-
organizing network without centralized infrastructure.
• Flexibility and Spontaneity: Ad-hoc networks offer exibility and
spontaneity, making them suitable for scenarios where
fi
fi
fi
fl
fi
infrastructure-based connectivity is impractical or unavailable,
such as temporary meetings or emergency communication.

Functionality and Features:
• Roaming Support: Both infrastructure-based and ad-hoc
networks support roaming, allowing seamless handover between
different access points or IBSSs as stations move within the
network coverage.
• Synchronisation and Power Management: Access points (APs)
in infrastructure-based networks provide synchronisation within a
BSS and support power management features to conserve
battery power in mobile devices (STAs).
• Medium Access Control (MAC): IEEE 802.11 speci es MAC
protocols for managing medium access, controlling data
transmission, handling collisions, and supporting time-bounded
services for real-time applications.
• Quality of Service (QoS): APs can prioritize traf c and support
QoS mechanisms to ensure certain levels of service quality for
critical applications, such as voice or video streaming.
• Distribution System Services: While the architecture of the
distribution system is not speci ed in IEEE 802.11, distribution
system services are de ned to facilitate data transfer, roaming,
and inter-AP communication within an ESS.
• Interoperability and Standards Compliance:
• IEEE 802.11 standards ensure interoperability among compliant
devices and systems, allowing different vendors' equipment to
work together within the same WLAN environment.
• The standard continues to evolve with amendments and
extensions (e.g., 802.11b, 802.11g, 802.11n, 802.11ac) to improve
performance, security, and functionality while maintaining
backward compatibility.
fi
fi
fi
fi
2.2 Protocol architecture -
The IEEE 802.11 protocol
architecture follows a
layered approach, focusing
on the Physical Layer (PHY),
Medium Access
Control (MAC) Layer, and
management functions.
Physical Layer (PHY):
Physical Layer Convergence Protocol (PLCP):The PLCP serves as
an interface between the higher layers of the protocol stack (e.g., MAC
layer) and the Physical Medium Dependent (PMD) sublayer. Its primary
function is to provide a standardised service access point (SAP) for the
PHY layer operations, ensuring compatibility across different physical
transmission technologies.
One of the key functions of the PLCP is to perform Clear Channel
Assessment. This involves sensing the wireless medium to determine if
it is free of ongoing transmissions before initiating data transmission.
CCA helps avoid collisions and ensures ef cient channel utilisation.

Physical Medium Dependent Sublayer (PMD): The PMD sublayer is


responsible for handling the actual transmission and reception of
signals over the physical medium. It interacts directly with the radio
frequency (RF) hardware and implements modulation/demodulation
techniques, encoding/decoding schemes, and signal processing. Uses
various modulation techniques like Frequency Hopping Spread
Spectrum (FHSS), Direct Sequence Spread Spectrum (DSSS),
Orthogonal Frequency Division Multiplexing (OFDM), and High Rate
Direct Sequence Spread Spectrum (HR-DSSS) to achieve different data
fi
rates and operate in different frequency bands (e.g., 2.4 GHz and 5
GHz).
Medium Access Control (MAC) Layer:
Distributed Coordination Function (DCF): DCF is the primary
medium access control (MAC) mechanism used in IEEE 802.11
networks. It operates in a distributed manner without the need for a
central controller. DCF is based on the Carrier Sense Multiple Access
with Collision Avoidance (CSMA/CA) [Link] sense the
channel before transmission using physical and virtual channel sensing
methods. If the channel is idle, they transmit; otherwise, they use
backoff algorithms to reattempt transmission after a random delay.

Point Coordination Function (PCF):PCF is an optional coordination


mechanism in IEEE 802.11 networks, operating alongside DCF. Unlike
DCF, PCF involves a centralized approach with a Point Coordinator
(PC) or Access Point (AP) controlling access to the medium within its
coverage [Link] PC/AP polls stations in its coverage area, allowing
them to transmit during their assigned time slots. This polling
mechanism gives the PC/AP control over channel access, reducing
contention.

Management Functions:
MAC Management: Handles station association, re-association,
roaming between access points, authentication, encryption,
synchronization with access points, and power management to
conserve battery life.
PHY Management: Involves channel tuning and maintenance of PHY
Management Information Base (MIB).
Station Management: Coordinates higher-layer functions, such as
bridging control and interaction with the distribution system in the case
of an access point.
Modulation Techniques:
FHSS: Uses frequency hopping across 79 channels of 1 MHz each,
employing a pseudo-random number generator for hopping sequence.
Provides fair spectrum allocation in the unregulated ISM band.
DSSS: Supports speeds of 1 or 2 Mbps, utilizing a technique similar to
Code Division Multiple Access (CDMA).
OFDM: Delivers speeds of 54 Mbps and above in the wider 5 GHz ISM
band, utilizing multiple subcarriers for simultaneous data transmission.
HR-DSSS: Offers speeds of 11 and 22 Mbps in the 2.4 GHz bandwidth,
providing higher data rates compared to traditional DSSS
2.3 Physical layer -

2.4 Medium access control layer -


The Medium Access Control (MAC) layer in IEEE 802.11 wireless networks is
responsible for managing access to the wireless medium, controlling data
transmission, supporting various services like roaming and power
conservation, and de ning access mechanisms for ef cient communication.
• Basic Services:
• Asynchronous Data Service: This service is mandatory and
supports asynchronous packet exchange. It allows for the
transmission of unicast, broadcast, and multicast packets with a
'best effort' model, meaning there are no guarantees on delay
bounds.
fi
fi
• Time-Bounded Service (Optional): This service offers time-
constrained packet delivery, ensuring packets are delivered within
speci ed time constraints. It is optional and can be provided in
infrastructure-based networks using an access point (AP) for
coordination.
• Access Mechanisms:
• Basic CSMA/CA Method: This is a mandatory access
mechanism based on Carrier Sense Multiple Access with Collision
Avoidance (CSMA/CA). Stations listen to the channel and defer
transmission if it is busy. CSMA/CA helps avoid collisions and
ensures fair access to the medium.
• Optional Methods:
• Avoiding Hidden Terminal Problem: This method
addresses issues related to hidden terminals, where
stations cannot detect transmissions from other stations due
to obstructions. It improves overall network ef ciency.
• Contention-Free Polling Method (PCF): This method, part
of the Point Coordination Function (PCF), offers time-
bounded service and is suitable for real-time applications.
An access point (AP) coordinates medium access and
polling of stations, reducing contention and providing
deterministic access.
• Parameters for Medium Access Control:
• Slot Time: Derived from medium propagation delay and other
PHY parameters, slot time de nes the time units for medium
access. It is 50 μs for Frequency Hopping Spread Spectrum
(FHSS) and 20 μs for Direct Sequence Spread Spectrum (DSSS).
• Inter-Frame Spacing:
• Short Inter-Frame Spacing (SIFS): Shortest waiting time
for high-priority control messages like acknowledgments
and polling responses. SIFS values are 10 μs for DSSS and
28 μs for FHSS.
• PCF Inter-Frame Spacing (PIFS): A waiting time between
DIFS and SIFS, used for time-bounded services with
medium priority. PIFS is de ned as SIFS plus one slot time.
• DCF Inter-Frame Spacing (DIFS): Longest waiting time
with the lowest priority, used for asynchronous data service
within a contention period. DIFS is de ned as SIFS plus two
slot times.
• Priority of Medium Access:
fi
fi
fi
fi
fi
• SIFS has the highest priority, followed by PIFS, and then DIFS.
Stations adjust their waiting times based on these priorities for
ef cient medium access

Medium Access Methods

1. Basic DFWMAC-DCF using CSMA/CA


The IEEE 802.11 MAC layer's basic access mechanism is based on Carrier
Sense Multiple Access with Collision Avoidance (CSMA/CA), which is a
random access scheme with mechanisms for carrier sensing and collision
avoidance through random backoff. Here's a detailed explanation of how the
CSMA/CA mechanism works:
• Carrier Sensing and Access Phase:
• When a station (node) has data to transmit, it rst checks if the
medium (wireless channel) is idle for at least the duration of the
Distributed Inter-Frame Space (DIFS), with the help of the Clear
Channel Assessment (CCA) signal from the physical layer.
• If the medium is idle, the station can access the medium
immediately and begin transmitting its data. This allows for short
access delay under light network load conditions.
• Contention Phase:
• If the medium is busy (i.e., another station is already transmitting),
the station enters a contention phase. It waits for the duration of
DIFS and then starts a contention process.
• During contention, each station selects a random backoff time
within a contention window. The contention window size initially
starts at CWmin.
• After the backoff time expires and the medium is still idle, the
station accesses the medium. If another station accesses the
medium before the backoff timer expires, the current station loses
its chance and has to wait for the next opportunity.
• Fairness and Backoff Timer:
• To ensure fairness, IEEE 802.11 adds a backoff timer. Each
station selects a random waiting time within the range of the
contention window for medium access.
• If a station does not get access in the rst cycle, it stops its
backoff timer and waits for the medium to be idle again for DIFS
before starting the counter again.
• Stations that have waited longer have an advantage over newly
entering stations because they only need to wait for the remainder
of their backoff timer from previous cycles.
fi
fi
fi
This backoff timer mechanism helps avoid collisions and ensures

that stations do not continuously contend for the medium
simultaneously.
• Adaptation to Network Load:
• The contention window size (CW) dynamically adjusts based on
network load. After a collision occurs (indicating higher load), the
contention window doubles up to a maximum value (CWmax).
• The larger the contention window, the greater the resolution
power of the randomized scheme, reducing the chances of
collisions. However, a smaller contention window ensures shorter
access delays under light load conditions.
• This adaptive mechanism, known as exponential backoff, helps
optimize medium access and reduce collisions in varying network
load scenarios.
• Acknowledgement and Retransmissions:
• For unicast data transfer, after a station sends data, the receiver
sends an acknowledgement (ACK) after a Short Inter-Frame
Space (SIFS) duration.
• Stations that successfully receive data wait for DIFS plus their
backoff time before attempting access again.
• If no ACK is received, the sender automatically retransmits the
data frame. However, retransmissions follow the same contention
and backoff process as initial transmissions, with limited retries
and reporting of nal failure to higher layers
fi
Mac Frame Structure

IEEE 802.11 MAC frames play a crucial role in wireless communication, as


they encapsulate data, control information, and management functions
necessary for reliable and ef cient transmission within the network. the
components and structure of IEEE 802.11 MAC frames, as described in your
query:

• Basic Structure of an IEEE 802.11 MAC Frame:


• Frame Control Field: The rst 2 bytes of the MAC frame contain
the frame control eld, which serves multiple purposes and
includes sub- elds explained later.
• Duration ID: Indicates the duration for which the medium is
occupied or contains identi ers depending on the value.
• Address 1 to 4: These elds contain MAC addresses, with their
interpretation dependent on the DS (Distribution System) bits in
the frame control eld.
• Sequence Control: Used for ltering duplicate frames due to the
acknowledgement mechanism.
• Data: Can contain up to 2,312 bytes of arbitrary data transferred
between sender and receiver(s).
• Checksum (CRC): A 32-bit checksum used for frame protection
against errors.
• Frame Control Field:
• Protocol Version: Indicates the current protocol version, usually
xed at 0.
• Type: Determines the function of the frame as management (00),
control (01), or data (10). The value 11 is reserved.
fi
fi
fi
fi
fi
fi
fi
fi
fi
• Subtype: Further speci es the function of the frame within its type
(e.g., association request, beacon, RTS, CTS, user data).
• To DS/From DS: Differentiates frames transmitted between
mobile stations, mobile stations and access points, or between
access points over a Distribution System (DS).
• More Fragments: Set to 1 if the frame has another fragment of
the current MSDU (MAC Service Data Unit) to follow.
• Retry: Indicates if the frame is a retransmission of an earlier
frame.
• Power Management: Indicates the station's power-save mode
after successful transmission.
• More Data: Indicates if the sender has more data to send than
the current frame.
• WEP: Indicates the use of Wired Equivalent Privacy security
mechanism (though not recommended due to weaknesses).
• Order: If set to 1, received frames must be processed strictly in
order.
• Interpretation of DS Bits:
• The 'to DS' and 'from DS' bits within the Frame Control eld
differentiate between frames transmitted between various entities
within the network.
• Table 7.1 provides an overview of the four possible bit values of
the DS bits and their associated interpretations of the four
address elds, depending on the direction and destination of the
frame
fi
fi
fi
2.5 MAC management - MAC management in an IEEE 802.11 station is a
critical aspect that manages various functions related to system integration,
ensuring smooth operation within a wireless network. Below are the key
functional groups within MAC management,

[Link]: Functions are to nd a wireless LAN, synchronisation of


internal clocks of nodes in the network, and generation of beacon signals.
Synchronisation in IEEE 802.11 networks refers to the process of aligning the
internal clocks of all nodes within a network to ensure coordinated and
ef cient communication .
Each node in an 802.11 network maintains its internal clock for timekeeping
purposes.
The Timing Synchronisation function is speci ed by IEEE 802.11 to
synchronise the clocks of all nodes within the network.
Synchronised clocks help nodes coordinate power-saving modes and wake-
up times, optimising energy ef ciency.
PCF, a mode of operation in IEEE 802.11 networks, relies on synchronised
clocks to schedule contention-free periods (super frames) and contention
periods accurately.
FHSS systems require synchronised hopping sequences to ensure all nodes
can communicate effectively within a Basic Service Set (BSS).
Within a Basic Service Set (BSS), synchronisation information is conveyed
through periodic transmissions of beacon frames.
A beacon frame contains a timestamp and other management information
essential for power management, roaming, and BSS identi cation.
Nodes use the timestamp from beacon frames to adjust their local clocks
periodically.

[Link] management: Functions are to control transmitter activity for power


conservation, e.g., periodic sleep, buffering without missing a [Link]
management in IEEE 802.11 networks is a critical aspect aimed at conserving
battery life in wireless devices.
Wireless devices in 802.11 networks are typically battery-powered, making
power-saving mechanisms essential for prolonged device
[Link] readiness of the receiving module consumes signi cant
power, affecting battery life, especially in lightly loaded networks.
The fundamental concept of IEEE 802.11 power management is to turn off
the transceiver when it's not actively transmitting or receiving data, thereby
conserving energy.
fi
fi
fi
fi
fi
fi
While sending devices can easily control their transceivers based on data
transfer needs, receivers need periodic waking to handle incoming data.
IEEE 802.11 de nes two states for a station: sleep and awake.
Data buffering is employed in sending devices to accommodate power-saving
stations. If a power-saving station is asleep, the sender buffers data until the
station wakes up.
The sleeping station periodically wakes up to listen for data announcements
during a speci ed awake time window. The Timing Synchronization Function
(TSF) ensures synchronized wake-up times across stations.

[Link]: Functions for joining a network (association- process of joining a


wireless network), changing access points, scanning for access
[Link] between access points is called roaming. The term “handover”
or “handoff” as used in the context of mobile or cellular phone systems .The
steps for roaming between access points are:
1.A station decides that the current link quality to its access point AP1 is too
poor.
[Link] station then starts scanning for another access point.
Scanning involves the active search for another BSS.
fi
fi
Passive scanning simply means listening into the medium to nd other
networks, i.e., receiving the beacon of another network issued by the
synchronization function within an access point.
Active scanning comprises sending a probe on each channel and waiting
for a response. Beacon and probe responses contain the information
necessary to join the new BSS.

[Link] station then selects the best access point for roaming based on, e.g.,
signal strength, and sends an association request to the selected access
point AP2.
[Link] new access point AP2 answers with an association response. If the
response is successful, the station has roamed to the new access point AP2.
Otherwise, the station has to continue scanning for new access points.

[Link] access point accepting an association request indicates the new


station in its BSS to the distribution system (DS). The DS then updates its
database, which contains the current location of the wireless stations. This
database is needed for forwarding frames between different BSSs, i.e.
between the different access points controlling the BSSs, which combine to
form an ESS (see Figure 7.3). Additionally, the DS can inform the old access
point AP1 that the station is no longer within its BSS.

[Link] information base (MIB): All parameters representing the


current state of a wireless station and an access point are stored within a MIB
for internal and external access. A MIB can be accessed via standardized
protocols such as the simple network management protocol (SNMP).

2.6 802.11a -

2.7 802.11b standard -

3. Wi-Fi security :

3.1 WEP - [Link]


fi
[Link]

3.2 WPA - [Link] -protected-access-wpa/


WPA (Wi-Fi Protected Access) was introduced as an interim solution to
replace the vulnerable WEP (Wired Equivalent Privacy) protocol in wireless
networks. Here’s a detailed explanation of WPA:
1. Purpose and Implementation:
• WPA was designed to provide stronger security than WEP while
still being compatible with older hardware that was designed for
WEP.
• It could be implemented through rmware upgrades on wireless
network interface cards (NICs) that were originally designed for
WEP.
• However, upgrading access points (APs) to support WPA required
more changes, leading to limitations in upgrading pre-2003 APs.
2. IEEE 802.11i Compatibility:
• WPA implements most of the IEEE 802.11i standard, which is a
comprehensive standard for wireless LAN (WLAN) security.
fi
fi
• This compatibility with 802.11i allowed WPA to offer stronger
security features compared to WEP.
3. Encryption Key:
• WEP used a static 64-bit or 128-bit encryption key, which remained
constant once set. This made it vulnerable to certain types of
attacks.
• WPA introduced Temporal Key Integrity Protocol (TKIP) as part of
its encryption mechanism.
• TKIP dynamically generates a new 128-bit key for each packet,
signi cantly enhancing security by preventing attacks that exploit
the static key used in WEP.
4. Message Integrity Check (MIC):
• WPA incorporates a Message Integrity Check to ensure that data
packets are not altered or resent by attackers.
• This check is designed to prevent packet tampering and replay
attacks, which were signi cant weaknesses in WEP.
• WPA’s MIC replaced the cyclic redundancy check (CRC) used in
WEP, providing a stronger guarantee of data integrity.
5. TKIP Algorithm:
• WPA uses the TKIP algorithm for message integrity and encryption.
• TKIP is stronger than CRC and helps verify the integrity of packets,
enhancing overall security.
• However, it’s important to note that while TKIP improved security
compared to WEP, newer standards like WPA2 introduced even
stronger encryption algorithms.

3.3Wireless LAN Threats -

3.4Securing Wireless Networks -

[Link]: Introduction - [Link]

4.2User Scenario -

4.3Architecture -
fi
fi
4.4protocol stack - [Link]
protocols-osi-layers-rasmita-nayak/

The Bluetooth protocol stack is a hierarchical structure that de nes how


Bluetooth devices communicate with each other. It comprises various
protocols and components organized in layers, each responsible for different
aspects of communication and functionality. Below is a detailed explanation of
the components and protocols in the Bluetooth protocol stack as described in
the provided text:

Radio (Physical Layer):


This Layer de nes how Bluetooth devices communicate over the
radio waves.
This layer speci es the air interface parameters such as frequencies,
modulation-demodulation techniques, and transmission power.
Baseband:
The baseband layer describes the fundamental aspects of
Bluetooth communication, including connection establishment, packet
formats, timing, and basic Quality of Service (QoS) parameters. It
handles low-level communication between [Link] baseband layer
performs frequency hopping for interference mitigation and medium
access, de nes physical links (synchronous connection-oriented link
and an asynchronous connectionless link ) and many packet formats.

Link Manager Protocol (LMP):


LMP manages link set-up and maintenance between Bluetooth
devices . It manages various aspects of the radio link between a master
and a slave and the current parameter setting of the devices. LMP
enhances baseband functionality .It performs following operations ,
Authentication, pairing, and encryption , Synchronisation ,
Capability negotiation , QoS negotiation , Power control , link
supervision , transmission and state mode change

Logical Link Control and Adaptation Protocol (L2CAP):


L2CAP provides an interface between higher layers and the
baseband. It supports both connectionless and connection-oriented
services and facilitates data segmentation, reassembly, and error
checking.
Service Discovery Protocol (SDP):
SDP enables devices to discover services offered by other
devices in close proximity. It allows querying of service attributes and
characteristics, facilitating device interoperability and service availability.
fi
fi
fi
fi
RFCOMM (Radio Frequency Communication):
RFCOMM is designed to imitate a serial line interface based on
EIA-232 (formerly RS-232) standards. It allows Bluetooth-enabled
devices to communicate as if they were connected via a traditional
serial cable. This imitation is essential for compatibility with legacy
applications and protocols that rely on serial port communication.
Telephony Control Protocol Speci cation – Binary (TCS BIN):
TCS BIN de nes call control signaling for voice and data calls
between Bluetooth devices. It manages call establishment, mobility,
group management, and other telephony-related functions.
Host Controller Interface (HCI):
HCI acts as an interface between the baseband controller, link
manager, and higher layers. It provides a command interface for
controlling hardware functions, accessing status registers, and
managing Bluetooth connections.
Additional Protocols and Adaptations:
Bluetooth supports various additional protocols and adaptations
for internet applications (e.g., TCP/IP stack over PPP or Bluetooth
Network Encapsulation Protocol - BNEP), telephony applications (using
AT modem commands), object exchange (OBEX for exchanging
vCalendar/vCard objects), and direct audio communication at the
baseband layer.
fi
fi
Ch. 5 Mobility Management

[Link] Management -

1.1 Introduction -

1.2 IP Mobility -
IP mobility refers to the set of mechanisms that allow an IP mobile node to
move freely between different IP networks (possibly with different underlying
technologies) while maintaining IP connectivity in a transparent way to upper
layers.
IP mobility in mobile computing refers to the ability of a mobile device to
maintain continuous network connectivity and communication while moving
across different network domains or changing its point of attachment to the
network.
Every device connected to a network is assigned a unique identi er called an
IP address. This address helps in routing data packets to and from the
[Link] transition of a mobile node from one network to another network
is known as Handover.
Mobile IP is a standard communication protocol that enables mobile devices
to maintain their IP address and ongoing communications even when moving
across different networks. It achieves this by introducing the concept of a
home agent and a foreign agent.
fi
Mobility management is divided into two main parts, location management
and handoff [Link] management involves registering changes
in the position of the mobile node (MN) and also the localisation of an idle MN
when an outside client wants to contact it. The other important point is
handoff management, which tries to maintain all the connections of the MN
alive despite the frequent changes of its point of attachment to the network.
The process by which such change takes place is called handoff,

1.3 Optimization (in IPV6) -


IPv6 introduces several optimizations related to mobility support compared to
IPv4. These optimizations are primarily implemented in Mobile IPv6, a
protocol designed to facilitate seamless mobility for devices in an IPv6
network.
Built-in Mobility Support:
IPv6 incorporates mobility support as an integral part of the
protocol. This means that features necessary for mobile devices to
maintain connectivity while moving between networks are inherently
supported by IPv6, unlike in IPv4 where mobility support is added
through extensions like Mobile IP.
Mobile Node Binding Caching:
In Mobile IPv6, the correspondent node (CN) can cache bindings
for mobile nodes (MN). This caching allows the CN to send IP packets
directly to the MN without routing them through the MN's home network.
This optimization eliminates the need for reverse tunneling, where
packets from the CN to the MN are routed through the MN's home
network, improving ef ciency and reducing latency.
Elimination of Foreign Agents:
Unlike in Mobile IPv4, where foreign agents were required to
assist mobile nodes with tasks like registration and routing, IPv6's
Mobile IPv6 eliminates the need for foreign agents. Mobile nodes can
now handle most tasks previously handled by foreign agents using the
enhanced features and optimizations of Mobile IPv6.
Enhanced Network Elements in Visited Networks:
While foreign agents are no longer needed in Mobile IPv6, there
is still a requirement for special network elements in visited networks.
These elements provide support for functions like address allocation,
routing optimizations, and maintaining communication with mobile
nodes, ensuring seamless mobility within the visited network
fi
1.4 IPv6 -

2. Macro Mobility -

2.1 MIPv6 - [Link]

2.2 FMIPv6 - Fast Handover for MIPv6 (FMIPv6)


Fast handover mobility management for Mobile IPv6 was proposed to reduce the
handover latency by initiating and executing some of the time-consuming handover
processes such as Router Discovery, Address Con guration, and Duplicate Address
Detection while MN is still present on the current link with the help of timely generated link
Layer-trigger (Koodli, 2009). The architecture of FMIPv6 is shown in Figure 3(a).
A MN in its home network has address know as
Previous CoA (PCoA) and is connected to the access router known as the Previous
Access Router
(PAR). On moving to the new network, it connects with a New Access Router (NAR) and
acquires a New CoA (NCoA) and packet destined to MN from CN during the movement
are tunneled by PAR to NAR. FMIPv6 uses Router Solicitation for Proxy Advertisement
(RtSolPr) and Proxy Router Advertisement (PrRtAdv) for fast handover as shown in Figure
3(b) to obtain details of suitable NAR. There are three modes of initiating FMIPv6 namely;
predictive, reactive and network modes.
Predictive Handovers
In predictive mode, the MN anticipates a change of network link and initiates handover by
sending an RtSolPr message to the PAR to indicate that it wants to perform a fast
handover. PAR sends this message to NAR, if it has not the details of NAR. The PAR
fi
replies MN with a PrRtAd that provides the MN with tuple about the new link for
accelerated movement detection. The received
[Link]
255708580_Architectures_and_Protocols_for_Secure_Information_Technology_Infrastruct
ures#pf11

3 Micro Mobility - Micro-mobility is the movement of a MN within a network.


Eg: MN handcuf ng between several FAs in the same visited network
The Mobile IP protocol has been developed for computers that are moving.
With the Mobile IP, the mobile nodes are able to send and receive data
despite their current point of attachment to the Internet. In the standard
Mobile IP, mobile nodes have to report their every movement in the foreign
network to their home networks. This causes huge amount of signaling traf c
and disturbing latency during handoffs. Because of these problems, several
protocol proposals have been de ned to solve this so called micro mobility
problem. In all of these solutions the home network does not have to know
the exact location of the mobile node. Instead the home network only has to
know in which visited network the mobile node is located and the local micro
mobility is managed inside the visited network
In the basic Mobile IPv4 protocol, the new location of the mobile node is
registered all the way with the home agent. And in standard Mobile IPv6 case
the location information is also transferred to the correspondent node. The
mobile node's packet loss during and after handoffs may be disturbingly high,
because the delay of informing the home agent, is high.
The Basic concept revolving micro-mobility is that the home agent does not
have to be aware of every handoff the mobile node performs, because the
visited network takes care of the small movements - the home agent only has
to know in which network the mobile node is located.

3.1 CellularIP - Cellular IP speci es a protocol that allows routing IP


datagrams to a mobile host. The protocol is intended to provide local mobility
and handoff support.
Cellular IP (CIP) is a networking protocol that facilitates seamless handovers
for mobile nodes (MNs) within a cellular network without requiring repeated
registration. The primary concept of Cellular IP involves the deployment of a
single Cellular IP Gateway (CIPGW) within each domain, which functions
similar to a foreign agent in traditional mobile IP architectures.
The CIPGW serves as a gateway between the Cellular IP domain and the
external networks, handling communications on behalf of mobile nodes within
the domain.
fi
fi
fi
fi
Externally, the CIPGW appears as a foreign agent to facilitate seamless
connectivity for MNs as they move across different cells.
In Cellular IP (CIP), when a Mobile Node (MN) initially enters the Cellular IP
network, it performs registration of its IP address with the Cellular IP Gateway
(CIPGW). However, during subsequent movements within the network (local
handovers), the MN does not need to re-register itself with the CIPGW or its
Home Agent (HA) as traditional mobile IP protocols might require.
Instead, all packets sent by the MN are routed through the CIPGW. The
CIPGW uses the origin of these packets, which includes the source IP
address of the MN, to determine the MN's current location within the network.
Based on this information and its routing table, the CIPGW forwards packets
to the MN's current location, ensuring uninterrupted communication without
the need for re-registration during handovers.
Unlike traditional mobile IP setups that involve re-registration upon
handovers, Cellular IP enables local handovers without the need for renewed
registration.
This is achieved by the CIPGW maintaining routing information based on the
origin of packets sent by MNs towards the gateway.

3.2 HAWAII - HAWAII (Handoff-Aware Wireless Access Internet


Infrastructure) is a networking protocol designed to provide seamless
handoffs and micro-mobility support within wireless access networks.,
HAWAII aims to improve performance, reliability, and support for quality of
service mechanisms while minimising disruptions for both Home Agents
(HAs) and Mobile Nodes (MNs).
When a Mobile Node enters an HAWAII domain, it obtains a co-located Care-
of Address (COA) and registers with the Home Agent (HA).
This initial registration process establishes the MN's presence within the
HAWAII domain and sets up the necessary routing information for
communication.
When an MN moves to another cell within the foreign domain (e.g., within the
same service provider's network), it sends a registration request to the new
base station as if it were registering with a foreign agent.
This process involves a mix of concepts, including co-located COA and
foreign agent COA, to facilitate seamless handoffs within the foreign domain.
Upon receiving the registration request from the MN, the new base station
(foreign agent) intercepts the request and sends out a handoff update
message.
The handoff update message triggers the recon guration of routers along the
paths from the old base station to the new base station, including the so-
called crossover router.
This routing recon guration ensures that packets destined for the MN are
forwarded ef ciently along the new path after the handoff.
After successful routing recon guration, the new base station (foreign agent)
sends a registration reply to the MN, con rming the handoff and updating its
routing information.
Authentication mechanisms, such as challenge-response extensions and
IPSec Authentication Header (AH), are used to authenticate the MN during
registration and handoff procedures.
Authenticating MNs helps prevent malicious rerouting of traf c and ensures
the security and integrity of communication within the HAWAII domain.
A co-located COA refers to an IP address assigned to a mobile node (MN)
that corresponds to its current location within a network domain or cell.
A foreign agent COA is an IP address assigned to a mobile node (MN) by a
foreign agent when the MN moves into a new network domain or cell within a
foreign network.
fi
fi
fi
fi
fi
fi
3.3 HMIPv6 - Mobile IPv6 allows nodes to move within the same Internet
topology(Network domain) while maintaining reachability and on-going
connections between mobile and correspondent nodes. To do this a mobile
node sends Binding Updates (BUs) to its Home Agent-HA in the Home
Network and all Correspondent Nodes (CNs) it communicates with, every
time it moves.A MAP is essentially a local Home Agent.
[Link]

Hierarchical Mobile IPv6 (HMIPv6) is an enhancement to the Mobile IPv6


(MIPv6) protocol that introduces a hierarchical structure to improve the
ef ciency of mobility management within IPv6 networks. In HMIPv6, a new
entity called the Mobility Anchor Point (MAP) is introduced, along with minor
modi cations to mobile node operations. Notably, the correspondent node
(CN) and Home Agent (HA) operations remain unaffected, ensuring backward
compatibility and seamless integration with existing IPv6 networks. HMIPv6 is
independent of the underlying access technology, allowing mobility within or
between different types of access networks.
Working

1.A mobile node entering a MAP(similar to GFA) domain (Foreign Network)


will receive Router Advertisements containing information on one or more
local MAPs.
[Link] MN can bind its current location(Home IP address) with an address on
the MAP's subnet (RCoA) (IP address associated with the Mobility Anchor
Point (MAP)).
fi
fi
[Link] as a local HA/GFA to the MN, the MAP will receive all packets on
behalf of the mobile node it is serving and will encapsulate and forward them
directly to the mobile node's current address.
[Link] the mobile node changes its current address within a local MAP domain
(LCoA) (That is if it connects to different Access routers each having its own
LCoA), it only needs to register the new address with the MAP.
Hence, only the Regional CoA (RCoA) needs to be registered with
correspondent nodes and the HA. The RCoA does not change as long as the
MN moves within a MAP network. This makes the mobile node's mobility
transparent to the correspondent nodes it is communicating with.

Ch. 6 Long Term Evolution

[Link] of LTE
[Link]
Types of SON

Hybrid SON
Hybrid SON combines elements of both Distributed and Centralized SON,
aiming to leverage the strengths of each approach while mitigating their
respective weaknesses.

Centralized SON (C-SON)


Centralized SON concentrates SON functionalities at higher-order network
nodes or within the Operations Support System (OSS). This centralisation
provides a comprehensive view of the entire network, enabling more
coordinated and strategic management.

Você também pode gostar