GPRS to LTE Reselection During Data Transfers – Part 2

In a comment to a previous blog post on new mobiles now supporting GPRS to LTE Reselection during ongoing data transfers there was a comment that this was a network and not a device feature. The answer to this is quite interesting so I decided to make a post out of the response rather than just post an answer in the comments section.

It's in the nature of 3GPP to have several options for a feature and this one is no exception. Reselection from GPRS to LTE during data transfer is optional, it can be implemented as a device only feature or the device can signal to the network that it is capable to make LTE measurements during an ongoing GPRS data transfer and let the network decide what to do. Which of these options are supported are sent to the network during the GPRS attach process: 

Message:  ATTACH REQUEST
Information Element: GERAN to E-UTRA support in GERAN packet transfer mode

Possible Values:

  • 0 0 (0): None
  • 0 1 (1): E-UTRAN Neighbour Cell measurements and MS autonomous cell reselection to E-UTRAN supported
  • 1 0 (2): CCN towards E-UTRAN, E-UTRAN Neighbour Cell measurement reporting and Network controlled cell reselection to E-UTRAN supported in addition to capabilities indicated by '01'
  • 1 1 (3): PS Handover to E-UTRAN supported in addition to capabilities indicated by '01' and '10'

I've checked a number of recent mobiles and all of them either don't support the feature at all or support the autonomous cell reselection option without involvement of the network (like it is the case for GSM to UMTS reselection today as well).

That doesn't mean there are no networks and mobiles that support a network variant but I wonder if network operators are really interested in the feature when the autonomous variant works quite well!?

For details see 3GPP TS 24.008, Table 10.5.146 and search for "GERAN to E-UTRA support in GERAN packet transfer mode".

SSD Endurance – Theory and Practice

Two years ago I estimated that my SSD would last around 30 years based on the number of re-write cycles and the theory laid out in an epic Anandtech article on the topic. That was the theory. Now we have real numbers based on a practical endurance test of several SSD drives made by TechReport.

According to the report, the Samsung SSD could take at least 100 TB before even first hints of wear could be detected. It still kept working for twice the amount of data written to it before it eventually stopped working. So based the 5 GB of data that I write to my SSD per day (have a look at the first link above of how I get to this value) my SSD would last me for 54 years based on the 100 TB value.

I should mention though, perhaps, that I already replaced the first SSD I bought after about a year and a half because it was full and I had to upgrade to a 1 TB model… 30 years, 54 years, it's all a bit academical with the amount of data I keep accumulating resulting in drive swaps to increase capacity…

3GPP’s Odyssey to 5G Has Begun

A couple of days ago, 3GPP has published a tentative timeline for their upcoming 5G technology standardization activities in the coming years. In other words, the first steps are now made from a "what could 5G be" to "what will 5G be".

The 3GPP timeline set for 5G pretty much starts today with the SA1 SMARTER Study item and extends well into 2020:

  • Today: SA1 SMARTER Study Item
  • September/December 2015: Radio Channel Modeling and kick-off of a RAN Study item on scope and requirements.
  • Feburary 2016: RAN Study Item to evaluate potential solutions
  • 2018: A RAN Work Item to specify the solutions agreed on that will extend into at least 2020.
  • LTE will continue to evolve over the timeframe as well as it is seen as an integral part of an overall 5G network architecture.

The first step to get from "what could it be" to "what will it be" might actually be the most difficult one as the ideas about what "5G could be" currently imply a fundamental conceptual change both in terms of technology and who does what in the value chain. I've taken a look at a couple of 5G whitepapers and will post a summary of my thoughts in an upcoming blog post.

No matter how this turns out in the next 5 years it's going to be an interesting Odyssey with lots of surprises along the way!

LTE Internet Access in the US For Travelers – With A Local SIM

Just around this time last year I wrote about 3G Roaming in the US with a Local SIM card that could be ordered from abroad before starting the trip. While it worked well, the main drawbacks were finding a mobile that would work on US frequency bands and the 'limitation' to UMTS. Also, the network kept dropping my VPN connection at random intervals. A year later, networks and offers have significantly advanced.

This time, I bought a T-Mobile US Prepaid SIM for Internet connectivity after arrival that would not only let me use their UMTS but also their LTE network. The cost for the SIM card was $15 and options that can be selected online range from $5 per day for 500 MB over $30 for 3GB for 30 days to $50 for 7 GB for 30 days. Not cheap but 'business traveler' affordable. Also, the SIM card is kept active for up to 365 days which is great if some time passes between trips to the US.

Speed wise I could easily reach data rates of 10-15 Mbit/s in downlink and 8 Mbit/s in uplink while my tethering device was camped on LTE band 4 (1700/2100 MHz) on a 10 MHz carrier at the hotel I stayed in Kansas City. I also noticed that another 5 MHz LTE carrier was on-air on band 2 (1900 MHz PCS). Reliability wise the network has also made a great step forward as I didn't notice a single VPN drop over the days.

Another thing that has significantly improved since last year is the availability of mobile devices sold in the EU that support some of the US LTE frequency bands. The iPhone supports a phenomenal 20 LTE bands and other devices, e.g. some from Sony, include support for LTE band 4 that is used by T-Mobile US and others. Here's an example from their German web presence. So if you travel to the US it's worth finding out which LTE bands are supported before you buy it.

All in all, the SIM has served me well and offers like this are another step in the right direction towards global affordable and fast Internet access.

How to Counter Hotel WiFi Deassociation Attacks

Recently the FCC made it crystal clear that Deassociation Attacks by hotel Wi-Fi installations to force their 'guests' using the hotel's Wi-Fi instead of tethering their equipment to their smartphones and tablets is illegal. That only applies to the US, of course, and despite it being a very effective move to aggravate customers it doesn't mean nobody else will be trying to use it in the future. But it turns out, there's an effective countermeasure against this, at least in the foreseeable future.

The attack vector used by such Wi-Fi installations is to send De-association management frames to devices connected to a hotspot other than that of a local venue. Unlike data frames which are encrypted and thus can't be forged, Wi-Fi management frames are sent in the clear and can thus be sent by anyone. To mitigate rogue de-associations and other attack vectors the 802.11w amendment to the Wi-Fi standard describes a way to also protect management frames which effectively counters such attacks.

There are many amendments to the Wi-Fi standards that have never been implemented and for a long time it looked like this was yet another one. But since July 2014 the Wi-Fi Association requires implementation of the protected management frames amendment in its Wi-Fi certification scheme when a device supports 802.11ac, the latest super high speed transmission mode as reported here, here and here. That's good news as this certification is required for the Wi-Fi logo on the sales packaging and as a precondition by many companies (such as mobile network operators) to sell a Wi-Fi capable device. Also, a growing number of access points and devices such as notebooks, smartphones and tablets support 802.11ac today and even more will do so in the future.

PmfI ran a quick trace of all access points in the neighborhood but didn't find any indication of the feature being supported in their beacon frames. As described here in detail and shown in the screenshot on the left there are two bits towards the end of the beacon frame that indicate to devices whether PMF (protected management frames) are supported or not. These indicator bits are also sent by devices during connection establishment so it's easy to find out if a device supports PMF. One source claimed that the Samsung S5 already supported it but when I traced the connection establishment both bits were set to 0. So at least my S5 does not or doesn't want to indicate this capability to an access point that itself doesn't support it. The result is perhaps a bit disappointing but not really surprising as the new rule just came into effect half a year ago. So I will have to get hold of devices certified after that date. I'll keep you posted.

The article linked above remarks that PMF counters all management frame attacks observed so far. One thing it can't protect against are attacks with Ready To Send / Clear To Send frames that include long reservation times for transmissions (up to 32 milliseconds). The good thing is, however, that such frames are not network specific and thus would not only slow down an attacked network but also the hotel Wi-Fi itself on the same channel. In other words this is no caveat for hotels that have a special treat for their customers…

GPRS to LTE Reselection During Data Transfers

It's standard practice for mobiles for many years now to implement GPRS to 3G reselection during data transfers. It might sound like a small and unimportant feature but in mobility scenarios it's very important when a subscriber losses 3G coverage during a data transfer and drops down to 2G. Without this feature the device would be stuck on the very slow 2G layer until the data transfer has finished. Quite to my surprise the same feature for LTE has only become available in mobile devices in the last year or so. My Galaxy S4 can still get stuck on 2G during data transfers or when I use it for tethering on the train and kind of 'rescues itself' to 3G rather than going back to LTE when both networks become available again. But on newer devices I have noticed that they now have the ability to also search for LTE during 2G transmission gaps and go back to LTE. That makes a real differences especially in areas where only 2G and LTE is available. In Germany that is the case in a lot of rural areas. A small feature but a big benefit to the traveling user. What's still outstanding, however, is 3G to LTE redirection/handover.

OpenStreetMap (for Android) Part 4: Recording A Route And Import To OSM

While it very rarely happens where I tend to go but still every now and then there are roads and paths I take that are not in Openstreetmap. To my pleasure I recently discovered how easy it is to add them to the OSM database with the Openstreetmap for Android (OSM) GPX plugin.

The pictures below show how it's done. First, activate "Record your trips" in the Osmand 'Plugins' settings. Afterward a "GPX" button is shown in the map on the right hand side that can be tapped-on. Once tapped-on, the path that is recorded is shown in turquoise color on the map and the GPX button is replaced by the distance to the location where the GPX recording was started. To stop the recording, a tap on the distance indicator brings up a pop-up menu from which "save" can be selected (the third option in the pop-up menu, don't mix it up with 'stop' which doesn't save anything). The resulting GPX file is put into the Osmand folder in internal storage or on the SD card.

Once the GPX file is on a PC it can simply be dropped on the Openstreetmap web site after 'editing' mode has been activated. As can be seen on the last screenshot the my GPX track is exactly on the railway track of the train I was sitting in when I took the GPX recording.

Osm1 Osm2 Osm3

VoLTE: The Locality Advantage

VoLTE certainly is an 'interesting' beast and continues to occupy the minds of thousands of engineers to make it work in networks around the globe. I wonder how this monumental effort stacks up against other VoIP services such as Facetime, Skype and others that are centrally managed!? That probably costs a lot less money and they are already up and running for many years now. So far I've seen one major advantage of VoLTE over other voice over IP service on mobile devices: It can do a fallback to 2G and 3G circuit switched channels once you run out of LTE network coverage.

Recently, another advantage came to my mind: Instead of globally managed from a single country there are several independent VoLTE systems in each country. While that creates all sorts of problematic disadvantages, the advantage of such a distributed system is that there is no single point of failure and no single point of control and interception. So if somebody wants to spy on VoLTE installations they have to make the extra effort to break into each and every system independently. Not that I think that this is beyond the capabilities both in terms of knowledge and man power of some organizations but it's a lot harder to do and a lot more difficult to conceal.

Not that VoLTE is an end to end encrypted system but at least it makes it a more local problem.

OpenStreetMap (for Android) Part 3: Points of Interest and Editing

In part 3 on my series on OpenStreeMap let's have a closer look at Openstreemap for Android, or OSMAND for short. OSMAND is open source and hosted over at Github. Apart from the great navigation system it has been for me over the years (see point 8 here) it also serves me pretty well when searching for 'points of interest' (POI) such as supermarkets, nearby restaurants, etc. when I'm traveling.

What I didn't notice so far, however, is that POIs can also be shown in the map instead of just being searched for. The first screenshot on the left shows the default map, the second shows how the map looks like when all types of POIs are displayed and the third screenshot shows the left 'swipe-in' menu from which the display of POIs can be enabled. In my examples all types of POIs are shown but the menu also offers a list from which a subset can be selected, e.g. only restaurants and supermarkets. When touching one of the orange POIs, additional information is presented such as the name of the restaurant and, if available, other information such as opening hours, URL of the web site, phone number, etc. All very useful.

Screenshot_2015-03-05-07-42-49 Screenshot_2015-03-05-07-42-41 Screenshot_2015-03-05-07-43-01For those of you who would like to add, modify or delete POIs that are no longer there, OSMAND offers the option to do just that while one is on site. To add additional information to a POI, a long press brings up an edit menu. Editing POIs requires an Openstreetmap account and to configure the log-in credentials in the OSMAND settings on the device. The only quirck is that changes are not immediately visible on the map as it is an offline copy. Changes are uploaded immediately, however, and can be seen after a few minutes on the main OSM web site. It takes a couple of days for them to appear in the next update for the downloadable maps, however. Still, very useful, too.

What Happens To The PDP context when going to WiFi?

I was recently asked by a colleague if a mobile device keeps its PDP context with the UMTS network or the Default Bearer with the LTE network when it goes to Wifi. In the past the question was easily answered but today there are a number of different scenarios. As I'm sure that I will be asked again in the future I decided to write down a note here for easy reference.

Let's start with UMTS to Wi-Fi. Most devices on the market today deactivate the PDP context once a connection with a Wi-Fi network has been established. In practice this means that the IP address goes away and a new one is assigned when the device establishes a new PDP context again. You can easily check this as follows: While connected to UMTS go to a web pages such as "whatismyip.com" to find out your current IP address. Then switch to Wi-Fi, reload the page and you will see a different IP address. Once done, disable Wi-Fi again, wait until 3G connectivity has been reestablished and again reload the page. Again the IP address has changed. While this behavior can be observed with most smartphones and tablets, some keep the PDP context when changing to Wi-Fi so the IP address that was assigned before switching to Wi-Fi is shown again after disabling it again.

With LTE things are different in most mobile networks. Unlike UMTS that could live with a device not having a PDP context due to its dual circuit switched / packet switched nature, LTE requires a device to always have a default bearer, i.e. an IP address. Even if data connectivity is disabled in the menu or Wi-Fi is used the device keeps the IP address in the baseband chip for future use. Again, this can be easily verified with reloading pages such as "whatismyip.com" after changing networks. Some networks however, assign two default bearers for various reasons. In such cases the second default bearer is usually used for Internet connectivity. In such a configuration the second default bearer is disconnected when switching to Wi-Fi so one will observe different IP addresses before and after using a Wi-Fi network.

Not as straight forward anymore than it used to be.