Shared Media Flashcards

1
Q

What is CSMA?

A

Carrier Sense Multiple Access (CSMA) checks whether the medium is active before sending a packet. Unlike polling/probing, a node with something to send doesn’t have to wait for a master, or for its turn in a schedule. This works well under low contention.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Describe CSMA/CD

A

1) Is my frame ready for transmission? If yes, it goes on to the next point.
2) Is medium idle? If not, wait until it becomes ready
3) Start transmitting.
4) Did a collision occur? If so, go to collision detected procedure.
5) End Transmission

Collision detection usually involves exponential backoff.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is p-persistant CSMA/CD

A

When the channel is idle send with probability p.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is CSMA/CA

A
  1. First check if the medium is busy.
  2. If so, wait for the medium to become idle.
  3. Set a contention timer, randomly chosen in the range [1,CW].
  4. On timeout, send packet and wait for ACK.
  5. If no ACK, assume packet it lost and try again, after doubling CW.
  6. If another station transmits whilst counting down, freeze CW and unfreeze when packet completes transmission.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the hidden terminal problem?

A

See notes for diagram.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the exposed terminal problem?

A

See notes for diagram.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are CTS and RTS

A

Before sending to a node, a RTS is sent. Transmission only proceeds when a CTS is sent back. This avoids the hidden terminal problem.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is ALOHA? What is the optimisation that the slotted version makes?

A

• ALOHA is one of the earliest multiple access schemes. Data is simply sent. If no ACK is received, try again after a random time. Slotted ALOHA introduces discrete time intervals, allowing nodes to send only at the start of one of these intervals.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly