Monday, 29 June 2015

Portable AP Power for the modern Wi-Fi Professional

There have been various methods used to power APs over the years when doing a wireless survey. One of the first was very much home-brew; a 12V car battery and if you were powering most indoor Cisco APs, an inverter to achieve the required 48 volt input was required. I found this to be a messy, heavy, unscaleable solution. You could find a more elegant alternative such as a sealed motorbike battery but this solution was still far from fantastic. Another solution was to use a UPS; this provides you with a more complete solution as the UPS includes the inverter however you still need to connect either a PoE injector or a power brick to power your AP. On top of this requirement, the weight and size of the UPS is a big concern. Sure, if all your work is in your local area or accessible by car, transport is less of an issue to the site, but moving this equipment around with the AP once you’re on-site and performing the survey - well that is another matter. Various other methods have been used by people over the years but I am yet to see any as elegant as the solution I wanted to detail in this post.

An all-in-one solution came along in the form of the Terrawave PoE Battery. This has been a favourite amongst WLAN professionals for many years, not least because it is bundled with the popular Caster Tray survey rig. You get a fairly compact piece of equipment, you get the inverter (built-in) and you get a convenient RJ45 output. I’ve been happy with this battery for many years but I feel it’s had its day. It has a special output for Cisco’s first 802.11n AP (the 1250) which shows you that it has had a good run but like the 1250, maybe it is time it is put to rest.

The main reason I started look for alternatives to the Terrawave was because it is just too big to travel with in many cases. As I’ve gathered more Wi-Fi tools, the Terrawave has been squeezed out of my survey case as it takes up far too much room and adds too much weight. In addition, there was always a question mark when flying with it. It contains a sealed lead-acid battery and whilst I put it in the same category as a wheelchair battery (which airlines typically have no issues with), I know at some point I will lose it to airport security – you know how they love random boxes of electronics these days, after all! The last problem is that, due to its size and weight, only in certain circumstances could I justify brining a second Terrawave. When travelling for Wi-Fi work I like as much redundancy as possible which a second battery affords. When I did travel with a second Terrawave I had AP battery redundancy that allowed for any issues with one Terrawave as well as extended days surveying (12+ hours) that a single battery couldn’t offer.

My requirements for a Terrawave replacement were as follows:
  1. Small
  2. Lightweight
  3. Airline-friendly
  4. Ability to power an AP for a similar period to the Terrawave (quoted as 6 – 8 hrs depending on the number of radios enabled)
  5. Ability to power a Cisco AP with its non-standard voltage requirements
Fortunately I found a solution in the Energizer XP18000AB external laptop battery – thanks to @keithparsons for pointing me towards it. As I intended this post to be short I am going to cut to the main highlights of the battery. The main purpose of this post was demonstrate how this battery can power a Cisco AP (due to the non-standard voltage input requirements) so if you need more information on the battery generally, take a look at the numerous online reviews or get in touch. If you just want to see the uptime achieved on both a Cisco and Aruba AP, scroll to the bottom of the bullet points:

  • It has a USB output, 9-12V DC output and 16-10V DC output;
  • If offers additional flexibility over the Terrawave in its ability to power laptops and other devices. Whilst I survey with a laptop that can see through a full day of surveying (assuming a lunch break charge), an extended day will require more power. Being able to throw one of these into my backpack and tether my laptop to it in order to finish, for example, the last hour of a survey is mighty useful (see comments on this post);
  • It comes with adapters (referred to as tips) for most common laptops and devices but additional tips can be purchased from Energizer if required;
  • It can power an Apple laptop however unfortunately this requires a few more adapters, one of which can only be bought second-hand and isn’t particularly cheap;
  • I won’t list the specific dimensions as you can compare yourself however as you can see in the photo below I can easily fit two of these in my survey kit whereas I would have to ‘vacate’ a large amount of tools in order to fit the Terrawave;

Snug as a... pair of batteries... in a survey case!


  • When it comes to improving over the Terrawave when it comes time to fly, it is a mixed bag. Looks-wise, it is obviously much more likely to fly under the radar however as it uses lithium batteries that presents another set of challenges. Airlines and specifically, the International Air Transport Association (IATA) has started to toughen restrictions on lithium batteries. The specific issue with the Energizer is whether it is considered to be equipment or a spare. If it is considered equipment then is can be carried in checked-in luggage whereas if it is considered a spare then it must be packed in carry-on luggage. The major issue is that the spares that the IATA refer to are from an era when a spare lithium battery was commonly a spare internal battery for a laptop, complete with exposed connectors. A more recent example would be a spare (internal) mobile phone battery, once again with exposed connectors. It seems clear that an external lithium battery with no ability to power itself on automatically, nor any exposed connectors, should be classed as equipment and not their traditional interpretation of a spare battery but that doesn’t appear to be the case, at least with some of the airlines I’ve looked at. Note, some airlines I looked at actually had stricter regulations than those dictated by the IATA though most were inline with the IATA.
  • All of the APs I’ve looked at besides the Cisco’s (*sigh*) can be powered via 12V. This includes Aerohive, AirTight, Aruba, Meraki, Motorola and Ruckus. With any luck, you’ll be able to power your non-Cisco AP out of the box with the included tips. At worst, you may need to order an additional tip from Energizer.
  • In order to power the Cisco APs I bought a Tycon TP-DCDC-2448GD-HP PoE Injector. Yes this does mean I lose the ‘all-in-one’ solution offered by the Terrawave but the numerous other advantages make up for that shortcoming. This PoE injector is unique in that it steps up from 24V (more correctly 18 – 36V) to 56V used to provide 802.3at power. If you only require 802.3af or 100 Mbps support there are additional models available but I think it’s worth paying the extra because I know at some point the Gigabit, 802.3at support will come in handy. Another alternative model, the Tycon TP-DCDC-1248GD-HP takes a 12V input and could also be used with the Energizer. The PoE injector uses a screw terminal for input and therefore I bought a DC power cable with a 5.5mm (OD) / 2.1mm (ID) connector at one end and bare wires at the other. The DC connector plugs into one of the Energizers included DC power cables and I screwed the bare wires into the injectors screw terminal.

The Tycon TP-DCDC-2448GD-HP PoE Injector with DC cable attached to screw terminal

  • And finally, the most important information, AP uptime! A few comments first – obviously the uptime you achieve will depend on the AP model, radio transmit power, number of radios enabled and so on. These numbers give a reasonable indication of what can be achieved across both a Cisco and non-Cisco (in this case, Aruba) APs that you may use for an AP-on-a-stick survey, measuring wall attenuation or whatever other purpose you may have for portable AP power. This was not meant to be provide strict scientific results but merely provide a ballpark figure that you may be able to achieve. Adjustments to the configuration I used would obviously yield higher or lower overall AP uptime. My test setup was as followes:
    • 2.4 GHz TxPower - 4 dBm
    • 5 GHz TxPower - 14 dBm
    • Wired uplink - Disconnected
    • Uptime determination method – Pinging from associated client to AP (Obviously this additional traffic would lower the uptime of the APs a little so you can expect higher uptime than I achieved during your average passive survey or wall attenuation measurements)

  • Cisco 3602i uptime from a single Energizer XP18000AB: 7.75 hrs (with required PoE injector connected)
  • Aruba IAP-225 uptime: from single Energizer XP18000AB: 10 hrs (without PoE injector connected as it is not required)
The complete solution


I will keep my existing Terrawave batteries as they certainly can still be useful, but as with a few other pieces of bulky survey equipment, they will remain in the cupboard and only brought with me when required for a specific job.

All in all, I am happy with the two Energizer XP18000AB + Tycon PoE injector solution that comes in at a quarter of the weight of the Terrawave, provides much more versatility and leaves me with much more room in my survey case!

Lastly, I should mention, the homebrew or UPS solutions mentioned at the start of this post do still have a place today. There are always going to be scenarios where a custom power solution may be required and there isn’t anything wrong with homebrew!

Wednesday, 3 June 2015

Band Steering v2.0

It has taken many years since 802.11n was ratified to reach a reasonable penetration of 5 GHz clients out there in the Wi-Fi landscape. In particular, only in the last ~2 years have we started to see a reasonable percentage of the most common BYO devices (smartphones and tablets) shipping with dual-band support. Whilst this has been a long time coming, many of these clients (more correctly, the clients wireless driver) still either prefer the 2.4 GHz band or will often flip between the bands.

There is a method that has been discussed in Wi-Fi circles recently that is the subject of this post but before I get to that I want to look at Band Steering v1.0! I have used a number of methods over the years in order help shift as many dual-band clients over to the 5 GHz band as possible. There are of course times when you may wish to distribute clients between the two bands more evenly (though typically with a higher percentage onto the 5 GHz band) but I won’t address those here; in this post I’m assuming you want to move the majority of clients onto the 5 GHz. Additionally, this post not address dual-band clients where you would be better off statically configuring them for a single-band (this includes most application specific devices in healthcare, retail, logistics, etc.).

Some of the traditional methods of shifting clients to the 5 GHz band:

  • Separate SSIDs for 2.4 GHz and 5 GHz clients: Pre-band-steering this was one of the few methods available. As band-steering emerged and (at least some) drivers improved, I generally stopped using this method except in the odd corner case;
  • Updated client drivers: Client drivers did become smarter and where I’ve had control, I ensure that client’s drivers are up to date. In most cases however, I can however only advise the customer to make this change and as-such, it is rarely done. Unfortunately many clients still prefer the 2.4 GHz band even when they receive a high signal strength from a 5 GHz radio and therefore this method is far from perfect. Another significant issue lay with the increased adoption of BYO devices – obviously an enterprise ICT team has little, if any control over these clients coupled with the poor ability to update the wireless chipsets driver on the most prevalent type of BYO client (smartphones and tablets).
  • Band Steering: Whilst band steering is the main method we rely on today and it certainly helps, it is still far from perfect. It is a non-standard method and therefore introduces the possibility of causing connectivity issues. Despite this risk, we typically use it as it is quite often our only choice.
  • Band Steering Tweaking: In addition to enabling band steering, you can often tweak its operation in order to increase the number of clients hitting the 5 GHz band. However, the further you stray from the vendor defaults, the more likely you are to end up with client connectivity issues.

In addition to these methods, there are some vendor-specific methods that could help. For example, Meraki hides the broadcast of the SSID on the 2.4 GHz radio when band steering is enabled. Whilst this method can help shift more clients to the 5 GHz band, hiding the SSID isn’t typically a great idea – none the less, another available option if always nice, even if you can’t disable the hidden SSID aspect of the band-steering functionality.

So what other methods are available? Recently in the Wi-Fi world there has been talk of another method to help shift more clients to the 5 GHz band. This method involves ensuring that the transmit power of your 2.4 GHz radios is sufficiently lower than the 5 GHz radios. What I absolutely love about this method is that it is taking a negative and turning it into a positive. In the same way that MIMO took a negative (multipath) and didn’t just neutralise it (diversity antennas) but actually turned it into a positive (higher throughput!). Some client drivers will prefer a higher signal strength even if the available signal strength from a more preferable radio is lower, but still very high. For example, the client might see -45 dBm from the 2.4 GHz radio of an AP and -51 dBm from the 5 GHz radio of the same AP. -51 dBm is still a very strong signal and therefore the many additional benefits offered by the 5 GHz band would ideally result in the client associating to the 5 GHz radio. As many clients are single-minded in their association choices, they often primarily (if not solely) use signal strength when deciding on which radio to associate to. There are of course other factors that a client should take into consideration when deciding which AP to associate to and the radio being 5 GHz shouldn’t be the only consideration. However often these other factors end up resulting in a preference for the 5 GHz band anyway (SNR, retries, packet loss, channel utilisation, etc.) So in short, this method takes the negative (clients preferring a high signal strength above all else) and turns it into a positive (clients associating to the 5 GHz radio, yet still with a high signal strength) by ensuring that the 5 GHz radios signal strength that the client sees is sufficiently higher than the 2.4 GHz radios signal strength.

One of the best sources of information on this design trick is provided in Aruba’s awesome Very High Density VRDs. I do however feel the values in the Aruba VRD are insufficient but perhaps I am missing something ‘Aruba-specific’ as I usually live in the Cisco world (please chime in if you have more information). Aruba states that there should be a 6 dB - 9 dB difference between the 2.4 GHz EIRP and 5 GHz EIRP. There is already a 6 dB difference between the two bands so I don’t feel these values are high enough. Even when not using this method, my 2.4 GHz radio is almost always 6 – 9 dB lower than my 5 GHz radio to compensate for this 6 dB difference (amongst other reasons). Note, this does not factor in AP and client antenna gain and polar plot. In the case of the Cisco 3700 AP that I performed testing on, the antenna gain is identical between the two radios. The polar plots however favour the 2.4 GHz radio overall; it varies across the 360 degrees of course. In addition, some 5 GHz sub-bands are worse off than others (UNII-3 typically faring poorly). Lastly, client antenna gain also often favour the 2.4 GHz and lower 5 GHz sub-bands. I won’t go into the details of 2.4 GHz vs. 5 GHz cell size except to say that in most modern BYO/office deployments, you typically want a higher SNR at your cell edge in the 5 GHz band than in the 2.4 GHz band; this is yet another factor requiring a higher AP transmit power/EIRP for the 5 GHz band. These factors coupled with the testing I’ve performed demonstrate a difference closer to 9 - 12 dB is required to be confident of this design trick working well, with 12 dB much preferred – at least with the AP I have tested this on. In the modern Cisco world, this would mean something like a 2.4 GHz radio transmit power of 2 dBm and a 5 GHz radio transmit power of 14 dBm. Of course, these values would need to be tweaked for the individual design. There are other factors that must be taken into account of course – for example you don’t want to end up with your 5 GHz radio transmit power at an overly high value. More important than the values I have mentioned here is that you test your particular deployment to ensure that your most difficult clients are seeing a 6 – 9 dB difference between the two bands if you wish to make use of this design trick.

I feel that this design method is a fantastic way to bridge the gap between what band steering has offered us so far and the world we could be living in – that is, where WLANs could be today if 802.11n had mandated 5 GHz-only support! Whilst every design method or trick should be considered before implementation, I think this is one of the most useful to have come along in a while.

I’ll end this post with this quote from the Aruba VRD – This technique is extraordinarily effective with clients that are available as of the time of writing, including legacy HT clients and newer VHT clients. That’s good enough praise for me!