1 / 44

Decoding 802.11 Collisions

Decoding 802.11 Collisions. Shyamnath Gollakota Dina Katabi. The Hidden Terminals Problem. Collision!. Bob. Alice. The Hidden Terminals Problem. Retransmissions. More Collisions!. Bob. Alice. Can’t get any useful connections. Can we take two collisions and produce the two packets?.

dawson
Download Presentation

Decoding 802.11 Collisions

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Decoding 802.11 Collisions Shyamnath Gollakota Dina Katabi

  2. The Hidden Terminals Problem Collision! Bob Alice

  3. The Hidden Terminals Problem Retransmissions More Collisions! Bob Alice Can’t get any useful connections

  4. Can we take two collisions and produce the two packets? Pa Pa Pb Pb Yes, we can!

  5. ∆2 ZigZag Exploits 802.11’s behavior • Retransmissions Same packets collide again • Senders use random jitters  Collisions start with interference-free bits ∆1 Pa Pa Pb Pb Interference-free Bits

  6. ∆2 How Does ZigZag Work? 1 1 ∆1 • ∆1 ≠∆2 • Find a chunk that is interference-free in one collisions and has interference in the other • Decode and subtract from the other collision

  7. ∆2 How Does ZigZag Work? 1 1 ∆1 2 • ∆1 ≠∆2 • Find a chunk that is interference-free in one collisions and has interference in the other • Decode and subtract from the other collision

  8. ∆2 How Does ZigZag Work? 3 1 ∆1 2 2 • ∆1 ≠∆2 • Find a chunk that is interference-free in one collisions and has interference in the other • Decode and subtract from the other collision

  9. ∆2 How Does ZigZag Work? 3 3 1 ∆1 2 4 • ∆1 ≠∆2 • Find a chunk that is interference-free in one collisions and has interference in the other • Decode and subtract from the other collision

  10. ∆2 How Does ZigZag Work? 5 3 1 ∆1 4 2 4 • ∆1 ≠∆2 • Find a chunk that is interference-free in one collisions and has interference in the other • Decode and subtract from the other collision

  11. ∆2 How Does ZigZag Work? 5 3 5 1 ∆1 2 6 4 • ∆1 ≠∆2 • Find a chunk that is interference-free in one collisions and has interference in the other • Decode and subtract from the other collision

  12. ∆2 How Does ZigZag Work? 7 5 3 1 ∆1 6 2 6 4 • ∆1 ≠∆2 • Find a chunk that is interference-free in one collisions and has interference in the other • Decode and subtract from the other collision

  13. ∆2 How Does ZigZag Work? 7 5 7 3 1 ∆1 8 2 6 4 • Delivered 2 packets in 2 timeslots • As efficient as if the packets did not collide • ∆1 ≠∆2 • Find a chunk that is interference-free in one collisions and has interference in the other • Decode and subtract from the other collision

  14. ZigZag • A receiver design that decodes collisions • As efficient as if the colliding packets were sent in separate time slots • Experimental results shows that it reduces hidden terminal losses from 72% to 0.7%

  15. AP received a collision signal How does the AP know it is a collision and where the second packet starts? Time ∆

  16. Detecting Collisions and the Value of∆ AP received signal Correlate Time Packets start with known preamble AP correlates known preamble with signal • Preamble Correlation • Detect collision and the value of ∆ • Works despite interference because correlation with an independent signal is zero ∆ Correlation Time

  17. How Does the AP Subtract the Signal? • Channel’s attenuation or phase may change between collisions • Can’t simply subtract a chunk across collisions Alice’s signal in first collision Alice’s signal in second collision

  18. Subtracting a Chunk • Decode chunk into bits • Removes effects of channel during first collision • Re-modulate bits to get channel-free signal • Apply effect of channel during second collision • Use correlation to estimate channel despite interference • Now, can subtract!

  19. What if AP Makes a Mistake?

  20. ∆1 What if AP Makes a Mistake? Bad News: Errors can propagate 3 1 1 ∆2 2 2 Can we deal with these errors?

  21. ∆1 What if AP Makes a Mistake? Good News: Temporal Diversity A bit is unlikely to be affected by noise in both collisions ∆2 Get two independent decodings

  22. ∆2 ∆1 AP Decodes Backwards as well as Forwards 2 2 3 1 1 Errors propagate differently in the two decodings Which decoded value should the AP pick? For each bit, AP picks the decoding that has a higher PHY confidence [JB07, WKSK07]

  23. ZigZag Generalizes

  24. ZigZag Generalizes • Flipped order ∆2 1 1 2 2 ∆1

  25. ∆1 ZigZag Generalizes • Flipped order • Different packet sizes 1 1 2 2 ∆2

  26. ZigZag Generalizes 1 1 1 2 2 2 3 3 3 • Flipped order • Different packet sizes • Multiple colliding packets 1 1 1 2 2 2 3 3 3

  27. ∆2 ∆1 ZigZag Generalizes • Flipped order • Different packet sizes • Multiple colliding packets • Capture effect • Subtract Alice and combine Bob’s packet across collisions to correct errors Pa1 Pa2 Pb Pb 3 packets in 2 time slots  better than no collisions

  28. Performance

  29. Implementation • USRP Hardware • GNURadio software • Carrier Freq: 2.4-2.48GHz • BPSK modulation

  30. Testbed USRPs • 10% HT, 10% partial HT, 80% perfectly sense each other • Each run randomly picks an AP and two clients • Co-located 802.11a nodes to find out about HTs and created the same collision patterns by the USRPs 802.11a

  31. Throughput Comparison CDF of concurrent flow pairs Throughput

  32. Throughput Comparison Perfectly Sense Partial Hidden Terminals Hidden Terminals CDF of concurrent flow pairs 802.11 Throughput

  33. Throughput Comparison Hidden Terminals get high throughput CDF of concurrent flow pairs ZigZag 802.11 Throughput

  34. Throughput Comparison ZigZag Exploits Capture Effect CDF of concurrent flow pairs ZigZag 802.11 Throughput ZigZag improved average Throughput by 25%

  35. Throughput Comparison Hidden Terminals CDF of concurrent flow pairs ZigZag 802.11 Throughput Improved hidden terminals loss rate from 72% to 0.7%

  36. Is ZigZag as efficient as if the colliding packets were sent in separate slots? • For every SNR, Check that ZigZag can match the BER of collision-free receptions

  37. Is ZigZag as efficient as if packets were collision-free Receptions? Bit Error Rate (BER) SNR in dB

  38. Is ZigZag as efficient as if packets were collision-free Receptions? Collision-Free Receptions Bit Error Rate (BER) SNR in dB

  39. Is ZigZag as efficient as if packets were collision-free Receptions? Collision-Free Receptions Bit Error Rate (BER) ZigZag-Decoded Collisions ZigZag is as efficient as if the colliding packets were sent separately SNR in dB

  40. Three Colliding Senders Collision! Chris Bob Alice Nodes picked randomly from testbed

  41. Three Colliding Senders Alice CDF of runs Bob Chris Per-Sender Throughput ZigZag extends beyond two colliding senders

  42. Related Work • RTS-CTS • Excessive Overhead; Administrators turn it off • Interference Cancellation • Unsuitable for 802.11 because of bit rate adaptation Rmax Interference cancelation operates on one collision  Undecodable Bob’s Info Rate Alice’s Info Rate Rmax

  43. Related Work • RTS-CTS • Excessive Overhead; Administrators turn it off • Interference Cancellation • Unsuitable for 802.11 because of bit rate adaptation Rmax ZigZag operates on two collisions  Can decode Bob’s Info Rate Alice’s Info Rate Rmax

  44. Conclusion • ZigZag is a receiver design that resolves collisions • It is as efficient as if the colliding packets were sent in separate time slots • It reduces hidden terminal losses from 72% to 0.7% • It enables aggressive MAC  More concurrency

More Related