understanding and mitigating the impact of rf interference on 802.11 networks

21
1 Understanding and Mitigating the Impact of RF Interference on 802.11 Networks Ramki Gummadi (MIT), David Wetherall (UW) Ben Greenstein (IRS), Srinivasan Seshan (CMU)

Upload: grady

Post on 13-Jan-2016

29 views

Category:

Documents


0 download

DESCRIPTION

Understanding and Mitigating the Impact of RF Interference on 802.11 Networks. Ramki Gummadi (MIT), David Wetherall (UW) Ben Greenstein (IRS), Srinivasan Seshan (CMU). Growing interference in unlicensed bands. Anecdotal evidence of problems, but how severe? - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Understanding and Mitigating the Impact of RF Interference on 802.11 Networks

1

Understanding and Mitigating the Impact of RF Interference on

802.11 Networks

Ramki Gummadi (MIT), David Wetherall (UW)

Ben Greenstein (IRS), Srinivasan Seshan (CMU)

Page 2: Understanding and Mitigating the Impact of RF Interference on 802.11 Networks

2

Growing interference in unlicensed bands

• Anecdotal evidence of problems, but how severe?

• Characterize how 802.11 operates under interference in practice

Other 802.11

Page 3: Understanding and Mitigating the Impact of RF Interference on 802.11 Networks

3

What do we expect?• Throughput to decrease

linearly with interference• There to be lots of options

for 802.11 devices to tolerate interference– Bit-rate adaptation– Power control– FEC– Packet size variation– Spread-spectrum processing– Transmission and reception

diversity

Interferer power(log-scale)

Th

rou

gh

pu

t (l

inea

r)

Theory

Page 4: Understanding and Mitigating the Impact of RF Interference on 802.11 Networks

4

Key questions for this talk

– How damaging can a low-power and/or narrow-band interferer be?

– How can today’s hardware tolerate interference well?• What 802.11 options work well, and why?

Page 5: Understanding and Mitigating the Impact of RF Interference on 802.11 Networks

5

What we see

• Effects of interference more severe in practice

• Caused by hardware limitations of commodity cards, which theory doesn’t model

Practice

Interferer power(log-scale)

Th

rou

gh

pu

t (l

inea

r)

Theory

Page 6: Understanding and Mitigating the Impact of RF Interference on 802.11 Networks

6

Talk organization

• Characterizing the impact of interference

• Tolerating interference today

Page 7: Understanding and Mitigating the Impact of RF Interference on 802.11 Networks

7

Experimental setup

802.11Client

AccessPoint

UDP flow

802.11 Interferer

Page 8: Understanding and Mitigating the Impact of RF Interference on 802.11 Networks

8

802.11 receiver pathMACPHY

TimingRecovery

Preamble Detector/Header CRC-16 Checker

AGC

Barker Correlator

DescramblerADC

6-bit samples

To RF Amplifiers

RF Signal

Receiver

Data(includes beacons)

Demodulator

PHY MAC

Analog signal

Amplifier control

SYNC SFD CRC Payload

Extend SINR model (in paper) to capture these vulnerabilities

PHY header

Interested in worst-case natural or adversarial interference

Page 9: Understanding and Mitigating the Impact of RF Interference on 802.11 Networks

9

0.1

1

10

100

1000

10000

−∞ -20 -12 -2 0 8 12 15 20

Interferer Power (dBm)

Th

rou

gh

pu

t (k

bp

s)

0

200

400

600

800

1000

1200

Lat

ency

(mic

rose

con

ds)

Throughput

Latency

Timing recovery interference• Interferer sends continuous SYNC pattern

– Interferes with packet acquisition (PHY reception errors)

Weak interfererModerate interferer

Log-scale

Page 10: Understanding and Mitigating the Impact of RF Interference on 802.11 Networks

10

0.1

1

10

100

1000

10000

−∞ -20 -12 -2 0 8 12 15 20

Interferer Power (dBm)

Th

rou

gh

pu

t (kb

ps)

-100

100

300

500

700

900

La

ten

cy

(mic

rose

con

ds)

Throughput

Latency

Dynamic range selection• Interferer sends on-off random patterns (5ms/1ms)

– AGC selects a low-gain amplifier that has high processing noise (packet CRC errors)

Narrow-band interferer

Page 11: Understanding and Mitigating the Impact of RF Interference on 802.11 Networks

11

0.1

1

10

100

1000

10000

−∞ -20 -12 0 8 12 15 20

Interferer Power (dBm)

Th

rou

gh

pu

t (k

bp

s)

0

200

400

600

800

1000

La

ten

cy

(mic

rose

co

nd

s)

Throughput

Latency

Header processing interference• Interferer sends continuous 16-bit Start Frame Delimiters• Affects PHY header processing (header CRC errors)

Unsynchronized interferer

Page 12: Understanding and Mitigating the Impact of RF Interference on 802.11 Networks

12

Interference mitigation options

• Lower the bit rate

• Decrease the packet size

• Choose a different modulation scheme

• Leverage multipath (802.11n)

• Move to a clear channel

Page 13: Understanding and Mitigating the Impact of RF Interference on 802.11 Networks

13

0.1

1

10

100

1000

10000

−∞ -20 -12 -2 8 12 15 20

Interferer Power (dBm)

Thr

ough

put (

kbps

)

1Mbps

100-byte packets, 11Mbps

2Mbps5.5Mbps

11Mbps

11Mbps, PBCC

5.5Mbps,PBCC

CCA Mode 1, 11Mbps

Impact of 802.11 parameters• Rate adaptation, packet sizes, FEC, and

varying CCA parameters do not help

With and without FEC

Rate adaptationChanging CCA

mode

Changing packet size

Page 14: Understanding and Mitigating the Impact of RF Interference on 802.11 Networks

14

0.1

1

10

100

1000

10000

100000

−∞ -20 -12 0 8 12 15 20

Interferer Power (dBm)

Th

rou

gh

pu

t (kb

ps)

0

200

400

600

800

1000

La

ten

cy

(mic

rose

con

ds)

802.11g Latency

802.11n Latency

802.11g Throughput

802.11n Throughput

Impact of 802.11g/n• No significant performance improvement

High throughputs without interferenceSignificant drops with

weak interferer

Page 15: Understanding and Mitigating the Impact of RF Interference on 802.11 Networks

15

0.1

1

10

100

1000

10000

−∞ -20 -12 0 8 12 15 20

Interferer Power (dBm)

Th

rou

gh

pu

t (k

bp

s) 10MHz separation

15MHz separation

Same channel(poor performance)

Impact of frequency separation• But, even small frequency separation (i.e., adjacent 802.11 channel) helps

– Channel hopping to mitigate interference?

5MHz separation(good performance)

Page 16: Understanding and Mitigating the Impact of RF Interference on 802.11 Networks

16

Talk organization

• Characterizing the impact of interference

• Tolerating interference today

Page 17: Understanding and Mitigating the Impact of RF Interference on 802.11 Networks

17

Rapid channel hopping

• Use existing hardware– Design dictated by radio PHY and MAC properties

(synchronization, scanning, and switching latencies)

• Design must accommodate adversarial and natural interference channel hopping– Test with an oracle-based adversary

• Design overview– Packet loss during switching + adversary’s search

speed 10ms dwell period– Next hop is determined using a secure hash chain– Triggered only when heavy packet loss is detected

Page 18: Understanding and Mitigating the Impact of RF Interference on 802.11 Networks

18

0.1

1

10

100

1000

10000

0 5 10 15 20

Interferer Power (dBm)

Th

rou

gh

pu

t (k

bp

s)

CH, UDP traffic

CH, TCP traffic

No CH, UDP traffic

No CH, TCP traffic

Evaluation of channel hopping

• Good TCP & UDP performance, low loss rate

Weak interference, 17% degradation

Moderate interference, 1Mbps throughput

Page 19: Understanding and Mitigating the Impact of RF Interference on 802.11 Networks

190

200

400

600

800

1000

1200

1400

1600

1800

Th

rou

gh

pu

t (k

bp

s)

0

50

100

150

200

250

300

350

400

450

La

ten

cy

(m

icro

se

co

nd

s)

Evaluation of channel hopping• Acceptable throughput even with multiple interferers

Interferers

Three orthogonal 802.11 interferers

Linear scale

Page 20: Understanding and Mitigating the Impact of RF Interference on 802.11 Networks

20

Conclusions

• Lot of previous work on RF interference– We show 802.11 NICs have additional PHY and

MAC fragilities

• Interference causes substantial degradation in commodity NICs– Even weak and narrow-band interferers are

surprisingly effective

• Changing 802.11 parameters does not mitigate interference, but rapid channel hopping can

Page 21: Understanding and Mitigating the Impact of RF Interference on 802.11 Networks

21

Thanks!Questions?

[email protected]