1
Media Access Control
Greg Hackmann CSE467S Spring 2009
2
What Is Media Access Control?
- Media Access Control (MAC) determines who
gets access to the shared medium, and when
- In wired settings, usually just tries to avoid
contention
- In wireless settings, can also significantly reduce
energy consumption
3
Carrier Sense Multiple Access, Collision Avoidance (CSMA/CA)
CS CS
4
Hidden Terminal Problem
5
Virtual Carrier Sense: RTS/CTS
RTS CTS Payload NAV 6
Power-Saving MAC
- Many applications’ expected lifetime: months or
years
- Actual lifetime:
AA batteries: 2000 mAh (if you’re lucky)
CC2420 radio: 19.7 mA when idle but awake (RX mode)
2000 mAh / 19.7 mA = 101.5 h ≈ 6 days
- This is a problem!
- Solution: keep the radio asleep most of the time