Medium access: deterministic protocols, ALOHA and CSMA
Wireless Technologies · · medium access control, aloha, csma
Giorgi Aptsiauri · https://giorgiaptsiauri.com/notes/wireless-technologies/01-medium-access/
Contents
Notes, topics 1–4 (PDF)
This typeset version was assembled by AI from my notes. The scanned PDF is the original source.
1. Deterministic vs non-deterministic MAC
Topic 1 · Wireless Technologies exam topics
Medium access control protocols – deterministic vs non-deterministic (random) – purpose, key differences, pros and cons
Handwritten work (PDF)
MAC (Medium Access Control): defines the mechanism by which devices can access the shared wireless channel to communicate with other nodes on the network.
Purpose: Some level of control is required so that nodes on the network can access the network within reasonable period of time, thereby ensuring acceptable access and response times.
Deterministic: it is a rule-based access mechanism. Each node is guaranteed to gain access to the wireless channel within a certain time frame. Outcome is predictable, therefore, reproducible.
Non-deterministic: it encompasses the type of access that’s driven by randomness. Control responsibility shifts to individual nodes. Not reproducible because the outcome (granting access) depends on the values of random variables. Hence, it is unpredictable.
| Pros | Cons | |
|---|---|---|
| Deterministic | Guaranteed access No collisions Downarrow Good for heavily loaded systems Almost entire bandwidth can be utilized | High overhead Complex management |
| Non-deterministic | Good for low-traffic environments Little to no management | Collisions happen |
2. Deterministic protocols: polling, token passing, reservation
Topic 2 · Wireless Technologies exam topics
Deterministic protocols for medium access (Polling, Token passing, Reservation-based protocols) – principle, efficiency, pros and cons
Handwritten work (PDF)
Polling
Source: polling.tex
Dedicated controller polls nodes (A, B, C, D) in sequence and gives them a chance to transmit.
- If ready to transmit, they transmit.
- If not, poll next node.
Representation in time:
Source: polling-time.tex
- T_poll: time it takes to poll a node
- T_prop: time it takes for signals to move in air and process
- T_tx: time it takes for each node to transmit
The numerator is the portion that does useful work; the denominator is the total time for a transaction.
Pros: very simple to implement; easily testable; no collisions.
Cons: controller dies Rightarrow everything dies; inefficient.
Token passing
Source: token.tex
Token passing is a channel access method whereby a packet called a token is passed between nodes to authorize that node to communicate. There is no controller. The order of token passing is called token ring.
Efficiency: similar to that of polling method.
Pros: no controller required; no collisions; bandwidth fully utilized under heavy loads.
Cons: problem if a device fails; increased latency even under light loads; low efficiency.
Reservation-based bit map protocol
Page 4 (PDF)
Time split into two segments:
- Reservation
- Devices book transmission times (slots) (comm. resources).
- ‘1’ is set in reservation part (slot) belonging to that device. Order of devices, i.e. where they should set this ‘1’ is known a priori.
- There are as many transmission slots as there were reservations.
- Devices book transmission times (slots) (comm. resources).
- Communication
- Devices who booked their transmission slots, transmit.
All devices “hear” other devices’ reservations, so everyone knows what/when other device is going to transmit. This way, they all know their order of transmission.
Source: bitmap.tex
3. ALOHA: pure vs slotted
Topic 3 · Wireless Technologies exam topics
ALOHA protocol – Pure vs Slotted ALOHA – principle, pros and cons, collision probability, derivation of maximum throughput
Handwritten work (PDF)
Pure ALOHA
- Device sends data whenever it has some.
- If a device starts transmitting while another is in the process of transmission, there is a collision.
- In case of collision, the device reattempts transmission after a random back-off interval.
- Extremely simple, but low efficiency.
- Visually:
Source: pure-aloha.tex
Pros: very simple; no synch required; low power implementation.
Cons: inefficient; collisions.
Pure ALOHA analysis
Page 6 (PDF)
Diagram of colliding frames:
Source: pure-aloha-vulnerable.tex
Assumptions:
- Frame duration is same for all devices equiv T.
- Satisfies Poisson distribution: P_r (k frames generated ) = G^k e^ -G k!
Definitions:
- Offered load (rate) G = # of old & new msges that are attempted to transmit per unit time (T).
- Throughput S = # of msges that are successfully transmitted per unit time (T).
Analysis:
- P_r (k = 0 frames generated per T) = e^ -G arrow 0 frames generated in T.
- However, in pure ALOHA, vulnerable period is 2T. In other words, no frames should be generated in this 2T period, not to have any collision. So, (k = 0 generated frames in 2T).
- Throughput = (# transmission attempts) times (fraction that are successful):
Maximum throughput:
Slotted ALOHA
Page 7 (PDF)
- Time axis is discretized
- Discretized frame duration is T
- Transmission is only allowed at the beginning of the time slots
- Hence, devices must be time-synched.
Source: slotted-aloha.tex
Pros: higher efficiency.
Cons: more power; requires time synch.
Slotted ALOHA analysis
- Same assumptions & definitions as before.
- Vulnerable period is T.
- P_r (k = 0 frames generated per T) = e^ -G
- Throughput: S = Ge^ -G
- Maximum throughput:
Source: aloha-throughput.tex
4. CSMA
Topic 4 · Wireless Technologies exam topics
CSMA (1-Persistent, Non-persistent, p-persistent, CA, CD) – principle, problems (Hidden node, exposed node)
Handwritten work (PDF)
Carrier sensing
General principle:
- Device senses (listens) to the traffic before transmitting:
Source: carrier-sensing.tex
- In case of ALOHA, now a device is aware when the channel is busy, hence collisions are avoided (more of reduces probability rather than eliminate):
- Collisions still occur because of propagation delay.
- Vulnerable period becomes just the propagation delay!
1-persistent CSMA (aggressive tx)
Principle:
- If the channel is busy, keep sensing continuously and wait until it becomes idle.
- Once idle, transmit with probability 1.
Source: csma-1-persistent.tex
- All waiting devices transmit at the same time when the channel becomes idle:
- collision
- Anytime a device transmits when channel is busy
- Channel looks idle, BUT another waiting device already transmitted without you realizing it yet due to propagation delay.
- If collision, wait random time & try again!
- collision
Source: csma-1-persistent-collision.tex
Non-persistent CSMA (non-aggressive tx)
Page 11 (PDF)
Principle:
- If channel is busy, sense again after a random back-off interval.
- If idle, transmit.
Source: csma-non-persistent.tex
- Most likely, waiting devices sense at different times
- Lower collision probability (more throughput)
- BUT delay can be longer (channel becomes idle but not immediately getting busy)
- Channel may remain idle even if data is ready.
Example of 2 devices tryin’ to gain access:
Redrawn from a lecture slide in my notes. Source: csma-non-persistent-example.tex
p-persistent CSMA (adjustable aggressivity)
Page 12 (PDF)
Principle:
- Slotted time
- Channel busy arrow wait until idle
- Channel idle arrow transmit with probability p
- Defer transmission to the next slot with prob. q = 1 - p
Redrawn from a lecture slide in my notes. Source: csma-p-persistent.tex
- All waiting devices sense if channel is idle
- If idle, transmit with p prob. arrow lower collision rate than 1-persistent!
- Low p arrow low prob. of collision, BUT longer waiting periods (like in non-persistent)
- High p arrow high prob. of collision, shorter waiting.
- If p = 1, it is identical to 1-persistent (except for slotted time).
Example of 2 devices tryin’ to gain access:
Redrawn from a lecture slide in my notes. Source: csma-p-persistent-example.tex
CSMA/Collision Detection (CD)
Page 13 (PDF)
- CSMA extension (sense before transmit)
- Collision:
- Detect collision while transmitting (e.g. by sig. level measurement)
- If detected, send out jam signal and all stations must abort transmission to avoid wasting resources.
- Problem in wireless
- Only half-duplex operation (only one antenna, cannot listen while transmitting)
- tx power gg receive power
CSMA/Collision Avoidance (CA)
Particularly useful because in half-duplex operation, which is common in wireless networks, sensing medium is not possible with just one antenna to detect collisions. downarrow
- Sense before transmit
- If channel is busy, wait
- If channel is idle, wait Inter Frame Space (IFS)
- Mitigate signal propagation issue
- If channel is still idle, wait for Contention Window
- Random duration (in slots) to reduce collision probability
- Send frame
- Wait for ACK
- If not received within time out, then repeat the procedure
Redrawn from a lecture slide in my notes. Source: csma-ca.tex
Limitations of CSMA in wireless
- Hidden node problem (increase amount of collisions for all CSMAs)
- Exposed node problem (reduces bandwidth utilization for all CSMAs)
Hidden node
Page 14 (PDF)
- Node close to communicating pair, within range of destination node, but out of range of source node, willing to communicate with the destination node
- Cannot hear ongoing communication arrow collision
- Example:
- A and C in communication range of B
- A and C can communicate with B
- A and C out of communication range of each other
- A and C cannot communicate with each other
- A transmits to B, but C does not hear it (too far from A)
- C sees the channel idle and transmits to B arrow collision
- A and C in communication range of B
Redrawn from a lecture slide in my notes. Source: hidden-node.tex
Exposed node
- Node close to communicating pair within range of source node, but out of range of destination node, willing to communicate with another node
- Hear ongoing communication arrow do not transmit even if it could arrow wasting bandwidth
- Example:
- A and C in communication range of B
- A and C out of communication range of each other
- B transmits to A; and C wants to transmit to D
- C hears B arrow A communication, and thus stays idle
- C cannot reach A (it is too far) so C could transmit to D arrow wasting bandwidth
Redrawn from a lecture slide in my notes. Source: exposed-node.tex
© 2026 Giorgi Aptsiauri. All rights reserved. Do not copy or republish this text or its figures without permission. Online version: https://giorgiaptsiauri.com/notes/wireless-technologies/01-medium-access/