SlideShare ist ein Scribd-Unternehmen logo
1 von 58
Mobile Devices and Wi-Fi
Peter Thornycroft
June 2014
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
2 #AirheadsConf
Agenda
The commercial value chain
Consumer device reference models
Battery life
QoS
Location
5GHz and DFS channels
Authentication & Passpoint
Handover behavior
Bluetooth Low Energy
3
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
#AirheadsConf
Commercial models
• What we see:
– The chain leads to the
cellular operator and
consumer
• What we want to see:
– Some recognition for the
enterprise user
Consumers (your typical Gen-Y) who
don’t care too much about Wi-Fi
performance at work
Chip vendor incorporates driver, is
really responsible for Wi-Fi
functionality, selling to …
Phone / device vendor who has cost
constraints, won’t waste time on
features not of interest to its biggest
customers who are…
Cellular Operators, for whom Wi-Fi
is a minority interest in the first place
and anyway sell to …
Mobile OS
vendor does
some
influencing
4
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
#AirheadsConf
WLANs differ from home APs
Home AP reference model
A single AP, not doing much of interest
WLAN reference model
Many, APs with same SSID and coordinated,
seamless handover (no DHCP, common
authentication etc.)
- No point in looking for other APs because
there (usually) aren’t any
- Established (~correct) behavior is to hang
onto the AP until the signal is very weak,
then switch to cellular data if available
- There is always a ‘better’AP
- But the device needs to scan (or use neighbor
report) to be aware of the ‘better’AP.
Benefits of good WLAN client behavior…
- Devices get higher rates
- Other devices get more airtime, better network
capacity
- Less time on the air - better battery life
- Less mutual (co-channel) interference
Same effects are seen in public places, hot zones – ‘always best connected’ activity in Hotspot 2.0 ph3 groups.
5
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
#AirheadsConf
Network reference models
• What we see:
– One dual-band home AP
– “give me battery life, and
keep me connected”
• What we want to see:
– Option for multiple-AP WLAN
The current model is the single-AP home network. In this
framework, the best thing is to hold onto your AP until the
signal is too weak to work, then hope you can switch to cellular
data. Probe requests are a waste of battery life because there’s
only one AP.
We want to see either a dual-model or a more flexible
architecture. Maybe sense that there are other APs in the same
system (spot the neighbor report?) and flip to a multi-AP
algorithm.
Under a multiple-AP network, there is always a really-good
signal (except at the edge). It’s just a question of probing
more often to find the better APs.
But it’s difficult to move device, OS and chip vendors away
from their well-established model. They are wary of breaking
what has taken several years to ‘perfect’.
We’ll also see that consumer APs still don’t offer the advanced
features we incorporated some years ago.
6
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
#AirheadsConf
Power Save Modes
sleeping
time
beaconDTIM
Traffic for
you
give sleeping
WMM-PS
beaconDTIM
pkt
Traditional Power-Save
U-APSD (WMM-PS)
pkt
pkt
pkt
pkt
pkt
pkt
pkt
pkt pkt
pkt
buffered
time
DTIM
7
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
#AirheadsConf
Battery life
• What we see:
– Minimum possible probing
• What we want to see:
– More probe requests in
WLAN
– Using 11k reports
– U-APSD within a beacon
interval
Mobile devices are usually unaware of better AP signals
because they don’t probe enough.
They don’t probe enough because of an over-zealous focus on
battery life, and a model that has only one AP.
Sometimes when a device has an ‘acceptable’ signal it stops
probing altogether. Later, when it starts to move, it may not re-
enable probing until too late to maintain the connection.
In fact, Wi-Fi accounts for less battery consumption than the
cellular subsystem, and far less than the display or CPU
processing app tasks and GPU.
So our focus is on showing device vendors they can ‘go
passive’… only using the 802.11 radio in receive mode.
‘WFA Voice-Enterprise light’, or a collection of features that
enable the device to be multi-AP-aware without reducing
battery life.
8
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
#AirheadsConf
The mystery of missing
smartphone QoS
Android
App Code
(QoS – unaware coder)
Driver & microcode
Multi-level QoS
priority API
(that’s OK)
Parrots the driver
API (that’s not OK)
Can’t spell QoS
anyway so it’s
inconsequential
Wi-Fi air interface
• QoS priority (~WMM)is there if
app developers want to use it
• But… it’s not documented And
anyway… app developers are
not QoS-aware
– Socket.setTrafficClass(int value) IPTos
• The OS has a hard time figuring out
the QoS Pri required by each app…
• Thus WMM priority is seldom used in
mobile device apps
Same observations apply to WMM-PS (U-APSD) for intra-beacon power save.
9
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
#AirheadsConf
QoS
• What we see:
– WMM functionality exists in
mobile device OS
– But APIs are arcane
– No documentation or
promotion
• What we want to see:
– Better API support
– Developer guidelines
WMM QoS is enabled through the OS to the chip/driver.
But to invoke a high-priority connection, the app developer
must add some parameters to the commands that open sockets .
App developers are unaware of the need to apply Wi-Fi QoS,
and/or are not informed of the required APIs, and/or are not
technically capable of understanding that aspect of app
programming.
This includes developers of voice and video apps including
those in vertically-integrated companies.
10
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
#AirheadsConf
Location (distance)
enhancements
RTT “Round-Trip-Time”
A standard (actually two standards
and several proprietary variants)
“802.11k”
Location Track Notification,
Modified (to finer timestamps) in
“802.11mc”
Fine Timing Measurements
Distance Calculations
Measure
with me!
Now
here are
my times
t1, t4
OK, here
t1
t3
t4
t2
Challenges:
- Need to combine/average several
frames to get a good reading.
- Averaging many frames affects
battery life, network capacity
Challenges:
- Measuring to nanoseconds
(speed of light: 1 ft per nsec)
- Setting up circuitry to
timestamp the right frame
- Calibration for time frame
leaves (arrives) at the antenna
Once all four timestamps are in one
place, subtraction and /2 gives time-
of-flight and multiply-by-speed-of-
light gives distance
Got
it
Implementation
In mobile device Wi-Fi chips late
2014
In access points 2015 (early
implementation 2014)
No Wi-Fi Alliance certification >>
may cause interoperability teething
troubles
Accuracy should be 1 – 5 metres,
depending on the number of frames
averaged & underlying hardware
Most useful in line-of-sight, but
better accuracy at longer distances
than RSSI
Many variations possible with
WLAN topologies
d = ((t4 – t1) – (t3 – t2)) * c / 2
11
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
#AirheadsConf
Location
• What we see:
– RSSI reports
• What we want to see:
– RTT support
– Raw data for RTT, RSSI
Location and location-based-services have attracted the
attention of many commercial and technical principals across
the industry.
Current development is focused on time-based distance
(mostly Round-Trip-Time) measurements:
- 802.11mc Fine Timing Measurement
- Wi-Fi Alliance Wireless Network Management ++
- In-Location Alliance
Look for RTT announcements and features over the next 12
months.
There is a significant danger that this location technology
reverts to proprietary, closed islands rather than developing
along open, standard APIs.
For example:
- Will raw data be available via OS API calls, or mysteriously
processed within the chip/driver or OS itself?
- Will devices built on different chip families interoperate for
RTT location?
12
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
#AirheadsConf
DFS channels – useful at last!
How many radar triggers?
frequency
insallations
0 / year 5 / hour
Usually none, but in some places
> comfortable
Devices supporting DFS
Apple > 2 years
Intel > 2 years
Samsung > 1 year
Others getting there
Most
WLANs
A few
Special concerns
No active client scanning in DFS
bands because they don’t passive-
scan for radar
- slow AP acquisition
- fixed (eventually) by neighbor
report
5GHz Channel count
13 20MHz channels, no DFS
22 20MHz channels including DFS
Channel strategy
Dot them around?
Use the spectrum!
13
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
#AirheadsConf
5GHz band
• What we see:
– Beginning to favor 5GHz
over 2.4
– Spreading DFS support
• What we want to see:
– Overweight 5GHz bias
– 100% DFS support
About 18 months ago Apple supposedly reversed from
unconditionally preferring 2.4GHz to favoring 5GHz.
Unfortunately the battery-saving imperative (see earlier) means
that when a device has an acceptable signal from its AP, it will
stop scanning for a better one. Especially scanning in other
bands.
This can cause difficulties when the WLAN seeks to move a
device to a different band: it may refuse to scan the alternate
band.
DFS support is improving, now available on all Apple devices
(since iPhone 4S) and many Android (since early 2013: e.g.
Samsung Note, Galaxy S4).
We believe this is a good time to start deploying DFS channels.
14
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
#AirheadsConf
Passpoint
Identify a hotspot with
Internet reachability and
friendly authentication
Pre-association discovery
What
have you
got?
T-Mobile
BT
Comcast
Orange…
- Pre-association
- New GAS/ANQP protocol
- Lists service providers
- Acceptable authentication
Authenticate to home SP
T-Mobile BTOrange
Accuris
Aicent
BSG…
Hub
(settlement)
RADIUS
e.g. DIAMETER
WPA2 Options
- EAP-TLS
- EAP-TTLS
- EAP-SIM
- EAP-AKA(‘)
Make a list of available
options, decide which to use
Prioritise account options
T-Mobile home (have SIM)
BT visiting (have pwd)
Orange visiting (have pwd)
Comcast visiting (have cert)
Home AP (not Passpoint)
Local (not Passpoint) hotspot
SPs, phone designers all want a
say
- Distinction between ‘home’
and ‘visiting’ hotspot
- May have different tariffs
- Policy for time-of-day,
location…
ANDSF is a cellular protocol that can pass policy to the device to help it make offload decisions.
Passpoint phase 2 introduces se mi-automatic online sign-up and policy services.
T-Mobile SIM
15
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
#AirheadsConf
Authentication
• What we see:
– Beginning to support HS2.0
(Passpoint)
• What we want to see:
– Passpoint with EAP-SIM
everywhere
– SPs supporting Passpoint
Passpoint (Hotspot 2.0, from 802.11u) was released as a WFA
certification in June 2012.
For the following 12 months, while SP and enterprise WLAN
equipment supported Passpoint, you could not purchase a
commercial device that was compliant.
That has changed in the last 6 months (iOS7, Samsung Galaxy
S4). Now, we realize that no SP has deployed a network with
standard HS2.0 support.
Why not?
- Actually, NTT has…
- AT&T stayed proprietary
- Cellular operators (see commercial chain above) have no
incentive to allow others (MSOs) to steal their customers
- The enterprise WLAN vendors are waiting for wider
availability
But it’s time!
Public facing vendors should take AOS 6.4, contact a hub
vendor, fire it up and advertise support.
16
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
#AirheadsConf
Current handover narrative
A
Good signal, this is dandy!
Time / distance
0 sec
Signal Strength
17
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
#AirheadsConf
Current handover narrative
A
Good signal, this is dandy!
OMG, the signal is getting
really low!
Time / distance
0 sec ~30 sec
Signal Strength
18
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
#AirheadsConf
Current handover narrative
A
Good signal, this is dandy!
OMG, the signal is getting
really low!
SOS, sending 10 probe
requests on 3 channels
Time / distance
0 sec ~30 sec 35 sec 38 sec
Signal Strength
19
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
#AirheadsConf
Current handover narrative
A
B
C D
E
Good signal, this is dandy!
OMG, the signal is getting
really low!
SOS, sending 10 probe
requests on 3 channels
Wowza, responses from 20
APs, how to choose?
Time / distance
0 sec ~30 sec 35 sec 38 sec
Signal Strength
20
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
#AirheadsConf
Current handover narrative
A
B
C D
E
Good signal, this is dandy!
OMG, the signal is getting
really low!
SOS, sending 10 probe
requests on 3 channels
Wowza, responses from 20
APs, how to choose?
Let’s reauthenticate with
this one!
Time / distance
0 sec ~30 sec 35 sec 38 sec 40 sec reauthentication request
40.2 sec reauthenticated
Signal Strength
21
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
#AirheadsConf
‘Good’ handovers captured
22
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
#AirheadsConf
Sticky smartphone
23
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
#AirheadsConf
Typical smartphone
24
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
#AirheadsConf
Aruba Utilities
on Nexus 7
25
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
#AirheadsConf
802.11 k, v, r
• Many features, most important are:
• Neighbor report from AP to client (802.11k)
• Channel report from AP to client (802.11k)
• Beacon report from client to AP (802.11k)
• BSS Transition Management from AP to client (802.11v)
• Fast Transition by client (802.11r)
• (All rolled up in 802.11-2012, 2014)
26
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
#AirheadsConf
802.11r fast BSS transition
C D
R0 key
C
802.1X
authenticator
R0 key
S0 key
S1 key
PTK
Initial Authentication
establishes level 0 key
WLAN distributes
level 1 keys
R1 key
C D
On reassociation,
client presents level
1 key to new AP
R1 key
PTK
S0 key
S1 key
PTK
Mobility domain: A group of
APs covered by a level 0
keyholder
Over-the-air reassociation
widely adopted, over-the-DS
reassociation (via the current
AP) not used
Key suite includes:
Level 0 key (derived at initial authentication,
never exposed OTA)
Level 1 key (per-AP keys) used to derive…
Pairwise temporal keys (to encrypt
communication)
PTK
R1 key
Differences between FT and OKC? … Not much
keyscope keyscope
27
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
#AirheadsConf
802.11k, v, r features
B
C D
E
Neighbor report
AP chan secy key beacon
scope offset
B 6 WPA2 0 45
D 52 WPA2 0 12
E 161 WPA2 0 74
Information about other APs to help
with handover candidate discovery
C
Beacon report
Client reports how it hears (RSSI)
the beacons of other APs
BSSID RSSI
AP B -65
AP D -72
AP E -65
C
BSS Transition Management
AP instructs client to move to
another AP
Move to AP D…
E
DB
D
C
Channel report
AP informs client of channels used
by the WLAN
Channel
6
52
161
Overlaps with neighbor report
28
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
#AirheadsConf
802.11k Neighbor report
• Advertised by AP in the beacon (for all clients, non-
associated) and sent solicited per-client
• List of ‘neighbor’ APs with same SSID includes:
– BSSID
– Channel
– Beacon time offset
– PHY type
– QoS capability
– ‘Key scope’ for common authenticator
• 802.11 does not require neighbor list to be cropped or
ordered or modified per-client (but infrastructure may do so)
• Eliminates the need for active probe request-response
scanning
29
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
#AirheadsConf
The evils of active scanning
• Takes time
– Need to probe on each selected channel in turn, wait ‘reasonable’ interval for responses
– Need to return to current channel for beacon (DTIM)
• Inaccurate results
– RSSI of a single probe response varies ~ +/- 6dB from ‘average’
– Some APs will miss probe requests, or responses are lost
– If the device returns to current channel after ~15msec, sometimes misses responses
• Consumes power
– Typical pattern is to send 2 probe requests per channel, stay awake ~15–20msec
– Each probe request generates ~6 probe responses in a ‘typical’ WLAN
– Each probe response needs an ack
• Consumes airtime, affecting others’ performance
– Frames are sent at low rates, probe responses are retried
30
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
#AirheadsConf
Better handover performance
with ‘11k’
Current handover sequence:
1. Figure out it’s time to scan
2. Figure out channels to scan
3. Send probe requests, get responses
4. Identify best AP
5. Reauthenticate to new AP
802.11k handover sequence:
1. Periodically request neighbor report
2. Passive scan for neighbor beacons
3. Note if a neighbor AP is ‘better’
4. Reauthenticate to new AP
Probe requests & responses
Signal strength
Time, distance
Signal strength
Time, distance
Behavior c 1999 Behavior c 2013
Signal strength
Time, distance
Neighbor reports & passive scanning
Behavior c 2014 ?
31
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
#AirheadsConf
Signal Strength
Proper ‘11k’ handover narrative
A
Good signal, this is dandy!
Time / distance
0 sec
32
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
#AirheadsConf
B
C
D
Signal Strength
Proper ‘11k’ handover narrative
A
B
C D
E
Good signal, this is dandy!
Check neighbor report
every ~10sec
Identify ‘best’ AP and check
for beacon (passive scan)
Time / distance
0 sec ~10 sec 20 sec 30 secB
C
C
D
33
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
#AirheadsConf
Signal Strength
Proper ‘11k’ handover narrative
A
B
C D
E
Good signal, this is dandy!
Check neighbor report
every ~10sec
Identify ‘best’ AP and check
for beacon (passive scan)
Signal is low, but I have
already identified the best AP
Time / distance
0 sec ~10 sec 20 sec 30 secB
C
B
C
D
C
D
34
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
#AirheadsConf
B
C
B
C
D
C
D
D
C
Signal Strength
Proper ‘11k’ handover narrative
A
B
C D
E
Good signal, this is dandy!
Check neighbor report
every ~10sec
Identify ‘best’ AP and check
for beacon (passive scan)
Signal is low, but I have
already identified the best AP
Reauthenticate
Time / distance
0 sec ~10 sec 20 sec 30 sec 30 sec reauthentication request
30.2 sec reauthenticated
35
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
#AirheadsConf
Client Match
Client Match forms a virtual Beacon Report:
1. APs measure RSSI from client
2. APs receive beacon reports from the
client
3. Estimate the ‘best’AP
4. If client is _far_ from ‘best’AP…
5. Redirect (force handover) to ‘best’
AP
B
C D
E
A
track
-50
-60
-70
-80
AB E
Signal strength
distance
36
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
#AirheadsConf
Galaxy Nexus with AU app
37
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
#AirheadsConf
Nexus7 with AU app
38
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
#AirheadsConf
Samsung GS4 with AU app
39
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
#AirheadsConf
All together
Galaxy Nexus
Nexus 7
Galaxy S4
40
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
#AirheadsConf
Again…
Galaxy Nexus
Galaxy S4
Nexus 7
41
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
#AirheadsConf
If 11k, why Client Match ?
• ‘11k’ makes information available to the client
– Neighboring APs, channels, beacon offsets…
• ‘11k’ cannot confirm that the client receives information or how it prioritises
the information
– Neighbor report information may not be used
• Transmitting (or receiving) ‘11k’ does not guarantee that the client will act on
the information
– Handover decisions may not be improved
• Client Match uses information from the infrastructure and the client (if
supports beacon reports)
– The infra knows more about the client’s situation than the client does
• Client Match completes the task by forcing a handover
42
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
#AirheadsConf
Handover
• What we see:
– Not much
• What we want to see:
– More probe requests when
in WLAN
– Or… use passive 11k
reports
– Reauthenticate with
802.11r or OKC
Most people think inter-AP handovers take ~1second.
In fact, inter-AP handovers take 30msec, or 250msec, or 7sec
depending on the syndrome.
7sec outages occur when a device (not probing) does not
realize until too late that the signal from its serving AP is
dropping fast. By the time it starts to probe, it has lost the AP
and has to go into cold-start mode. More frequent probes (or
using passive measures as above) would eliminate 7 sec
outages.
Full WPA2 MSCHAPv2 re-authentication takes 200-250msec
to exchange ~50 frames (including acks). This is a stable
figure in the absence of very weak signals due to poor choice
of target AP (mobile devices usually make good AP choices
when aware of their environment through probing). This
outage will be barely noticeable to the user.
But faster re-authentication is possible, through old-school
OKC (from 802.11i) or 802.11r (now available on iPad).
… The ‘bad’ handover syndrome can be solved if the mobile
device is more aware of its surroundings (neighbor report) or
responds to BSS transition management frames (directed
handover from the AP).
43
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
#AirheadsConf
Aruba Utilities shows behaviour
• What we see:
– Frequent long outages
around handover events
• What we want to see:
– More awareness of
environment
– Faster reaction to losing
signal
Aruba Utilities shows very graphically what goes on
when a mobile device moves around an enterprise
WLAN.
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
44 #AirheadsConf
Agenda
Bluetooth Low Energy - location
45
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
#AirheadsConf
iBeacon deployment model for
navigation
UUID: Aruba
Major: 1000
Minor: 501
UUID: Aruba
Major: 1000
Minor: 502
UUID: Aruba
Major: 1000
Minor: 509
UUID: Aruba
Major: 1000
Minor: 503
-66
-68
-76
-82
46
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
#AirheadsConf
Bluetooth Low Energy overview
• BLE is also known as Bluetooth Smart, Bluetooth 4.0
• Evolution of the existing Bluetooth standard (2010)
• Focus on ultra-low power consumption (battery powered devices)
• Differences
– Efficient discovery / connection mechanism
– Very short packets
– Asymmetric design for peripherals
– Client server architecture
– Fixed advertising channels designed around WiFi channels
– Not compatible with older Bluetooth
• Most new devices support both ‘classic’ Bluetooth and BLE
(“Bluetooth Smart Ready”)
– iPhone 4S+, current (2013) iPad, Samsung Galaxy S4+, Nexus 7+
47
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
#AirheadsConf
Bluetooth Low Energy overview
• BLE is also known as Bluetooth Smart, Bluetooth 4.0
• Evolution of the existing Bluetooth standard (2010)
• Focus on ultra-low power consumption (battery powered devices)
• Differences
– Efficient discovery / connection mechanism
– Very short packets
– Asymmetric design for peripherals
– Client server architecture
– Fixed advertising channels designed around WiFi channels
– Not compatible with older Bluetooth
• Most new devices support both ‘classic’ Bluetooth and BLE
(“Bluetooth Smart Ready”)
– iPhone 4S+, current (2013) iPad, Samsung Galaxy S4+, Nexus 7+
48
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
#AirheadsConf
Bluetooth Low Energy &
iBeacon
• Bluetooth
– Very low-power consumption: years of life from a button cell
– Advertises… ‘beacons’
– Allows scanning for ‘peripherals’
– Allows ‘central’ devices to discover ‘peripherals’
– Two-way communication channel to read/write values
• iBeacon
– A subset of BLE, just the ‘advertising’ function with special
fields
– Allows a background app to be alerted on proximity
– No explicit location information in an iBeacon, just a
reference ID
49
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
#AirheadsConf
Spectrum for iBeacons & BLE
6 11
2412 2437 246224222402 2427 2447 2452 2472
1
2400 2483.5
Ch 37
(2402 MHz)
Ch 38
(2426MHz)
Ch 39
(2480MHz)
Wi-Fi
Bluetooth Low Energy Advertisement (iBeacon)
2 MHz channels
Gaussian Frequency Shift Keying
0.5 modulation index
1 Msymbol/second rate
1 Mbps data rate
~250 kbps application throughput
(in connection mode)
Advertisements are one-way transmissions
An advertisement can be sent on any/all of the
3 designated channels
Advertisements are repeated every 20 – 10000
msec (500msec typ)
Tx power ~ 0 dBm ( ~ 2 year battery life typ)
Apple specifications for iBeacons are more
constrained (but not widely followed)
50
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
#AirheadsConf
BLE Advertisement and iBeacon
Preamble
1
Advertiser
4
PDU
2 - 39
CRC
3
MAC address
6
Header
2
Data
1 - 31
iBeacon Prefix
9
Proximity UUID
16
Major
2
8E89BED6
0201061AFF4C000215
Minor
2
size, type.. e.g. 112233445566
e.g. 4152554e-f99b-86d0-947070693a78 e.g. 4159 e.g. 27341
BLE Advertisement Frame
BLE Advertisement Payload
iBeacon Data
Measured Tx Pwr
2
e.g. -59
iBeacon information
RSSI Measured by receiver
MAC From BLE header
Proximity UUID (can be) company reference
Major, Minor Integer values identifying the
tag and/or zone
Measured Tx Pwr Calibrated power at 1m from
the iBeacon (dBm)
51
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
#AirheadsConf
RSSI vs distance (iBeacon)
-100
-95
-90
-85
-80
-75
-70
-65
-60
-55
-50
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
iBeacon RSSI (dBm) vs distance (m), line of sight
GS4 with iBeacon 100 GS4 with iBeacon 101 Nexus 7 with iBeacon 100 Nexus 7 with iBeacon 101
iBeacon Tx power 0dBm
‘measured power’ -61dBm @ 1 m
52
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
#AirheadsConf
RSSI vs distance (iBeacon)
-90
-85
-80
-75
-70
-65
-60
-55
-50
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
iBeacon RSSI (dBm) vs distance (m), line of sight
(RSSI averaged over 5 readings)
GS4 with iBeacon 100 GS4 with iBeacon 101 Nexus 7 with iBeacon 100 Nexus 7 with iBeacon 101 grand average
53
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
#AirheadsConf
Why iBeacons matter on
iDevices
• The iOS app lifecycle puts an app on ice when not in
foreground. How to wake up on proximity to a particular
location?
– iOS maintains BLE in always-listening mode
– If the app registers for a UUID, iOS will awaken it when that
UUID is seen
– Event is a ‘region entry/exit’
– iBeacon background detection can take minutes
• Even in foreground, iOS will only return data on known,
specified UUIDs
– ‘Ranging mode’ in foreground gives RSSI every ~ 1 second
• Android makes for a much more flexible iBeacon hunter
iOS
Mobile App
BLE radio
BLE air interface
Register for < 20
UUIDs
Continuously
scanning for
iBeacons
Woken from
background
when UUID
heard
Database of UUID-
Major-Minor to
locations (part of
the app server)
54
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
#AirheadsConf
Use cases
Indoor location
– Beacons are placed throughout the building in such a way that
each location is covered by at least 3 beacons
– The mobile apps will look for nearby beacons, get beacon
locations from the cloud and calculate location locally
– Examples – any public venue with navigation apps: airports,
casinos, stadiums
Proximity
– Beacons are placed nearby exhibits or points of interest
– Mobile apps discover beacon context from the cloud and impart
interesting information
– Examples – museums, self-guided tours, door opening, forgot
keys
55
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
#AirheadsConf
iBeacon hunting with Android
56
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
#AirheadsConf
57
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
#AirheadsConf
Download Airheads Mobile
58
CONFIDENTIAL
© Copyright 2014. Aruba Networks, Inc.
All rights reserved
Thank You
#AirheadsConf

Weitere ähnliche Inhalte

Was ist angesagt?

The Aruba Tech Support Top 10: WLAN design, configuration and troubleshooting...
The Aruba Tech Support Top 10: WLAN design, configuration and troubleshooting...The Aruba Tech Support Top 10: WLAN design, configuration and troubleshooting...
The Aruba Tech Support Top 10: WLAN design, configuration and troubleshooting...Aruba, a Hewlett Packard Enterprise company
 
EMEA Airheads- Aruba IAP Webinar – How AirGroup service works in Aruba Instan...
EMEA Airheads- Aruba IAP Webinar – How AirGroup service works in Aruba Instan...EMEA Airheads- Aruba IAP Webinar – How AirGroup service works in Aruba Instan...
EMEA Airheads- Aruba IAP Webinar – How AirGroup service works in Aruba Instan...Aruba, a Hewlett Packard Enterprise company
 
3 aruba arm and cm
3 aruba arm and cm3 aruba arm and cm
3 aruba arm and cmVenudhanraj
 

Was ist angesagt? (20)

Optimizing Aruba WLANs for Roaming Devices
Optimizing Aruba WLANs for Roaming DevicesOptimizing Aruba WLANs for Roaming Devices
Optimizing Aruba WLANs for Roaming Devices
 
EMEA Airheads- Aruba Instant AP- VPN Troubleshooting
EMEA Airheads- Aruba Instant AP-  VPN TroubleshootingEMEA Airheads- Aruba Instant AP-  VPN Troubleshooting
EMEA Airheads- Aruba Instant AP- VPN Troubleshooting
 
Wireless LAN Design Fundamentals in the Campus
Wireless LAN Design Fundamentals in the CampusWireless LAN Design Fundamentals in the Campus
Wireless LAN Design Fundamentals in the Campus
 
EMEA Airheads- ArubaOS - Rogue AP troubleshooting
EMEA Airheads- ArubaOS - Rogue AP troubleshootingEMEA Airheads- ArubaOS - Rogue AP troubleshooting
EMEA Airheads- ArubaOS - Rogue AP troubleshooting
 
Best Practices on Migrating to 802.11ac Wi-Fi
Best Practices on Migrating to 802.11ac Wi-FiBest Practices on Migrating to 802.11ac Wi-Fi
Best Practices on Migrating to 802.11ac Wi-Fi
 
EMEA Airheads- Instant AP traffic optimization
EMEA Airheads- Instant AP traffic optimizationEMEA Airheads- Instant AP traffic optimization
EMEA Airheads- Instant AP traffic optimization
 
Airheads Tech Talks: Advanced Clustering in AOS 8.x
Airheads Tech Talks: Advanced Clustering in AOS 8.xAirheads Tech Talks: Advanced Clustering in AOS 8.x
Airheads Tech Talks: Advanced Clustering in AOS 8.x
 
Useful cli commands v1
Useful cli commands v1Useful cli commands v1
Useful cli commands v1
 
Managing and Optimizing RF Spectrum for Aruba WLANs
Managing and Optimizing RF Spectrum for Aruba WLANsManaging and Optimizing RF Spectrum for Aruba WLANs
Managing and Optimizing RF Spectrum for Aruba WLANs
 
EMEA Airheads- ArubaOS - Understanding Control-Plane-Security
EMEA Airheads-  ArubaOS - Understanding Control-Plane-SecurityEMEA Airheads-  ArubaOS - Understanding Control-Plane-Security
EMEA Airheads- ArubaOS - Understanding Control-Plane-Security
 
Best Practices on Migrating to 802.11ac Wi-Fi
Best Practices on Migrating to 802.11ac Wi-FiBest Practices on Migrating to 802.11ac Wi-Fi
Best Practices on Migrating to 802.11ac Wi-Fi
 
EMEA Airheads- Troubleshooting 802.1x issues
EMEA Airheads- Troubleshooting 802.1x issuesEMEA Airheads- Troubleshooting 802.1x issues
EMEA Airheads- Troubleshooting 802.1x issues
 
Airheads Tech Talks: Cloud Guest SSID on Aruba Central
Airheads Tech Talks: Cloud Guest SSID on Aruba CentralAirheads Tech Talks: Cloud Guest SSID on Aruba Central
Airheads Tech Talks: Cloud Guest SSID on Aruba Central
 
EMEA Airheads_ Aruba AppRF – AOS 6.x & 8.x
EMEA Airheads_ Aruba AppRF – AOS 6.x & 8.xEMEA Airheads_ Aruba AppRF – AOS 6.x & 8.x
EMEA Airheads_ Aruba AppRF – AOS 6.x & 8.x
 
Campus Redundancy Models
Campus Redundancy ModelsCampus Redundancy Models
Campus Redundancy Models
 
The Aruba Tech Support Top 10: WLAN design, configuration and troubleshooting...
The Aruba Tech Support Top 10: WLAN design, configuration and troubleshooting...The Aruba Tech Support Top 10: WLAN design, configuration and troubleshooting...
The Aruba Tech Support Top 10: WLAN design, configuration and troubleshooting...
 
Wi-fi and Radio Fundamentals, and 802.11ac Technology Deep Dive
Wi-fi and Radio Fundamentals, and 802.11ac Technology Deep DiveWi-fi and Radio Fundamentals, and 802.11ac Technology Deep Dive
Wi-fi and Radio Fundamentals, and 802.11ac Technology Deep Dive
 
Very High Density (vhd) 802.11ac Wireless Network Design and Deployment Basics
Very High Density (vhd) 802.11ac Wireless Network Design and Deployment BasicsVery High Density (vhd) 802.11ac Wireless Network Design and Deployment Basics
Very High Density (vhd) 802.11ac Wireless Network Design and Deployment Basics
 
EMEA Airheads- Aruba IAP Webinar – How AirGroup service works in Aruba Instan...
EMEA Airheads- Aruba IAP Webinar – How AirGroup service works in Aruba Instan...EMEA Airheads- Aruba IAP Webinar – How AirGroup service works in Aruba Instan...
EMEA Airheads- Aruba IAP Webinar – How AirGroup service works in Aruba Instan...
 
3 aruba arm and cm
3 aruba arm and cm3 aruba arm and cm
3 aruba arm and cm
 

Ähnlich wie Wi-Fi Behavior of Popular Mobile Devices #AirheadsConf Italy

Networking 101 part 2 for ai
Networking 101 part 2 for aiNetworking 101 part 2 for ai
Networking 101 part 2 for aiursus006
 
Breakout - Airheads Macau 2013 - Microsoft Lync, Unified Communications, Clou...
Breakout - Airheads Macau 2013 - Microsoft Lync, Unified Communications, Clou...Breakout - Airheads Macau 2013 - Microsoft Lync, Unified Communications, Clou...
Breakout - Airheads Macau 2013 - Microsoft Lync, Unified Communications, Clou...Aruba, a Hewlett Packard Enterprise company
 
IPv6 - A Real World Deployment for Mobiles
IPv6 - A Real World Deployment for MobilesIPv6 - A Real World Deployment for Mobiles
IPv6 - A Real World Deployment for MobilesAPNIC
 
8 software defined networking and traffic engineering partha narasimhan_ash c...
8 software defined networking and traffic engineering partha narasimhan_ash c...8 software defined networking and traffic engineering partha narasimhan_ash c...
8 software defined networking and traffic engineering partha narasimhan_ash c...Aruba, a Hewlett Packard Enterprise company
 

Ähnlich wie Wi-Fi Behavior of Popular Mobile Devices #AirheadsConf Italy (20)

Shanghai Breakout: Mobile Devices and Wi-Fi
Shanghai Breakout: Mobile Devices and Wi-FiShanghai Breakout: Mobile Devices and Wi-Fi
Shanghai Breakout: Mobile Devices and Wi-Fi
 
Mobile Devices and Wi-Fi
Mobile Devices and Wi-FiMobile Devices and Wi-Fi
Mobile Devices and Wi-Fi
 
1 voice and video over wi fi-balajee krishnamurthy
1 voice and video over wi fi-balajee krishnamurthy1 voice and video over wi fi-balajee krishnamurthy
1 voice and video over wi fi-balajee krishnamurthy
 
3 air wave practical workshop_mike bruno_matt sidhu
3 air wave practical workshop_mike bruno_matt sidhu3 air wave practical workshop_mike bruno_matt sidhu
3 air wave practical workshop_mike bruno_matt sidhu
 
Top 10 tips_aruba_tac_madison lee
Top 10 tips_aruba_tac_madison leeTop 10 tips_aruba_tac_madison lee
Top 10 tips_aruba_tac_madison lee
 
Breakout - Airheads Macau 2013 - WLAN Management & Troubleshooting with AirWave
Breakout - Airheads Macau 2013 - WLAN Management & Troubleshooting with AirWaveBreakout - Airheads Macau 2013 - WLAN Management & Troubleshooting with AirWave
Breakout - Airheads Macau 2013 - WLAN Management & Troubleshooting with AirWave
 
Breakout - Airheads Macau 2013 - WLAN Management & Troubleshooting with AirWave
Breakout - Airheads Macau 2013 - WLAN Management & Troubleshooting with AirWaveBreakout - Airheads Macau 2013 - WLAN Management & Troubleshooting with AirWave
Breakout - Airheads Macau 2013 - WLAN Management & Troubleshooting with AirWave
 
Designing for the all wireless office ash chowdappa-kelly griffin
Designing for the all wireless office ash chowdappa-kelly griffinDesigning for the all wireless office ash chowdappa-kelly griffin
Designing for the all wireless office ash chowdappa-kelly griffin
 
Networking 101 part 2 for ai
Networking 101 part 2 for aiNetworking 101 part 2 for ai
Networking 101 part 2 for ai
 
Breakout - Airheads Macau 2013 - Microsoft Lync, Unified Communications, Clou...
Breakout - Airheads Macau 2013 - Microsoft Lync, Unified Communications, Clou...Breakout - Airheads Macau 2013 - Microsoft Lync, Unified Communications, Clou...
Breakout - Airheads Macau 2013 - Microsoft Lync, Unified Communications, Clou...
 
Air waveupdate sujathamandava
Air waveupdate sujathamandavaAir waveupdate sujathamandava
Air waveupdate sujathamandava
 
11ac and client match for the awo ash chowdappa
11ac and client match for the awo ash chowdappa11ac and client match for the awo ash chowdappa
11ac and client match for the awo ash chowdappa
 
Airheads Macau 2013 - WLAN Management & Troubleshooting with AirWave
Airheads Macau 2013 - WLAN Management & Troubleshooting with AirWaveAirheads Macau 2013 - WLAN Management & Troubleshooting with AirWave
Airheads Macau 2013 - WLAN Management & Troubleshooting with AirWave
 
Remote Wireless LANs
Remote Wireless LANsRemote Wireless LANs
Remote Wireless LANs
 
2012 ah emea advanced mobility design
2012 ah emea   advanced mobility design2012 ah emea   advanced mobility design
2012 ah emea advanced mobility design
 
Instant overview gokul_rajagopalan
Instant overview gokul_rajagopalanInstant overview gokul_rajagopalan
Instant overview gokul_rajagopalan
 
IPv6 - A Real World Deployment for Mobiles
IPv6 - A Real World Deployment for MobilesIPv6 - A Real World Deployment for Mobiles
IPv6 - A Real World Deployment for Mobiles
 
Next generation remote networks aruba instant gokul rajagopalan
Next generation remote networks aruba instant gokul rajagopalanNext generation remote networks aruba instant gokul rajagopalan
Next generation remote networks aruba instant gokul rajagopalan
 
2012 ah apj wi fi design for voice & video
2012 ah apj   wi fi design for voice & video2012 ah apj   wi fi design for voice & video
2012 ah apj wi fi design for voice & video
 
8 software defined networking and traffic engineering partha narasimhan_ash c...
8 software defined networking and traffic engineering partha narasimhan_ash c...8 software defined networking and traffic engineering partha narasimhan_ash c...
8 software defined networking and traffic engineering partha narasimhan_ash c...
 

Mehr von Aruba, a Hewlett Packard Enterprise company

Mehr von Aruba, a Hewlett Packard Enterprise company (20)

Airheads Tech Talks: Understanding ClearPass OnGuard Agents
Airheads Tech Talks: Understanding ClearPass OnGuard AgentsAirheads Tech Talks: Understanding ClearPass OnGuard Agents
Airheads Tech Talks: Understanding ClearPass OnGuard Agents
 
EMEA Airheads_ Advance Aruba Central
EMEA Airheads_ Advance Aruba CentralEMEA Airheads_ Advance Aruba Central
EMEA Airheads_ Advance Aruba Central
 
EMEA Airheads- Switch stacking_ ArubaOS Switch
EMEA Airheads- Switch stacking_ ArubaOS SwitchEMEA Airheads- Switch stacking_ ArubaOS Switch
EMEA Airheads- Switch stacking_ ArubaOS Switch
 
EMEA Airheads- LACP and distributed LACP – ArubaOS Switch
EMEA Airheads- LACP and distributed LACP – ArubaOS SwitchEMEA Airheads- LACP and distributed LACP – ArubaOS Switch
EMEA Airheads- LACP and distributed LACP – ArubaOS Switch
 
Introduction to AirWave 10
Introduction to AirWave 10Introduction to AirWave 10
Introduction to AirWave 10
 
EMEA Airheads- Virtual Switching Framework- Aruba OS Switch
EMEA Airheads- Virtual Switching Framework- Aruba OS SwitchEMEA Airheads- Virtual Switching Framework- Aruba OS Switch
EMEA Airheads- Virtual Switching Framework- Aruba OS Switch
 
EMEA Airheads- Aruba Central with Instant AP
EMEA Airheads- Aruba Central with Instant APEMEA Airheads- Aruba Central with Instant AP
EMEA Airheads- Aruba Central with Instant AP
 
EMEA Airheads- AirGroup profiling changes across 8.1 & 8.2 – ArubaOS 8.x
EMEA Airheads- AirGroup profiling changes across 8.1 & 8.2 – ArubaOS 8.xEMEA Airheads- AirGroup profiling changes across 8.1 & 8.2 – ArubaOS 8.x
EMEA Airheads- AirGroup profiling changes across 8.1 & 8.2 – ArubaOS 8.x
 
EMEA Airheads- Getting Started with the ClearPass REST API – CPPM
EMEA Airheads-  Getting Started with the ClearPass REST API – CPPMEMEA Airheads-  Getting Started with the ClearPass REST API – CPPM
EMEA Airheads- Getting Started with the ClearPass REST API – CPPM
 
EMEA Airheads - AP Discovery Logic and AP Deployment
EMEA Airheads - AP Discovery Logic and AP DeploymentEMEA Airheads - AP Discovery Logic and AP Deployment
EMEA Airheads - AP Discovery Logic and AP Deployment
 
EMEA Airheads- Layer-3 Redundancy for Mobility Master - ArubaOS 8.x
EMEA Airheads- Layer-3 Redundancy for Mobility Master - ArubaOS 8.xEMEA Airheads- Layer-3 Redundancy for Mobility Master - ArubaOS 8.x
EMEA Airheads- Layer-3 Redundancy for Mobility Master - ArubaOS 8.x
 
EMEA Airheads- Manage Devices at Branch Office (BOC)
EMEA Airheads- Manage Devices at Branch Office (BOC)EMEA Airheads- Manage Devices at Branch Office (BOC)
EMEA Airheads- Manage Devices at Branch Office (BOC)
 
EMEA Airheads - What does AirMatch do differently?v2
 EMEA Airheads - What does AirMatch do differently?v2 EMEA Airheads - What does AirMatch do differently?v2
EMEA Airheads - What does AirMatch do differently?v2
 
Airheads Meetups: 8400 Presentation
Airheads Meetups: 8400 PresentationAirheads Meetups: 8400 Presentation
Airheads Meetups: 8400 Presentation
 
Airheads Meetups: Ekahau Presentation
Airheads Meetups: Ekahau PresentationAirheads Meetups: Ekahau Presentation
Airheads Meetups: Ekahau Presentation
 
Airheads Meetups- Avans Hogeschool goes Aruba
Airheads Meetups- Avans Hogeschool goes ArubaAirheads Meetups- Avans Hogeschool goes Aruba
Airheads Meetups- Avans Hogeschool goes Aruba
 
EMEA Airheads - Configuring different APIs in Aruba 8.x
EMEA Airheads - Configuring different APIs  in Aruba 8.x EMEA Airheads - Configuring different APIs  in Aruba 8.x
EMEA Airheads - Configuring different APIs in Aruba 8.x
 
EMEA Airheads - Aruba Remote Access Point (RAP) Troubleshooting
EMEA Airheads - Aruba Remote Access Point (RAP) TroubleshootingEMEA Airheads - Aruba Remote Access Point (RAP) Troubleshooting
EMEA Airheads - Aruba Remote Access Point (RAP) Troubleshooting
 
EMEA Airheads - Multi zone ap and centralized image upgrade
EMEA Airheads - Multi zone ap and centralized image upgradeEMEA Airheads - Multi zone ap and centralized image upgrade
EMEA Airheads - Multi zone ap and centralized image upgrade
 
Bringing up Aruba Mobility Master, Managed Device & Access Point
Bringing up Aruba Mobility Master, Managed Device & Access PointBringing up Aruba Mobility Master, Managed Device & Access Point
Bringing up Aruba Mobility Master, Managed Device & Access Point
 

Kürzlich hochgeladen

Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 

Kürzlich hochgeladen (20)

Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 

Wi-Fi Behavior of Popular Mobile Devices #AirheadsConf Italy

  • 1. Mobile Devices and Wi-Fi Peter Thornycroft June 2014
  • 2. CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved 2 #AirheadsConf Agenda The commercial value chain Consumer device reference models Battery life QoS Location 5GHz and DFS channels Authentication & Passpoint Handover behavior Bluetooth Low Energy
  • 3. 3 CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved #AirheadsConf Commercial models • What we see: – The chain leads to the cellular operator and consumer • What we want to see: – Some recognition for the enterprise user Consumers (your typical Gen-Y) who don’t care too much about Wi-Fi performance at work Chip vendor incorporates driver, is really responsible for Wi-Fi functionality, selling to … Phone / device vendor who has cost constraints, won’t waste time on features not of interest to its biggest customers who are… Cellular Operators, for whom Wi-Fi is a minority interest in the first place and anyway sell to … Mobile OS vendor does some influencing
  • 4. 4 CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved #AirheadsConf WLANs differ from home APs Home AP reference model A single AP, not doing much of interest WLAN reference model Many, APs with same SSID and coordinated, seamless handover (no DHCP, common authentication etc.) - No point in looking for other APs because there (usually) aren’t any - Established (~correct) behavior is to hang onto the AP until the signal is very weak, then switch to cellular data if available - There is always a ‘better’AP - But the device needs to scan (or use neighbor report) to be aware of the ‘better’AP. Benefits of good WLAN client behavior… - Devices get higher rates - Other devices get more airtime, better network capacity - Less time on the air - better battery life - Less mutual (co-channel) interference Same effects are seen in public places, hot zones – ‘always best connected’ activity in Hotspot 2.0 ph3 groups.
  • 5. 5 CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved #AirheadsConf Network reference models • What we see: – One dual-band home AP – “give me battery life, and keep me connected” • What we want to see: – Option for multiple-AP WLAN The current model is the single-AP home network. In this framework, the best thing is to hold onto your AP until the signal is too weak to work, then hope you can switch to cellular data. Probe requests are a waste of battery life because there’s only one AP. We want to see either a dual-model or a more flexible architecture. Maybe sense that there are other APs in the same system (spot the neighbor report?) and flip to a multi-AP algorithm. Under a multiple-AP network, there is always a really-good signal (except at the edge). It’s just a question of probing more often to find the better APs. But it’s difficult to move device, OS and chip vendors away from their well-established model. They are wary of breaking what has taken several years to ‘perfect’. We’ll also see that consumer APs still don’t offer the advanced features we incorporated some years ago.
  • 6. 6 CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved #AirheadsConf Power Save Modes sleeping time beaconDTIM Traffic for you give sleeping WMM-PS beaconDTIM pkt Traditional Power-Save U-APSD (WMM-PS) pkt pkt pkt pkt pkt pkt pkt pkt pkt pkt buffered time DTIM
  • 7. 7 CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved #AirheadsConf Battery life • What we see: – Minimum possible probing • What we want to see: – More probe requests in WLAN – Using 11k reports – U-APSD within a beacon interval Mobile devices are usually unaware of better AP signals because they don’t probe enough. They don’t probe enough because of an over-zealous focus on battery life, and a model that has only one AP. Sometimes when a device has an ‘acceptable’ signal it stops probing altogether. Later, when it starts to move, it may not re- enable probing until too late to maintain the connection. In fact, Wi-Fi accounts for less battery consumption than the cellular subsystem, and far less than the display or CPU processing app tasks and GPU. So our focus is on showing device vendors they can ‘go passive’… only using the 802.11 radio in receive mode. ‘WFA Voice-Enterprise light’, or a collection of features that enable the device to be multi-AP-aware without reducing battery life.
  • 8. 8 CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved #AirheadsConf The mystery of missing smartphone QoS Android App Code (QoS – unaware coder) Driver & microcode Multi-level QoS priority API (that’s OK) Parrots the driver API (that’s not OK) Can’t spell QoS anyway so it’s inconsequential Wi-Fi air interface • QoS priority (~WMM)is there if app developers want to use it • But… it’s not documented And anyway… app developers are not QoS-aware – Socket.setTrafficClass(int value) IPTos • The OS has a hard time figuring out the QoS Pri required by each app… • Thus WMM priority is seldom used in mobile device apps Same observations apply to WMM-PS (U-APSD) for intra-beacon power save.
  • 9. 9 CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved #AirheadsConf QoS • What we see: – WMM functionality exists in mobile device OS – But APIs are arcane – No documentation or promotion • What we want to see: – Better API support – Developer guidelines WMM QoS is enabled through the OS to the chip/driver. But to invoke a high-priority connection, the app developer must add some parameters to the commands that open sockets . App developers are unaware of the need to apply Wi-Fi QoS, and/or are not informed of the required APIs, and/or are not technically capable of understanding that aspect of app programming. This includes developers of voice and video apps including those in vertically-integrated companies.
  • 10. 10 CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved #AirheadsConf Location (distance) enhancements RTT “Round-Trip-Time” A standard (actually two standards and several proprietary variants) “802.11k” Location Track Notification, Modified (to finer timestamps) in “802.11mc” Fine Timing Measurements Distance Calculations Measure with me! Now here are my times t1, t4 OK, here t1 t3 t4 t2 Challenges: - Need to combine/average several frames to get a good reading. - Averaging many frames affects battery life, network capacity Challenges: - Measuring to nanoseconds (speed of light: 1 ft per nsec) - Setting up circuitry to timestamp the right frame - Calibration for time frame leaves (arrives) at the antenna Once all four timestamps are in one place, subtraction and /2 gives time- of-flight and multiply-by-speed-of- light gives distance Got it Implementation In mobile device Wi-Fi chips late 2014 In access points 2015 (early implementation 2014) No Wi-Fi Alliance certification >> may cause interoperability teething troubles Accuracy should be 1 – 5 metres, depending on the number of frames averaged & underlying hardware Most useful in line-of-sight, but better accuracy at longer distances than RSSI Many variations possible with WLAN topologies d = ((t4 – t1) – (t3 – t2)) * c / 2
  • 11. 11 CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved #AirheadsConf Location • What we see: – RSSI reports • What we want to see: – RTT support – Raw data for RTT, RSSI Location and location-based-services have attracted the attention of many commercial and technical principals across the industry. Current development is focused on time-based distance (mostly Round-Trip-Time) measurements: - 802.11mc Fine Timing Measurement - Wi-Fi Alliance Wireless Network Management ++ - In-Location Alliance Look for RTT announcements and features over the next 12 months. There is a significant danger that this location technology reverts to proprietary, closed islands rather than developing along open, standard APIs. For example: - Will raw data be available via OS API calls, or mysteriously processed within the chip/driver or OS itself? - Will devices built on different chip families interoperate for RTT location?
  • 12. 12 CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved #AirheadsConf DFS channels – useful at last! How many radar triggers? frequency insallations 0 / year 5 / hour Usually none, but in some places > comfortable Devices supporting DFS Apple > 2 years Intel > 2 years Samsung > 1 year Others getting there Most WLANs A few Special concerns No active client scanning in DFS bands because they don’t passive- scan for radar - slow AP acquisition - fixed (eventually) by neighbor report 5GHz Channel count 13 20MHz channels, no DFS 22 20MHz channels including DFS Channel strategy Dot them around? Use the spectrum!
  • 13. 13 CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved #AirheadsConf 5GHz band • What we see: – Beginning to favor 5GHz over 2.4 – Spreading DFS support • What we want to see: – Overweight 5GHz bias – 100% DFS support About 18 months ago Apple supposedly reversed from unconditionally preferring 2.4GHz to favoring 5GHz. Unfortunately the battery-saving imperative (see earlier) means that when a device has an acceptable signal from its AP, it will stop scanning for a better one. Especially scanning in other bands. This can cause difficulties when the WLAN seeks to move a device to a different band: it may refuse to scan the alternate band. DFS support is improving, now available on all Apple devices (since iPhone 4S) and many Android (since early 2013: e.g. Samsung Note, Galaxy S4). We believe this is a good time to start deploying DFS channels.
  • 14. 14 CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved #AirheadsConf Passpoint Identify a hotspot with Internet reachability and friendly authentication Pre-association discovery What have you got? T-Mobile BT Comcast Orange… - Pre-association - New GAS/ANQP protocol - Lists service providers - Acceptable authentication Authenticate to home SP T-Mobile BTOrange Accuris Aicent BSG… Hub (settlement) RADIUS e.g. DIAMETER WPA2 Options - EAP-TLS - EAP-TTLS - EAP-SIM - EAP-AKA(‘) Make a list of available options, decide which to use Prioritise account options T-Mobile home (have SIM) BT visiting (have pwd) Orange visiting (have pwd) Comcast visiting (have cert) Home AP (not Passpoint) Local (not Passpoint) hotspot SPs, phone designers all want a say - Distinction between ‘home’ and ‘visiting’ hotspot - May have different tariffs - Policy for time-of-day, location… ANDSF is a cellular protocol that can pass policy to the device to help it make offload decisions. Passpoint phase 2 introduces se mi-automatic online sign-up and policy services. T-Mobile SIM
  • 15. 15 CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved #AirheadsConf Authentication • What we see: – Beginning to support HS2.0 (Passpoint) • What we want to see: – Passpoint with EAP-SIM everywhere – SPs supporting Passpoint Passpoint (Hotspot 2.0, from 802.11u) was released as a WFA certification in June 2012. For the following 12 months, while SP and enterprise WLAN equipment supported Passpoint, you could not purchase a commercial device that was compliant. That has changed in the last 6 months (iOS7, Samsung Galaxy S4). Now, we realize that no SP has deployed a network with standard HS2.0 support. Why not? - Actually, NTT has… - AT&T stayed proprietary - Cellular operators (see commercial chain above) have no incentive to allow others (MSOs) to steal their customers - The enterprise WLAN vendors are waiting for wider availability But it’s time! Public facing vendors should take AOS 6.4, contact a hub vendor, fire it up and advertise support.
  • 16. 16 CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved #AirheadsConf Current handover narrative A Good signal, this is dandy! Time / distance 0 sec Signal Strength
  • 17. 17 CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved #AirheadsConf Current handover narrative A Good signal, this is dandy! OMG, the signal is getting really low! Time / distance 0 sec ~30 sec Signal Strength
  • 18. 18 CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved #AirheadsConf Current handover narrative A Good signal, this is dandy! OMG, the signal is getting really low! SOS, sending 10 probe requests on 3 channels Time / distance 0 sec ~30 sec 35 sec 38 sec Signal Strength
  • 19. 19 CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved #AirheadsConf Current handover narrative A B C D E Good signal, this is dandy! OMG, the signal is getting really low! SOS, sending 10 probe requests on 3 channels Wowza, responses from 20 APs, how to choose? Time / distance 0 sec ~30 sec 35 sec 38 sec Signal Strength
  • 20. 20 CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved #AirheadsConf Current handover narrative A B C D E Good signal, this is dandy! OMG, the signal is getting really low! SOS, sending 10 probe requests on 3 channels Wowza, responses from 20 APs, how to choose? Let’s reauthenticate with this one! Time / distance 0 sec ~30 sec 35 sec 38 sec 40 sec reauthentication request 40.2 sec reauthenticated Signal Strength
  • 21. 21 CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved #AirheadsConf ‘Good’ handovers captured
  • 22. 22 CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved #AirheadsConf Sticky smartphone
  • 23. 23 CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved #AirheadsConf Typical smartphone
  • 24. 24 CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved #AirheadsConf Aruba Utilities on Nexus 7
  • 25. 25 CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved #AirheadsConf 802.11 k, v, r • Many features, most important are: • Neighbor report from AP to client (802.11k) • Channel report from AP to client (802.11k) • Beacon report from client to AP (802.11k) • BSS Transition Management from AP to client (802.11v) • Fast Transition by client (802.11r) • (All rolled up in 802.11-2012, 2014)
  • 26. 26 CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved #AirheadsConf 802.11r fast BSS transition C D R0 key C 802.1X authenticator R0 key S0 key S1 key PTK Initial Authentication establishes level 0 key WLAN distributes level 1 keys R1 key C D On reassociation, client presents level 1 key to new AP R1 key PTK S0 key S1 key PTK Mobility domain: A group of APs covered by a level 0 keyholder Over-the-air reassociation widely adopted, over-the-DS reassociation (via the current AP) not used Key suite includes: Level 0 key (derived at initial authentication, never exposed OTA) Level 1 key (per-AP keys) used to derive… Pairwise temporal keys (to encrypt communication) PTK R1 key Differences between FT and OKC? … Not much keyscope keyscope
  • 27. 27 CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved #AirheadsConf 802.11k, v, r features B C D E Neighbor report AP chan secy key beacon scope offset B 6 WPA2 0 45 D 52 WPA2 0 12 E 161 WPA2 0 74 Information about other APs to help with handover candidate discovery C Beacon report Client reports how it hears (RSSI) the beacons of other APs BSSID RSSI AP B -65 AP D -72 AP E -65 C BSS Transition Management AP instructs client to move to another AP Move to AP D… E DB D C Channel report AP informs client of channels used by the WLAN Channel 6 52 161 Overlaps with neighbor report
  • 28. 28 CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved #AirheadsConf 802.11k Neighbor report • Advertised by AP in the beacon (for all clients, non- associated) and sent solicited per-client • List of ‘neighbor’ APs with same SSID includes: – BSSID – Channel – Beacon time offset – PHY type – QoS capability – ‘Key scope’ for common authenticator • 802.11 does not require neighbor list to be cropped or ordered or modified per-client (but infrastructure may do so) • Eliminates the need for active probe request-response scanning
  • 29. 29 CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved #AirheadsConf The evils of active scanning • Takes time – Need to probe on each selected channel in turn, wait ‘reasonable’ interval for responses – Need to return to current channel for beacon (DTIM) • Inaccurate results – RSSI of a single probe response varies ~ +/- 6dB from ‘average’ – Some APs will miss probe requests, or responses are lost – If the device returns to current channel after ~15msec, sometimes misses responses • Consumes power – Typical pattern is to send 2 probe requests per channel, stay awake ~15–20msec – Each probe request generates ~6 probe responses in a ‘typical’ WLAN – Each probe response needs an ack • Consumes airtime, affecting others’ performance – Frames are sent at low rates, probe responses are retried
  • 30. 30 CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved #AirheadsConf Better handover performance with ‘11k’ Current handover sequence: 1. Figure out it’s time to scan 2. Figure out channels to scan 3. Send probe requests, get responses 4. Identify best AP 5. Reauthenticate to new AP 802.11k handover sequence: 1. Periodically request neighbor report 2. Passive scan for neighbor beacons 3. Note if a neighbor AP is ‘better’ 4. Reauthenticate to new AP Probe requests & responses Signal strength Time, distance Signal strength Time, distance Behavior c 1999 Behavior c 2013 Signal strength Time, distance Neighbor reports & passive scanning Behavior c 2014 ?
  • 31. 31 CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved #AirheadsConf Signal Strength Proper ‘11k’ handover narrative A Good signal, this is dandy! Time / distance 0 sec
  • 32. 32 CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved #AirheadsConf B C D Signal Strength Proper ‘11k’ handover narrative A B C D E Good signal, this is dandy! Check neighbor report every ~10sec Identify ‘best’ AP and check for beacon (passive scan) Time / distance 0 sec ~10 sec 20 sec 30 secB C C D
  • 33. 33 CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved #AirheadsConf Signal Strength Proper ‘11k’ handover narrative A B C D E Good signal, this is dandy! Check neighbor report every ~10sec Identify ‘best’ AP and check for beacon (passive scan) Signal is low, but I have already identified the best AP Time / distance 0 sec ~10 sec 20 sec 30 secB C B C D C D
  • 34. 34 CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved #AirheadsConf B C B C D C D D C Signal Strength Proper ‘11k’ handover narrative A B C D E Good signal, this is dandy! Check neighbor report every ~10sec Identify ‘best’ AP and check for beacon (passive scan) Signal is low, but I have already identified the best AP Reauthenticate Time / distance 0 sec ~10 sec 20 sec 30 sec 30 sec reauthentication request 30.2 sec reauthenticated
  • 35. 35 CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved #AirheadsConf Client Match Client Match forms a virtual Beacon Report: 1. APs measure RSSI from client 2. APs receive beacon reports from the client 3. Estimate the ‘best’AP 4. If client is _far_ from ‘best’AP… 5. Redirect (force handover) to ‘best’ AP B C D E A track -50 -60 -70 -80 AB E Signal strength distance
  • 36. 36 CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved #AirheadsConf Galaxy Nexus with AU app
  • 37. 37 CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved #AirheadsConf Nexus7 with AU app
  • 38. 38 CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved #AirheadsConf Samsung GS4 with AU app
  • 39. 39 CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved #AirheadsConf All together Galaxy Nexus Nexus 7 Galaxy S4
  • 40. 40 CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved #AirheadsConf Again… Galaxy Nexus Galaxy S4 Nexus 7
  • 41. 41 CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved #AirheadsConf If 11k, why Client Match ? • ‘11k’ makes information available to the client – Neighboring APs, channels, beacon offsets… • ‘11k’ cannot confirm that the client receives information or how it prioritises the information – Neighbor report information may not be used • Transmitting (or receiving) ‘11k’ does not guarantee that the client will act on the information – Handover decisions may not be improved • Client Match uses information from the infrastructure and the client (if supports beacon reports) – The infra knows more about the client’s situation than the client does • Client Match completes the task by forcing a handover
  • 42. 42 CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved #AirheadsConf Handover • What we see: – Not much • What we want to see: – More probe requests when in WLAN – Or… use passive 11k reports – Reauthenticate with 802.11r or OKC Most people think inter-AP handovers take ~1second. In fact, inter-AP handovers take 30msec, or 250msec, or 7sec depending on the syndrome. 7sec outages occur when a device (not probing) does not realize until too late that the signal from its serving AP is dropping fast. By the time it starts to probe, it has lost the AP and has to go into cold-start mode. More frequent probes (or using passive measures as above) would eliminate 7 sec outages. Full WPA2 MSCHAPv2 re-authentication takes 200-250msec to exchange ~50 frames (including acks). This is a stable figure in the absence of very weak signals due to poor choice of target AP (mobile devices usually make good AP choices when aware of their environment through probing). This outage will be barely noticeable to the user. But faster re-authentication is possible, through old-school OKC (from 802.11i) or 802.11r (now available on iPad). … The ‘bad’ handover syndrome can be solved if the mobile device is more aware of its surroundings (neighbor report) or responds to BSS transition management frames (directed handover from the AP).
  • 43. 43 CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved #AirheadsConf Aruba Utilities shows behaviour • What we see: – Frequent long outages around handover events • What we want to see: – More awareness of environment – Faster reaction to losing signal Aruba Utilities shows very graphically what goes on when a mobile device moves around an enterprise WLAN.
  • 44. CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved 44 #AirheadsConf Agenda Bluetooth Low Energy - location
  • 45. 45 CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved #AirheadsConf iBeacon deployment model for navigation UUID: Aruba Major: 1000 Minor: 501 UUID: Aruba Major: 1000 Minor: 502 UUID: Aruba Major: 1000 Minor: 509 UUID: Aruba Major: 1000 Minor: 503 -66 -68 -76 -82
  • 46. 46 CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved #AirheadsConf Bluetooth Low Energy overview • BLE is also known as Bluetooth Smart, Bluetooth 4.0 • Evolution of the existing Bluetooth standard (2010) • Focus on ultra-low power consumption (battery powered devices) • Differences – Efficient discovery / connection mechanism – Very short packets – Asymmetric design for peripherals – Client server architecture – Fixed advertising channels designed around WiFi channels – Not compatible with older Bluetooth • Most new devices support both ‘classic’ Bluetooth and BLE (“Bluetooth Smart Ready”) – iPhone 4S+, current (2013) iPad, Samsung Galaxy S4+, Nexus 7+
  • 47. 47 CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved #AirheadsConf Bluetooth Low Energy overview • BLE is also known as Bluetooth Smart, Bluetooth 4.0 • Evolution of the existing Bluetooth standard (2010) • Focus on ultra-low power consumption (battery powered devices) • Differences – Efficient discovery / connection mechanism – Very short packets – Asymmetric design for peripherals – Client server architecture – Fixed advertising channels designed around WiFi channels – Not compatible with older Bluetooth • Most new devices support both ‘classic’ Bluetooth and BLE (“Bluetooth Smart Ready”) – iPhone 4S+, current (2013) iPad, Samsung Galaxy S4+, Nexus 7+
  • 48. 48 CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved #AirheadsConf Bluetooth Low Energy & iBeacon • Bluetooth – Very low-power consumption: years of life from a button cell – Advertises… ‘beacons’ – Allows scanning for ‘peripherals’ – Allows ‘central’ devices to discover ‘peripherals’ – Two-way communication channel to read/write values • iBeacon – A subset of BLE, just the ‘advertising’ function with special fields – Allows a background app to be alerted on proximity – No explicit location information in an iBeacon, just a reference ID
  • 49. 49 CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved #AirheadsConf Spectrum for iBeacons & BLE 6 11 2412 2437 246224222402 2427 2447 2452 2472 1 2400 2483.5 Ch 37 (2402 MHz) Ch 38 (2426MHz) Ch 39 (2480MHz) Wi-Fi Bluetooth Low Energy Advertisement (iBeacon) 2 MHz channels Gaussian Frequency Shift Keying 0.5 modulation index 1 Msymbol/second rate 1 Mbps data rate ~250 kbps application throughput (in connection mode) Advertisements are one-way transmissions An advertisement can be sent on any/all of the 3 designated channels Advertisements are repeated every 20 – 10000 msec (500msec typ) Tx power ~ 0 dBm ( ~ 2 year battery life typ) Apple specifications for iBeacons are more constrained (but not widely followed)
  • 50. 50 CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved #AirheadsConf BLE Advertisement and iBeacon Preamble 1 Advertiser 4 PDU 2 - 39 CRC 3 MAC address 6 Header 2 Data 1 - 31 iBeacon Prefix 9 Proximity UUID 16 Major 2 8E89BED6 0201061AFF4C000215 Minor 2 size, type.. e.g. 112233445566 e.g. 4152554e-f99b-86d0-947070693a78 e.g. 4159 e.g. 27341 BLE Advertisement Frame BLE Advertisement Payload iBeacon Data Measured Tx Pwr 2 e.g. -59 iBeacon information RSSI Measured by receiver MAC From BLE header Proximity UUID (can be) company reference Major, Minor Integer values identifying the tag and/or zone Measured Tx Pwr Calibrated power at 1m from the iBeacon (dBm)
  • 51. 51 CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved #AirheadsConf RSSI vs distance (iBeacon) -100 -95 -90 -85 -80 -75 -70 -65 -60 -55 -50 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 iBeacon RSSI (dBm) vs distance (m), line of sight GS4 with iBeacon 100 GS4 with iBeacon 101 Nexus 7 with iBeacon 100 Nexus 7 with iBeacon 101 iBeacon Tx power 0dBm ‘measured power’ -61dBm @ 1 m
  • 52. 52 CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved #AirheadsConf RSSI vs distance (iBeacon) -90 -85 -80 -75 -70 -65 -60 -55 -50 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 iBeacon RSSI (dBm) vs distance (m), line of sight (RSSI averaged over 5 readings) GS4 with iBeacon 100 GS4 with iBeacon 101 Nexus 7 with iBeacon 100 Nexus 7 with iBeacon 101 grand average
  • 53. 53 CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved #AirheadsConf Why iBeacons matter on iDevices • The iOS app lifecycle puts an app on ice when not in foreground. How to wake up on proximity to a particular location? – iOS maintains BLE in always-listening mode – If the app registers for a UUID, iOS will awaken it when that UUID is seen – Event is a ‘region entry/exit’ – iBeacon background detection can take minutes • Even in foreground, iOS will only return data on known, specified UUIDs – ‘Ranging mode’ in foreground gives RSSI every ~ 1 second • Android makes for a much more flexible iBeacon hunter iOS Mobile App BLE radio BLE air interface Register for < 20 UUIDs Continuously scanning for iBeacons Woken from background when UUID heard Database of UUID- Major-Minor to locations (part of the app server)
  • 54. 54 CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved #AirheadsConf Use cases Indoor location – Beacons are placed throughout the building in such a way that each location is covered by at least 3 beacons – The mobile apps will look for nearby beacons, get beacon locations from the cloud and calculate location locally – Examples – any public venue with navigation apps: airports, casinos, stadiums Proximity – Beacons are placed nearby exhibits or points of interest – Mobile apps discover beacon context from the cloud and impart interesting information – Examples – museums, self-guided tours, door opening, forgot keys
  • 55. 55 CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved #AirheadsConf iBeacon hunting with Android
  • 56. 56 CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved #AirheadsConf
  • 57. 57 CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved #AirheadsConf Download Airheads Mobile
  • 58. 58 CONFIDENTIAL © Copyright 2014. Aruba Networks, Inc. All rights reserved Thank You #AirheadsConf

Hinweis der Redaktion

  1. 30:24 – 32:44
  2. 30:24 – 32:44
  3. 30:24 – 32:44
  4. 30:24 – 32:44