Wireless Networks share a non deterministic medium: Possible Problems: Noise ⇒ discard the packet...

18
A Framework and Experimental Study for Discrimination of Collision and Channel Errors in Wireless LANs

Transcript of Wireless Networks share a non deterministic medium: Possible Problems: Noise ⇒ discard the packet...

Page 1: Wireless Networks share a non deterministic medium: Possible Problems: Noise ⇒ discard the packet Collision ⇒ discard the packet.

A Framework and Experimental Study for Discrimination of

Collision and Channel Errorsin Wireless LANs

Page 2: Wireless Networks share a non deterministic medium: Possible Problems: Noise ⇒ discard the packet Collision ⇒ discard the packet.

What is Packet Differentiation?

Wireless Networks share a non deterministic medium:

Possible Problems:• Noise ⇒ discard the packet• Collision ⇒ discard the packet

Page 3: Wireless Networks share a non deterministic medium: Possible Problems: Noise ⇒ discard the packet Collision ⇒ discard the packet.

Noise & Collision

Collision

Noise

Page 4: Wireless Networks share a non deterministic medium: Possible Problems: Noise ⇒ discard the packet Collision ⇒ discard the packet.

Rate AdaptationPredict Channel Quality and choose the “right” rate/coding

Prediction based on Acknowledgments (ACKs):Successful Transmission ⇒ increase rateFailed Transmission ⇒ decrease rate

Why?Noise is the sole reason for transmission failure, because: • 802.11 -> 1997 – 1999• CSMA/CA -> collision avoidance

Page 5: Wireless Networks share a non deterministic medium: Possible Problems: Noise ⇒ discard the packet Collision ⇒ discard the packet.

CSMA/CACarrier Sensing Multiple Access/Collision Avoidance

Avoidance: users perceive the medium differently

Backoff Timer: [0, CW]

“Packet Fair”

Problems:• too many nodes• hidden terminal • capture effect

Page 6: Wireless Networks share a non deterministic medium: Possible Problems: Noise ⇒ discard the packet Collision ⇒ discard the packet.

Wrong Prediction, so what?Lower encoding = lower transmission rate

Lower throughput for the node itself Lower throughput for the SYSTEM

Price of “Fairness” – 802.11 Anomaly

1 Mbps 1 Mbps

54 Mbps

54 & 1 Mbps

Page 7: Wireless Networks share a non deterministic medium: Possible Problems: Noise ⇒ discard the packet Collision ⇒ discard the packet.

How to differentiate?Packet Frame

FCS: Frame Check Sequence

Packet destroyed by Noise:

Page 8: Wireless Networks share a non deterministic medium: Possible Problems: Noise ⇒ discard the packet Collision ⇒ discard the packet.

Packet destroyed by CollisionCollision scenarios:i) Visible Nodes

ii) Hidden Terminal

Page 9: Wireless Networks share a non deterministic medium: Possible Problems: Noise ⇒ discard the packet Collision ⇒ discard the packet.

Packet destroyed by CollisionCollision scenarios in Hidden Terminal:

Page 10: Wireless Networks share a non deterministic medium: Possible Problems: Noise ⇒ discard the packet Collision ⇒ discard the packet.

Capture Effect

• If Power of Packet A ≫ Packet B1. Packet A received correctly2. Packet B lost due to collision

Page 11: Wireless Networks share a non deterministic medium: Possible Problems: Noise ⇒ discard the packet Collision ⇒ discard the packet.

The IdeaA more sophisticated checksum function

Smaller Segments (1500bytes/numOfSegs) ⇒

smaller CRC (16bits instead of 32) ⇒ small overhead in data transmitted and in CPU

usage

Why distributed?

Page 12: Wireless Networks share a non deterministic medium: Possible Problems: Noise ⇒ discard the packet Collision ⇒ discard the packet.

The Idea 1.1Pr[Collision | Noise]: too noisy (P0)Pr[Noise | Collision]: small collision (P1)

Count the erroneous CRCs• big threshold ⇒ Po && P1• small threshold ⇒ Po && P1

ImprovementCount the successive erroneous CRCs

• lower threshold & more accurate prediction

Page 13: Wireless Networks share a non deterministic medium: Possible Problems: Noise ⇒ discard the packet Collision ⇒ discard the packet.

Use the extra InfoThe receiver knows the cause of failure but the sender must be informed in time

Successful Transmission ⇒ ACK ⇒ rate

“Noisy” Transmission ⇒ NAK ⇒ rateCollision ⇒ - ⇒ -

NAK per node and when needed• Hardware limitations ⇒ Implemented in

software• Sent according to SampleRate specs

Page 14: Wireless Networks share a non deterministic medium: Possible Problems: Noise ⇒ discard the packet Collision ⇒ discard the packet.

Why NAK on Noise?

Collision ⇒ at least 1/2 of the headers are destroyed

Receiver keeps per node statistics ⇒ header is needed ⇒ header small size (24bytes) ⇒ small possibility to be destroyed by noise

Page 15: Wireless Networks share a non deterministic medium: Possible Problems: Noise ⇒ discard the packet Collision ⇒ discard the packet.

Testbed

Page 16: Wireless Networks share a non deterministic medium: Possible Problems: Noise ⇒ discard the packet Collision ⇒ discard the packet.

Experimental Results

Congested Networks Hidden Terminal

Page 17: Wireless Networks share a non deterministic medium: Possible Problems: Noise ⇒ discard the packet Collision ⇒ discard the packet.

Experimental Results

Capture Effect Capture Effect with Half-hidden Terminal

Page 18: Wireless Networks share a non deterministic medium: Possible Problems: Noise ⇒ discard the packet Collision ⇒ discard the packet.