csma/ca in ieee 802.11 1 physical carrier sense, and virtual carrier sense using network allocation...
TRANSCRIPT
![Page 1: CSMA/CA in IEEE 802.11 1 Physical carrier sense, and Virtual carrier sense using Network Allocation Vector (NAV) NAV is updated based on overheard RTS/CTS/DATA/ACK](https://reader036.vdocuments.us/reader036/viewer/2022072005/56649cce5503460f94999ffa/html5/thumbnails/1.jpg)
CSMA/CA in IEEE 802.11
1
Physical carrier sense, andVirtual carrier sense using Network Allocation
Vector (NAV)NAV is updated based on overheard
RTS/CTS/DATA/ACK packets, each of which specified duration of a pending transmission
Nodes stay silent when carrier sensed (physical/virtual)
Backoff intervals used to reduce collision probability
![Page 2: CSMA/CA in IEEE 802.11 1 Physical carrier sense, and Virtual carrier sense using Network Allocation Vector (NAV) NAV is updated based on overheard RTS/CTS/DATA/ACK](https://reader036.vdocuments.us/reader036/viewer/2022072005/56649cce5503460f94999ffa/html5/thumbnails/2.jpg)
Backoff Interval
2
When transmitting a packet, choose a backoff interval in the range [0,cw]cw is contention window
Count down the backoff interval when medium is idleCount-down is suspended if medium becomes
busy
When backoff interval reaches 0, transmit RTS
![Page 3: CSMA/CA in IEEE 802.11 1 Physical carrier sense, and Virtual carrier sense using Network Allocation Vector (NAV) NAV is updated based on overheard RTS/CTS/DATA/ACK](https://reader036.vdocuments.us/reader036/viewer/2022072005/56649cce5503460f94999ffa/html5/thumbnails/3.jpg)
DCF Example
3
data
waitB1 = 5
B2 = 15
B1 = 25
B2 = 20
data
wait
B1 and B2 are backoff intervalsat nodes 1 and 2
cw = 31
B2 = 10
![Page 4: CSMA/CA in IEEE 802.11 1 Physical carrier sense, and Virtual carrier sense using Network Allocation Vector (NAV) NAV is updated based on overheard RTS/CTS/DATA/ACK](https://reader036.vdocuments.us/reader036/viewer/2022072005/56649cce5503460f94999ffa/html5/thumbnails/4.jpg)
Backoff Interval
4
The time spent counting down backoff intervals is a part of MAC overhead
Choosing a large cw leads to large backoff intervals and can result in larger overhead
Choosing a small cw leads to a larger number of collisions (when two nodes count down to 0 simultaneously)
![Page 5: CSMA/CA in IEEE 802.11 1 Physical carrier sense, and Virtual carrier sense using Network Allocation Vector (NAV) NAV is updated based on overheard RTS/CTS/DATA/ACK](https://reader036.vdocuments.us/reader036/viewer/2022072005/56649cce5503460f94999ffa/html5/thumbnails/5.jpg)
5
Since the number of nodes attempting to transmit simultaneously may change with time, some mechanism to manage contention is needed
IEEE 802.11 DCF: contention window cw is chosen dynamically depending on collision occurrence
![Page 6: CSMA/CA in IEEE 802.11 1 Physical carrier sense, and Virtual carrier sense using Network Allocation Vector (NAV) NAV is updated based on overheard RTS/CTS/DATA/ACK](https://reader036.vdocuments.us/reader036/viewer/2022072005/56649cce5503460f94999ffa/html5/thumbnails/6.jpg)
Binary Exponential Backoff in DCF
6
When a node fails to receive CTS in response to its RTS, it increases the contention windowcw is doubled (up to an upper bound)
When a node successfully completes a data transfer, it restores cw to Cwmin
cw follows a sawtooth curve
![Page 7: CSMA/CA in IEEE 802.11 1 Physical carrier sense, and Virtual carrier sense using Network Allocation Vector (NAV) NAV is updated based on overheard RTS/CTS/DATA/ACK](https://reader036.vdocuments.us/reader036/viewer/2022072005/56649cce5503460f94999ffa/html5/thumbnails/7.jpg)
![Page 8: CSMA/CA in IEEE 802.11 1 Physical carrier sense, and Virtual carrier sense using Network Allocation Vector (NAV) NAV is updated based on overheard RTS/CTS/DATA/ACK](https://reader036.vdocuments.us/reader036/viewer/2022072005/56649cce5503460f94999ffa/html5/thumbnails/8.jpg)
802.11 Handoff
![Page 9: CSMA/CA in IEEE 802.11 1 Physical carrier sense, and Virtual carrier sense using Network Allocation Vector (NAV) NAV is updated based on overheard RTS/CTS/DATA/ACK](https://reader036.vdocuments.us/reader036/viewer/2022072005/56649cce5503460f94999ffa/html5/thumbnails/9.jpg)
Scanning Phase in Current 802.11Handoff ProcessAP discovery by scanning
Explicitly scan all channelsPassive scan
The client switches to a candidate channel and listens for periodic beacon packets from APs.
Active scan The client actively broadcasts a probe packet on
each channel to force APs to respond immediately.
New AP selectionCompare the signal strength
![Page 10: CSMA/CA in IEEE 802.11 1 Physical carrier sense, and Virtual carrier sense using Network Allocation Vector (NAV) NAV is updated based on overheard RTS/CTS/DATA/ACK](https://reader036.vdocuments.us/reader036/viewer/2022072005/56649cce5503460f94999ffa/html5/thumbnails/10.jpg)
Problems in 802.11 HandoffApproximate latencies for current 802.11 handoff
Scanning: 350-500msAuthentication: < 10 ms(Re)association: < 10 ms (w/o IAPP)
The client only monitors the signal to the current AP and handoffs only after the service degrades below an acceptable threshold.
SolutionsContinuously monitoring the proximity of nearby
802.11 APs !Maintain AP neighboring graph