Low-cost 802.11 Wireless Infrastructure Networks

15
Low-cost 802.11 Wireless Infrastructure Networks Stefan Savage and John Bellardo Department of Computer Science and Engineering University of California, San Diego

description

Low-cost 802.11 Wireless Infrastructure Networks. Stefan Savage and John Bellardo Department of Computer Science and Engineering University of California, San Diego. Motivation. Large-scale 802.11 deployments are expensive - PowerPoint PPT Presentation

Transcript of Low-cost 802.11 Wireless Infrastructure Networks

Page 1: Low-cost 802.11 Wireless Infrastructure Networks

Low-cost 802.11 Wireless Infrastructure Networks

Stefan Savage and John BellardoDepartment of Computer Science and Engineering

University of California, San Diego

Page 2: Low-cost 802.11 Wireless Infrastructure Networks

University California, San Diego – Department of Computer Science

UCSD CSE

Motivation

• Large-scale 802.11 deployments are expensive– Capital expenditures typically < 35%

(and hardware is on commodity price curve)– Operational expenditures

• Site-survey• Test and tuning• Network wiring and provisioning• Ongoing management (software update, rebalance, etc)

• Our goal: make it cheap and trivial to provide building or campus-wide 802.11 APs (OpEx -> 0)

Page 3: Low-cost 802.11 Wireless Infrastructure Networks

University California, San Diego – Department of Computer Science

UCSD CSE

Assumptions

• Radio hardware is cheap– Multiple independent radios in a package is reasonable

• Antenna technology is not– Omni antennas (low gain/directional separation)

• Intra/Internet access usage model– Not point to point

• Largely homogenous administrative domain– Not dealing with apartment building problem (initially)

• Indoor focus– 3D, dense deployment, complex RF domain,

significant spatial and temporal load shifts

• Must not require 802.11 client modifications– Ok as optimization

Page 4: Low-cost 802.11 Wireless Infrastructure Networks

University California, San Diego – Department of Computer Science

UCSD CSE

Aside: Why use 802.11?

• Bad experience with simulation– Our wireless immigration project (USENIX Sec ’03)– Send CTS with large duration to freeze channel

(devestating in simulation, then we built it)– Have tried three wireless simulators (including $$$) – can’t find any

that predict our measurements• Multi-path, fading, variable noise, people (i.e. moving bags of water)• Variable xmit pwr, receive sensitivity, power spectrum, MAC behavior

on client NICs

• We want experience with real traffic driven by real users, hence we need to build real systems

• Not equipped/funded to build a lot of radios – Although we do have some (CalRadio – at end of talk)

Page 5: Low-cost 802.11 Wireless Infrastructure Networks

University California, San Diego – Department of Computer Science

UCSD CSE

Two elements of our work

• Radio Tomography and Frequency Management(RTFM)– Measurement-based inference of RF domain capacity

and contention– Auto AP configuration to maximize system goodput

• Frequency, transmit power, CCA, coding

– Goal: no site survey, no tuning, no manual configuration• LessWire

– Simplified multi-hop routing (3 hop max)– Best-exit routing wrt RF domain impact– Goal: opportunistic use of wiring, expand

coverage/density

Page 6: Low-cost 802.11 Wireless Infrastructure Networks

University California, San Diego – Department of Computer Science

UCSD CSE

Radio Tomography

• Key questions

– If I send pkt x at rate r with power t on channel z, what is the distribution of delivery delay times?

– Why? • Background interference• Co-channel interference• Client<->AP propagation (fading, multipath, etc)

Page 7: Low-cost 802.11 Wireless Infrastructure Networks

University California, San Diego – Department of Computer Science

UCSD CSE

Radio Tomography: first try

• Naïve approach– Model nodes as point transmitters with

set xmit range r and channel z– If two sphere’s overlap, delay is proportional to the sum

over load– Re-color, re-size to minimize delay

• Why this doesn’t even vaguely work– Non-uniform propagation– Channel not exclusive – Coding matters– Channel conditions and clients change

•AP• •AP•

•AP•

Page 8: Low-cost 802.11 Wireless Infrastructure Networks

University California, San Diego – Department of Computer Science

UCSD CSE

Radio Tomography: 2nd & 3rd attempts

• Next idea:– Observe visible MACs and share among APs– If two nodes share the same node then assume

they interfere• Problems:

– Incredibly conservative (ignores attenuation and RF capture)

• Next idea: – Measure RSSI and infer impact on xput– Fine grained “ground-truth” measurements

(sample over every 3x3 feet by hand)• Problems

– RSSI is very very noisy and highly variable• Hard to infer “ground truth” from few samples

– Very poor predictor of pkt delivery• Happy to learn about any non-brittle models

here that work

Page 9: Low-cost 802.11 Wireless Infrastructure Networks

University California, San Diego – Department of Computer Science

UCSD CSE

Radio Tomography: current approach

• Synchronized Co-Channel Interference Inference – Idea: create interference and see impact (analogies to slow start)– APs send short burst on channel x at time t and rate r– Other APs measure change in re-transmission probability and back-

to-back xmit timing at same time (CCA indication)– Infer same from client based on retry bit in header & CRC failures

• Findings– Rate sensitivity

• Both for data (makes sense)and interferer (unsure)

• Discontinuities (fastest rates -> practically slower)

– Strong bimodality – Good at characterizing interference

• ~85% for sub-second samples• Gotchas: low S/N

PDF

0

0.1

0.2

0.3

0.4

0.5

0.6

1 2 3 4 5 6 7 8 9 10 11

Bin Number

Pro

bab

ilit

y

Observed

Page 10: Low-cost 802.11 Wireless Infrastructure Networks

University California, San Diego – Department of Computer Science

UCSD CSE

RF Management

• RF Parameter optimization (work in progress)– Minimize xmit power to maximally split offered load across APs– Color frequency and set CCA to minimize interference effects

• Research questions– NP-hard, Heuristic challenge – ordering of power/frequency opt– How often to re-optimize?

• Don’t want to react to short workload dynamics (ftp transfer) or RF dynamics (jiffy pop time-scale)

• Client delay on reassociation– Some NICs very bad– Our APs support fast handoff (SyncScan, UCSD-TR) but requires client

mods to take advantage• Want to react quickly to AP failure

– Centralized vs distributed control?– Impact if some nodes don’t play?

(e.g. static frequency inholding)

Page 11: Low-cost 802.11 Wireless Infrastructure Networks

University California, San Diego – Department of Computer Science

UCSD CSE

LessWire

• Idea: use additional radios to provide multi-hop backhaul

• Research challenges– Point-to-multipoint route optimization over RF domain

(not ad hoc routing)– Interaction with RF management

• Backhaul-only channels vs joint assignment• Optimize freq/power assignment over “opportunity cost” of a

route

– Simplicities from being short hop (2-3 hops max) network (very low state)

Page 12: Low-cost 802.11 Wireless Infrastructure Networks

University California, San Diego – Department of Computer Science

UCSD CSE

Where we are

• RTFM prototype limping along at UCSD– Interference inference

• Background channel quality• Co-channel impact on predicted delay on given frequency• Extrapolate rate impact based on empirical curves

– Greedy channel assignment based on static threshold– Lots of work left… (CCA validation, TX power, better

assignment, more features to classifier)

• LessWire– In algorithmic stage – no results to report today– We are assuming that wired bandwidth is infinite

Page 13: Low-cost 802.11 Wireless Infrastructure Networks

University California, San Diego – Department of Computer Science

UCSD CSE

UCSD CSE Infrastructure

• 266Mhz Soekris w/40GB trace store– Dual-radio Atheros 5212 miniPCIs

• Driver hacks for CCA adjust, per-packet TPC&rate control• Global time synced packet scheduling

– 5Ghz deployment on two floors-12APs(soon 2 more + indoor/outdoor-40APs)

Page 14: Low-cost 802.11 Wireless Infrastructure Networks

University California, San Diego – Department of Computer Science

UCSD CSE

UCSD Infrastructure: CalRadio I

• Joint project of UCSD CalIT2, ECE and CSE• Intersil baseband, 2.4Ghz RF, DSP-based MAC

(TI ‘C5471/ARM7, Symbol derived IP, about 4”x4”)• Designed to allow L2 experimentation/innovation

SPII2S

TLV320AIC23

MICSPKR

ALU

ExternalMemoryInterface

DMA

ProgramROM

16K x 16

SRAM32K x 16

StereoCODEC

5409DSP

(100MIPS)

McBSP0

JTAGTest

Peripherals

I2S

SPI, Keys, GPIO

SRAM256Kx16

Flash512K x 16RF PORT

Keys

+3.3,+2.8, +1.8

Power Supplies

16b-Latch8-LEDs 8-GPO

McBSP1

McBSP2

TMS320VC5409

Amplifier

DecodeLogic

OptionalPEEL

RF serial bus

11.2896MHz

Page 15: Low-cost 802.11 Wireless Infrastructure Networks

University California, San Diego – Department of Computer Science

UCSD CSE

UCSD Infrastructure: CalRadio II

DSPDSP

RAMRAM FLASHFLASH SRAMSRAM

FPGAFPGAI/OUSB

CLOCK

LED Indicators

RF Modules

Logic Test Points

DSPDSP

RAMRAM FLASHFLASH SRAMSRAM

FPGAFPGAI/OUSB

CLOCK

LED Indicators

RF Modules

Logic Test Points

LVDS Serial Interfaces

TMS 320C6711C-200Floating Point

DSP

XilinxVirtex II

XCVX000E

128kB (32Kx32)Dual-Port

100MHz SBSRAM

JTAG Logic

16MB SDRAMClock

Power Conversion(Single Voltage Input)

+3.3, +5, +15, -15

/9 - LVDS

/4 - JTAG Chaining

/4 JTAG Connector

8MB Flash

MAX1617Dual Temp

Sense

/8 +/8

Clock

/2

/2

/2

USB/EthernetInterface

/12

LEDs & Test Points

200MHzClock

/1 - Clock

/1

ResetReset

/1 - EXT_INT5

01

01

01

01

01

01

01

01

DIP Switches

/4 - JTAG

EMIF

text

MezzanineConnector

text

McBSP0

text

HP

I B

us

ADCTLV2552

Serial Port

Power Connector

Interrupt

CalRADIOCal-(IT)2 V1.00 11/4/03

Douglas Palmer

UARTSN75LV4737A

DACTLV5626

McBSP1

RF Module 0

RF Module 2

RF Module 1

RF Module 3

• More aggressive: physical layer innovation– Several RF modules being constructed (2.4, 5Ghz WiFi, 2x2 MIMO

900Mhz, 3-10Ghz UWB)– Modulation all in FPGA, Matlab/Simulink compatible