80 likes | 392 Views
BMAC. Minimal MAC. Objectives Determine if the channel is idle If idle, then go back to sleep. If not idle, then receive packet Do RTS-CTS or whatever with the received packet. Sampled CS. Check if channel is idle periodically, Then go back to sleep
E N D
Minimal MAC • Objectives • Determine if the channel is idle • If idle, then go back to sleep. • If not idle, then receive packet • Do RTS-CTS or whatever with the received packet
Sampled CS • Check if channel is idle periodically, Then go back to sleep • Need to make sure that a transmission can be heard – put a long preamble on transmission
Etx = rate * ((Preamble length + Data length) * time/bit * CurrentTx + turn on + turn off) Energy rate = Packet rate Energy for one packet Erx = rate * (Preamble length + Data length) * time/bit * CurrentRx Every 1/preamble length, the channel is sampled Ecs = (1/(c*Preamble length*time/bit))*(Sample radio current) Example Etx = rate * (Preamble length+0) * 8microJ + (1.5microJ + 2microJ ) + 1.5microJ Erx = rate * (Preamble length + 0) * 6microJ (reports/sec) Ecs = (1/(c*Preamble length*.4ms))* (2microJ + 1.5micro + 5.2microJ) or Etx + Erx = rate * 14 *PL Ecs = 21/2 /PL or ECS + Etx + Erx = rate * 14 *PL + 21/2 / PL As data rate goes to zero, PL goes to inf. At high data rate, PL is small Best pl