Wireless NetworkingUnit 711 min read

Mobility Management: Handoffs, Location Tracking & Roaming in Wireless Networks

Unit 7 of Wireless Networking explores how wireless networks maintain seamless connectivity as users move between cells, covering handoff techniques, location management, roaming protocols, and their real-world applications in cellular networks, Wi-Fi, and IoT systems.

TAKEAWAYS:

  • Handoffs (hard vs. soft) enable seamless user movement between cells by transferring connections without interruption, using metrics like RSSI and SIR.
  • Location management balances tracking accuracy (e.g., GPS vs. cell-ID) with signaling overhead via location update and paging algorithms.
  • Roaming allows cross-network connectivity (e.g., Ncell ↔ NTC) via AAA servers and inter-system handoffs, but introduces billing and security challenges.
  • Mobility models (random walk, fluid flow) simulate user movement to test handoff performance in networks like Pathao’s driver tracking.
  • Protocols (e.g., IEEE 802.21, 3GPP’s RANAP) standardize handoff signaling, while fast handoffs (e.g., in Wi-Fi 6) reduce latency for apps like eSewa payments.
  • Trade-offs exist between handoff delay, signaling cost, and network load—critical for designing scalable systems like NEPSE’s real-time stock trading.

1. Why Mobility Management Matters

Wireless networks (e.g., 4G/5G, Wi-Fi, IoT) must handle user movement without dropping calls or interrupting services. For example:

  • Pathao drivers switch between Ncell and NTC towers as they move; a poor handoff could delay ride requests.
  • eSewa users expect seamless payments even when switching from home Wi-Fi to a café’s hotspot.
  • NTC’s smart meters must report data reliably as IoT devices roam between base stations.

Key challenge: Maintaining session continuity while minimizing signaling overhead and latency.


2. Core Concepts: Handoff, Roaming, and Location Tracking

A. Handoff (Hand-over) Mechanisms

Handoffs transfer an active connection from one base station (BS) to another as a user moves. Two types:

flowchart TD
    A["Active Call"] --> B{"RSSI/SIR < threshold?"}
    B -- "No" --> A
    B -- "Yes (Hard)" --> C["Break Old Link"]
    C --> D["Connect New BS"]
    B -- "Yes (Soft)" --> E["Connect New BS"]
    E --> F["Maintain Both Links"]
    F --> G["Break Old Link"]

Visual: Handoff Types


Metric Hard Handoff Soft Handoff
Connection Breaks old link before new one is active Maintains both links during transition
Latency Higher (reconnection delay) Lower (seamless)
Network Load Lower (no duplicate transmissions) Higher (duplicate packets)
Example GSM, Wi-Fi (802.11) CDMA2000, 3G/4G (soft handoff)
Use Case Low-mobility users (e.g., Wi-Fi hotspots) High-mobility users (e.g., Pathao drivers)

Worked Example: Daraz Delivery Driver A Daraz delivery person moves from a Ncell 4G tower to a NTC 4G tower while uploading order status. If the handoff fails:

  • Hard handoff: 200ms delay → order status update fails → customer complaint.
  • Soft handoff: 50ms delay → seamless update → happy customer.

How it works:

  1. RSSI (Received Signal Strength Indicator) drops below threshold (e.g., -85 dBm).
  2. Mobile station (MS) measures neighboring BS signals (e.g., NTC’s BS-3).
  3. Network decides: If NTC’s BS-3 has better SIR (Signal-to-Interference Ratio), trigger handoff.
  4. Hard handoff: MS breaks link with Ncell, then authenticates with NTC.
  5. Soft handoff: MS adds NTC’s link while keeping Ncell’s, then drops Ncell after sync.

B. Location Management

To track users efficiently, networks use:

  1. Location Update: User informs the network of its new location area (LA) or routing area (RA).
  2. Paging: Network pages the user when a call arrives (instead of polling all BS).
sequenceDiagram
    participant MS as Mobile Station
    participant BS as Base Station
    participant MSC as Mobile Switching Center
    participant VLR as Visitor Location Register
    participant HLR as Home Location Register

    MS->>BS: Move to new LA
    BS->>MSC: LA Update Request
    MSC->>VLR: Update VLR (New LA)
    MSC->>HLR: Update HLR (via MAP)
    HLR-->>MSC: Acknowledge
    MSC-->>VLR: Acknowledge
    Note right of MS: Location update complete

Visual: Location Areas in Kathmandu


Trade-off: Frequent updates reduce paging delay but increase signaling cost.

  • Example: Ncell updates a user’s location every 30 minutes (LA update period) to balance battery life and call setup time.

C. Roaming: Cross-Network Mobility

Roaming allows users to access services from foreign networks (e.g., Ncell user on NTC’s tower). Key components:

flowchart TD
    subgraph Home Network
        HLR["Home Location Register"]
        AAA["AAA Server"]
    end
    subgraph Visited Network
        VLR["Visitor Location Register"]
        MS["Mobile Station"]
    end
    HLR -- "manages" --> VLR
    VLR -- "tracks" --> MS
    HLR -- "authenticates" --> AAA
    AAA -- "bills" --> VLR
    MS -- "roams" --> VLR

Visual: Roaming Process


Steps:

  1. Authentication: MS authenticates with foreign network’s VLR via AAA server (e.g., Radius/Diameter).
  2. Billing: Home network (Ncell) bills foreign network (NTC) via inter-carrier agreements.
  3. Handoff: If MS moves back to home network, inter-system handoff occurs (e.g., 4G → Wi-Fi).

Real Example: WhatsApp Calls on NTC Wi-Fi

  • You’re on Ncell’s 4G but switch to NTC’s Wi-Fi at a café.
  • WhatsApp uses IEEE 802.21 for media-independent handoff (MIH), ensuring your call doesn’t drop.
  • Challenge: If NTC’s Wi-Fi is slow, WhatsApp may downgrade video quality (not drop the call).

3. Mobility Models: Simulating User Movement

Networks test handoff performance using mobility models that mimic real-world movement:

1111HomeOfficeMarketCampus
Example Markov Chain state transition for user mobility between locations.
Model Description Example Use Case
Random Walk User moves randomly in a grid Testing handoffs in Kathmandu traffic
Fluid Flow Users follow predictable paths Pathao drivers on Ring Road
Random Waypoint User picks a destination, moves there eSewa users switching between Wi-Fi spots
Gauss-Markov Velocity changes smoothly High-speed trains (e.g., NTC’s fiber-optic backhaul)

Visual: Random Walk in a Cellular Network


Worked Example: NTC’s Fiber-Optic Backhaul NTC uses fluid flow models to simulate traffic on the Kathmandu-Pokhara fiber route:

  • Handoff rate: 1 per minute (high mobility).
  • Solution: Deploy soft handoffs with predictive algorithms to reduce latency.

4. Protocols and Standards

Protocol Function Example
IEEE 802.21 Media-independent handoff (MIH) Wi-Fi ↔ 4G handoff in eSewa app
3GPP RANAP Radio access network application protocol 4G/5G handoffs (Ncell ↔ NTC)
Mobile IP IP-level mobility (e.g., IPv6) Roaming between universities (TU ↔ PU)
Diameter AAA for roaming (replaces Radius) Ncell ↔ NTC billing

Visual: IEEE 802.21 Handoff Sequence

sequenceDiagram
    participant MS
    participant WiFiAP
    participant 4GBS
    participant MIHServer

    MS->>WiFiAP: RSSI drops below threshold
    WiFiAP->>MIHServer: Trigger handoff request
    MIHServer->>4GBS: Query neighbor BS info
    4GBS-->>MIHServer: Neighbor list (e.g., NTC BS-3)
    MIHServer->>MS: Handoff command
    MS->>4GBS: Authenticate & reassociate
    4GBS-->>MS: Acknowledge

5. Challenges and Solutions

Challenge Cause Solution
Ping-pong Handoff Rapid signal fluctuations (e.g., traffic) Hysteresis margin (e.g., +3 dB threshold)
High Signaling Overhead Frequent location updates Adaptive LA/RA sizes (e.g., larger in rural areas)
Security Risks Roaming attacks (e.g., fake BS) Strong AAA (e.g., Diameter + TLS)
Latency in Handoff Slow authentication (e.g., GSM) Fast handoffs (e.g., 802.11r for Wi-Fi)

Real Example: Kathmandu Traffic Jams

  • Problem: Buses moving between Ncell and NTC towers cause ping-pong handoffs due to signal fading.
  • Solution: NTC uses hysteresis (e.g., only handoff if RSSI drops 5 dB below threshold for 2 seconds).

6. Applications in Nepal

Service Mobility Feature Used Impact
eSewa Wi-Fi ↔ 4G handoff (IEEE 802.21) Seamless payments at cafés
Pathao GPS-based LA updates + soft handoffs Real-time driver tracking
NTC Smart Meters IoT roaming (LoRaWAN) Reliable energy data collection
NEPSE Trading Low-latency handoffs for traders No dropped orders during market hours

## In the Real World

  1. eSewa App (Nepal)

    • Idea Used: Fast handoffs (IEEE 802.11r) to switch between Wi-Fi and 4G without dropping payments.
    • How: When you move from home Wi-Fi to a café’s hotspot, eSewa uses pre-authentication to avoid delays during handoff.
  2. Pathao Driver Tracking

    • Idea Used: Location management (LA updates) to track drivers in real-time.
    • How: Pathao’s app updates the driver’s location area every 30 seconds, ensuring the nearest BS handles ride requests.
  3. NTC’s Fiber-Optic Backhaul

    • Idea Used: Soft handoffs for high-speed trains moving between BS.
    • How: Trains use predictive handoffs (based on GPS) to avoid drops when crossing tower boundaries.

## Exam Tip

How This Unit is Examined (TU/PU/NEB Style):

  1. Theory Questions (30%):

    • Define hard vs. soft handoff with examples (e.g., GSM vs. CDMA).
    • Explain location update vs. paging with a sequence diagram.
    • Compare Mobile IP vs. Session Initiation Protocol (SIP) for mobility.
  2. Problem-Solving (40%):

    • Calculate handoff delay: Given RSSI thresholds and propagation delay, compute time to switch BS. Example: If RSSI drops from -70 dBm to -85 dBm (threshold) and propagation delay is 1 ms, how long until handoff? Answer: ~2 ms (measurement + decision time).
    • Design a location area: Given 100 users and 5 BS, optimize LA size to minimize updates.
    • Trace a roaming call: Draw a sequence diagram for Ncell → NTC handoff with AAA.
  3. Short Answer (30%):

    • List 3 challenges of mobility management (e.g., ping-pong, latency, security).
    • Name 2 protocols for handoff (e.g., IEEE 802.21, RANAP).
    • Explain why soft handoffs are used in 4G but not GSM.

Common Mistakes to Avoid:

  • Confusing location area (LA) with cell (LA covers multiple cells).
  • Forgetting hysteresis in handoff decisions (always include it in calculations).
  • Ignoring billing in roaming (AAA servers are critical for inter-network charges).

High-Score Strategy:

  • Draw diagrams: Always include a sequence diagram for handoff/roaming and a network figure for location areas.
  • Relate to Nepal: Use Ncell/NTC, eSewa, or Pathao in examples.
  • Compare technologies: Table comparisons (e.g., hard vs. soft handoff) score well.

Based on the TU BIT syllabus for Wireless Networking (BIT357), unit 7.

Discussion

Loading…