lecture 7 Flashcards
3 types of multiple-access protocols
- random access protocols
- controlled access protocols
- channelization protocols
what protocols does wifi use
CSMA
about contention (random access) protocols (2)
- no station is superior to another station
- no station permits/does not permit another station to send
two types of aloha protocols
- pure aloha
- slotted aloha
throughput in pure aloha =
G * e^-2G
the maximum throughput in pure aloha is when G =
- 0.5
- S = 0.184
how does pure aloha protocol work (3)
- transmit at any time
- detect collision after sending
- if collision occurs, wait a random time and retry
checksum error in pure aloha
- if the first bit of a frame collides with the last bit of another frame
- both will have to be retransmitted
how does slotted aloha protocol work
- divide time into intervals (slots), one for each frame
- stations agree upon time intervals
- users transmit only at beginning of a time slot
throughput in slotted aloha =
G * e^-G
maximum throughput in slotted aloha is when G =
- 1
- S = 0.368
graph for aloha protocols
- throughput per time frame on the y-axis
- G (attempts per packet time) on the x-axis
how do CSMA protocols improve channel utilization
listen to the medium/stations before sending
1-presistent
the station transmits with a probability of 1 whenever it finds the channel idle
p-presistent
- if empty, sends with probability p
- defers with probability q = 1 - p