wi-fi goes to town · best ap sequence is not left-to-right order problem: rapid multi-path fading...

32
Speaker: Zhenyu Song Zhenyu Song, Longfei Shangguan, Kyle Jamieson {zhenyus, longfeis, kylej}@cs.princeton.edu Wi-Fi Goes to Town: Rapid Picocell Switching for Wireless Transit Networks This work is supported by the NSF grant No. 1617161 and Google Research Award.

Upload: others

Post on 26-Sep-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Wi-Fi Goes to Town · Best AP sequence is not left-to-right order Problem: rapid multi-path fading AP1 GRapid (ms-scale) channel fading due to the multi-path AP2 AP3 Channel Capacity

Speaker: Zhenyu Song

Zhenyu Song, Longfei Shangguan, Kyle Jamieson{zhenyus, longfeis, kylej}@cs.princeton.edu

Wi-Fi Goes to Town: Rapid Picocell Switching for Wireless Transit Networks

This work is supported by the NSF grant No. 1617161 and Google Research Award.

Page 2: Wi-Fi Goes to Town · Best AP sequence is not left-to-right order Problem: rapid multi-path fading AP1 GRapid (ms-scale) channel fading due to the multi-path AP2 AP3 Channel Capacity

Motivation

Billions of commuters on trains, light rails and in cars surf the internet

2

ConferenceOnline VideoVR gaming

How can we increase the wireless network 1000X in bits/(second*dollar)?

Page 3: Wi-Fi Goes to Town · Best AP sequence is not left-to-right order Problem: rapid multi-path fading AP1 GRapid (ms-scale) channel fading due to the multi-path AP2 AP3 Channel Capacity

Motivation

“The majority of capacity gains over the past 45 years is due to the decreased size of each cell.” ——Cooper

APAP2

increasing capacity gain

3

AP1 AP3AP4

Page 4: Wi-Fi Goes to Town · Best AP sequence is not left-to-right order Problem: rapid multi-path fading AP1 GRapid (ms-scale) channel fading due to the multi-path AP2 AP3 Channel Capacity

Two recent observations

The ESP8266 Wi-Fi and system-on-chip module,available ca.2016 for $5.

Very low-cost AP (<= $5)

Commodity APs can extract fine-grained channel state information

4

[Halperin et al.]

Page 5: Wi-Fi Goes to Town · Best AP sequence is not left-to-right order Problem: rapid multi-path fading AP1 GRapid (ms-scale) channel fading due to the multi-path AP2 AP3 Channel Capacity

Wi-Fi Goes to Town:Picocell AP network for transit

APAPAPAPAPAPAP

APAP

APAP

APAP

5

Page 6: Wi-Fi Goes to Town · Best AP sequence is not left-to-right order Problem: rapid multi-path fading AP1 GRapid (ms-scale) channel fading due to the multi-path AP2 AP3 Channel Capacity

Problem: picocells + vehicular speed

How to support switching between APs?

APAPAPAPAPAPAP

APAP

APAP

APAP

APAP

APAPAP

AP

We need to switch fast!6

Page 7: Wi-Fi Goes to Town · Best AP sequence is not left-to-right order Problem: rapid multi-path fading AP1 GRapid (ms-scale) channel fading due to the multi-path AP2 AP3 Channel Capacity

Best AP sequence is not left-to-right order

Problem: rapid multi-path fading

AP1

Rapid (ms-scale) channel fading due to the multi-pathAP2 AP3

Chan

nel C

apac

ityTime (ms)

AP1AP2AP3

We need to switch at a millisecond level!7

1 2 1 2

Page 8: Wi-Fi Goes to Town · Best AP sequence is not left-to-right order Problem: rapid multi-path fading AP1 GRapid (ms-scale) channel fading due to the multi-path AP2 AP3 Channel Capacity

Design

Who maintains states and makes switching decision

When to switch (to which AP)

How to switch

8

Page 9: Wi-Fi Goes to Town · Best AP sequence is not left-to-right order Problem: rapid multi-path fading AP1 GRapid (ms-scale) channel fading due to the multi-path AP2 AP3 Channel Capacity

Design

Wi-Fi Goes to Town: system architecture

9

Page 10: Wi-Fi Goes to Town · Best AP sequence is not left-to-right order Problem: rapid multi-path fading AP1 GRapid (ms-scale) channel fading due to the multi-path AP2 AP3 Channel Capacity

Design::who

10

A controller maintains states and makes decisions

Page 11: Wi-Fi Goes to Town · Best AP sequence is not left-to-right order Problem: rapid multi-path fading AP1 GRapid (ms-scale) channel fading due to the multi-path AP2 AP3 Channel Capacity

Design::when (and which)AP selection algorithm

Controller maintains an Effective SNR value window (10 ms), and selects AP with largest median value.

11

AP1 AP2AP3

AP1AP2

Time

191314

14 1713

13

15

121318

1019

windowAP3

17

window window

Page 12: Wi-Fi Goes to Town · Best AP sequence is not left-to-right order Problem: rapid multi-path fading AP1 GRapid (ms-scale) channel fading due to the multi-path AP2 AP3 Channel Capacity

Design::how

Association

Uplink (from client to AP)

Downlink (from AP to client)

12

Page 13: Wi-Fi Goes to Town · Best AP sequence is not left-to-right order Problem: rapid multi-path fading AP1 GRapid (ms-scale) channel fading due to the multi-path AP2 AP3 Channel Capacity

Design::how

Wi-Fi Goes to Town: AP-client association

AP1

AP3AP2

propagate info

client info

hostapd AP2

hostapd AP1

hostapd AP3

extract

send to

All APs associate with client

13

Page 14: Wi-Fi Goes to Town · Best AP sequence is not left-to-right order Problem: rapid multi-path fading AP1 GRapid (ms-scale) channel fading due to the multi-path AP2 AP3 Channel Capacity

Design::how

Wi-Fi Goes to Town: Uplink flow

tunneling

Stripe and de-duplicate

AP1 AP3AP2

14

same bssid

Page 15: Wi-Fi Goes to Town · Best AP sequence is not left-to-right order Problem: rapid multi-path fading AP1 GRapid (ms-scale) channel fading due to the multi-path AP2 AP3 Channel Capacity

Design::how

Wi-Fi Goes to Town: Downlink flow

1 12233

AP1 AP3AP2

321

start

ack

15

Page 16: Wi-Fi Goes to Town · Best AP sequence is not left-to-right order Problem: rapid multi-path fading AP1 GRapid (ms-scale) channel fading due to the multi-path AP2 AP3 Channel Capacity

Design::how

Wi-Fi Goes to Town: Downlink packet synchronization

AP1 AP2

16

tunneling

set as 80211 seq

Page 17: Wi-Fi Goes to Town · Best AP sequence is not left-to-right order Problem: rapid multi-path fading AP1 GRapid (ms-scale) channel fading due to the multi-path AP2 AP3 Channel Capacity

Introduction of aggregation in 802.11n

17

Sender Receiver

block ack

MPDUaggregate frame 1,2,3

MPDUaggregate frame 2,3,4

partial ackframe 1

1 2 3 4

sender windowsender window

Page 18: Wi-Fi Goes to Town · Best AP sequence is not left-to-right order Problem: rapid multi-path fading AP1 GRapid (ms-scale) channel fading due to the multi-path AP2 AP3 Channel Capacity

Problem: block ack lost causes mac layer inefficiency

AP1 AP2

18

AP1 needlessly retransmits whole aggregate

Page 19: Wi-Fi Goes to Town · Best AP sequence is not left-to-right order Problem: rapid multi-path fading AP1 GRapid (ms-scale) channel fading due to the multi-path AP2 AP3 Channel Capacity

AP2 (adjacent)

kernel

Solution: block ack forwarding

AP1 AP3AP2

321 block ack

AP1 (associated)

kernel

19

Page 20: Wi-Fi Goes to Town · Best AP sequence is not left-to-right order Problem: rapid multi-path fading AP1 GRapid (ms-scale) channel fading due to the multi-path AP2 AP3 Channel Capacity

Implementation

Wi-Fi Goes to Town: Two Deployment Schemes

20

Page 21: Wi-Fi Goes to Town · Best AP sequence is not left-to-right order Problem: rapid multi-path fading AP1 GRapid (ms-scale) channel fading due to the multi-path AP2 AP3 Channel Capacity

Implementation: hardwareAP: TP-Link N750 AP, Larid directional antenna, Atheros CSI Tool [Xie et al.]

Controller: Lenovo Thinkpad T430

21

Page 22: Wi-Fi Goes to Town · Best AP sequence is not left-to-right order Problem: rapid multi-path fading AP1 GRapid (ms-scale) channel fading due to the multi-path AP2 AP3 Channel Capacity

Evaluation: questions

How much does Wi-Fi goes to town improve uplink reception rate?

Does Wi-Fi goes to town increase jitter?

Does Wi-Fi goes to town achieve higher end-to-end throughput?

22

Page 23: Wi-Fi Goes to Town · Best AP sequence is not left-to-right order Problem: rapid multi-path fading AP1 GRapid (ms-scale) channel fading due to the multi-path AP2 AP3 Channel Capacity

Short demo

23

AP

Uplink packet

Downlink packet

retrans packet

Page 24: Wi-Fi Goes to Town · Best AP sequence is not left-to-right order Problem: rapid multi-path fading AP1 GRapid (ms-scale) channel fading due to the multi-path AP2 AP3 Channel Capacity

Strawman: 802.11r (enhanced)(Original 802.11r) Fast handover:

Fast BSS transition.Client maintains time-averaged RSSI, and switch when

below threshold

(Enhanced) Fast nearby AP discovery:Each AP tells client nearby AP information Client overhears beacons

24

Page 25: Wi-Fi Goes to Town · Best AP sequence is not left-to-right order Problem: rapid multi-path fading AP1 GRapid (ms-scale) channel fading due to the multi-path AP2 AP3 Channel Capacity

Wi-Fi goes to town achieve loweruplink loss rate by over-hearing

25

Upl

ink

loss

rate

Page 26: Wi-Fi Goes to Town · Best AP sequence is not left-to-right order Problem: rapid multi-path fading AP1 GRapid (ms-scale) channel fading due to the multi-path AP2 AP3 Channel Capacity

TCP Download

26

RSSI ↓, switch! (Too late)

Wi-Fi goes to town achieves seamless switching at speed

Page 27: Wi-Fi Goes to Town · Best AP sequence is not left-to-right order Problem: rapid multi-path fading AP1 GRapid (ms-scale) channel fading due to the multi-path AP2 AP3 Channel Capacity

27

TCP Download

Wi-Fi goes to town achieves seamless switching at speed

Page 28: Wi-Fi Goes to Town · Best AP sequence is not left-to-right order Problem: rapid multi-path fading AP1 GRapid (ms-scale) channel fading due to the multi-path AP2 AP3 Channel Capacity

Wi-Fi goes to town achieves seamless switching at speed

28

ms-scale switching

TCP Download

Page 29: Wi-Fi Goes to Town · Best AP sequence is not left-to-right order Problem: rapid multi-path fading AP1 GRapid (ms-scale) channel fading due to the multi-path AP2 AP3 Channel Capacity

29

Wi-Fi goes to town achieves higherend-to-end throughput

Single-client, download

802.11r’s performance degrades with speed while Wi-Fi goes to town not

Page 30: Wi-Fi Goes to Town · Best AP sequence is not left-to-right order Problem: rapid multi-path fading AP1 GRapid (ms-scale) channel fading due to the multi-path AP2 AP3 Channel Capacity

Multi-client

30

Wi-Fi goes to town achieves higherend-to-end throughput

Wi-Fi goes to town always achieves higher performance

Aver

age

Thro

ughp

ut (M

bit/s

)

Page 31: Wi-Fi Goes to Town · Best AP sequence is not left-to-right order Problem: rapid multi-path fading AP1 GRapid (ms-scale) channel fading due to the multi-path AP2 AP3 Channel Capacity

Conclusion

First roadside hotspot network at vehicular speeds with meter-sized picocells.

Execute switch decisions at millisecond-level granularities.

First step in a line of work that will scale out the wireless capacity of roadside hotspot networks using small cells.

31