Wireless Networks & Mobility (Part 2)

Advanced concepts in wireless architecture, Ad-hoc networks, and cellular design mathematics.

Wireless Network Modes

1. Infrastructure Mode

Stations communicate through a central point called an Access Point (AP) or Base Station (BS).

AP/BS
الوضع البنيوي (Infrastructure): الأجهزة بتكلم بعض عن طريق "نقطة وصول" (Access Point) زي الراوتر اللي في البيت. مفيش جهاز بيكلم التاني مباشرة، لازم الترافيك يمر بالـ AP.

2. Ad-hoc Mode

Stations communicate directly with each other (Peer-to-Peer) without any fixed infrastructure.

Ad-hoc Mesh
وضع الـ Ad-hoc: الأجهزة بتكلم بعض "وش لوش" بدون وسيط. مفيش راوتر مركزي، وكل جهاز ممكن ينقل الداتا لأجهزة تانية (Forwarding).

Key Properties of Ad-hoc Networks

Ad-hoc networks are dynamic and decentralized by nature. They are often called MANETs (Mobile Ad-hoc Networks).

  • No Base Station: No need for expensive infrastructure.
  • Self-Configuring: Nodes discover each other automatically.
  • Multi-hop Routing: Packets travel through intermediate nodes to reach destination.
  • Dynamic Topology: Routes change as nodes move.
التوجيه في الـ Ad-hoc: بما إن مفيش راوتر مركزي، الأجهزة بتستخدم بروتوكولات خاصة زي (AODV) أو (DSR) عشان تكتشف الطريق. لو جهاز "أ" عايز يكلم "ج"، بيبعت طلب لكل اللي حوله، والطلب ده بيفضل يتنقل لحد ما يوصل لـ "ج" ويرجع بالرد.

Comparison Summary

Feature Infrastructure Ad-hoc
Central Controller Yes (AP/BS) No (Distributed)
Complexity Lower for End-nodes Higher (Nodes must route)
Setup Time Fixed / Permanent Instant / On-demand

Cellular Design Mathematics

The Frequency Reuse Cluster (N)

To avoid interference, we don't use the same frequency in adjacent cells. We group cells into a Cluster of size N.

N = i2 + i • j + j2
(Where i, j are non-negative integers)

Common Cluster Sizes: 1, 3, 4, 7, 9, 12, 13...

Reuse Distance (D): The distance between centers of two cells using the same frequency.
D / R = √(3N)
(R = Cell Radius)
1 2 3 4 Distance D R Cluster of N=4 Cells
حسابات الخلايا: عشان الشبكات متتداخلش مع بعضها، بنقسم المنطقة لخلايا (Hexagons). الخلايا اللي ليها نفس التردد لازم تكون بعيدة عن بعض بمسافة (D). الـ (N) هو عدد الخلايا في الـ Cluster اللي بنقسم عليهم الترددات المتاحة. كل ما (N) زاد، المسافة بين الخلايا المتشابهة بتزيد والتداخل بيقل، بس سعة المحطة الواحدة بتقل لأننا بنقسم الـ Bandwidth على عدد أكبر.

Practice Arena 🎯

1. In which wireless mode do devices communicate directly (Peer-to-Peer) without an Access Point?