Interop
Commentary
1/27/2014
00:00 AM
Connect Directly
Twitter
RSS
E-Mail
50%
50%

What’s In Your Wi-Fi Tool Box?

No WLAN engineer's tool box is complete without spectrum and protocol analyzers. Here's why.

We’ve come a long way since Netstumber and Kismet were the all-purpose tools for identifying, and in some cases surveying and troubleshooting, Wi-Fi networks. These days, network engineers and administrators have a wide range of options, from freeware to very expensive enterprise tools. What’s in your Wi-Fi tool box? What needs to be there?

In my opinion, you need two categories of products for everyday use: spectrum analyzers and protocol analyzers. That’s because Wi-Fi operates at two layers in the OSI model, the physical layer and the data layer. Specific tools are required to interact with each of these layers.

The physical layer takes information from the upper layers in the OSI model and transforms data into bits. These bits are transmitted differently depending on the medium and modulation used.

In the wired world, the physical layer includes wires, fiber and Gigabit Interface Converters (GBICs). In the wireless world, the physical layer is radio frequency (RF). This is where bits are used in complex spreading mechanisms such as BPSK, QPSK, and QAM256 (802.11ac), and then transmitted over equally complex modulations such as DSSS, HR-DSSS, OFDM and MIMO-OFDM.

Wi-Fi spectrum analyzers examine the physical layer of RF; spectrum analyzers are RF glasses that peer into a medium you wouldn’t otherwise see.

Wi-Fi is an unlicensed medium operating in the 2.4GHz and 5GHz bands. Unlicensed RF space can be problematic. Microwave ovens, Bluetooth headsets, baby monitors, cordless phones and many more devices operate in the same frequency bands as Wi-Fi. These devices cause interference with Wi-Fi communications, which results in data retires and loss. An unassuming Wi-Fi user interprets interference as a slow or a broken Wi-Fi connection and has a poor impression of network performance.

Sometimes interference is elusive; it comes and goes, leaving frustrated users frustrated in its wake. A spectrum analyzer in capable hands can identify interference.

The image below, from the Cisco Spectrum Expert product, is an example of a microwave oven as seen through a spectrum analyzer. The analyzer provides key data points, including Real Time FFT and FFT Duty Cycle.

Real Time FFT represents the power of the signal generated by the microwave oven, in this case the interference. The spectrum analyzer reports -20 dBm, which means we’re in very close proximity of the microwave oven. This is very helpful information. We can use this reading to locate interference. We can also interpret how loud the interference is and the area it may affect.

Spectrum Analyzer

FFT Duty Cycle represents a percentage of time the RF signal is 20 dB above the noise floor. In other words, it acts as a form of channel utilization. In this case, the microwave oven is using almost 50% of the channel. You can also see the back end of channel 6 and the beginning of channel 11 are affected.

A user associated to an access point in this area on channel 6 or 11 could experience poor performance when the microwave is in operation.

Not all Wi-Fi spectrum analyzer are created equal. A top-shelf Wi-Fi analyzer provides, among other features, automated signatures, remote spectrum sensor capturing, and data import into survey and wireless control system software.

I’m a fan of the lower-cost spectrum analyzers. They provide similar level of consistency as the more expensive products and report Real Time FFT and Duty Cycle, which are important, though you get fewer bells and whistles.

The Data Layer

In addition to the physical layer, wireless engineers and administrators have to concern themselves with the data layer. This requires a protocol analyzer. The 802.11 protocol is complex. It can use up to four fields, including Source Address, Destination Address, Transmit Address, and Receive address. In most cases, 802.11 only uses three address fields, except WDS or MESH, which use all four.

802.11 uses three types of frames: Management, Control and Data. Management frames establish and maintain a connection between the client and access point. Control frames help facilitate the delivery of data fames. Data frames transmit data (with the exception of the Null data frame).

A protocol analyzer, also called a sniffer, lets you to capture wireless frames. This aids with troubleshooting and helps you evaluate and baseline wireless devices during testing. A protocol analyzer also lets you to see and capture the 802.11 conversation between devices. A protocol analyzer in experienced hands can quickly determine if a device isn’t behaving as it should.

Below is an example of a device behaving badly and causing a poor user experience as seen via a protocol analyzer from WildPackets. Without protocol analyzer we would have no visibility of this problem.

Protocol Analyzer

In this specific case, a radio was sending a NAV timer duration of 18,800 microseconds. This was causing all clients on channel to pause for an extended period of time. This resulted in poor user performance. In this case, the issue was a software bug.

There’s a number of protocol analyzers on the market today, with prices ranging from free to a few thousand dollars. Paid products tend to provide user support, software upgrades, statistics, built-in analysis and an assortment of wireless NIC options. Freeware options tend to be Linux-based and will have a learning curve for non-Linux folks during setup.

Where To Start?

Engineers often purchase expensive spectrum and protocol analyzers with the assumption that the more sophisticated the tool, the faster it will resolve the problem. While a sophisticated tool will give you more features and functions, it can also add complexity, user frustration and ultimately cause disappointment. On the flip side, free and low-cost tools may not have all the features you need for the job, or lack support.

Which ones are right for you? The answer depends on a variety of factors, including the size and complexity of your environment, the problems you need to address, the experience of your staff and your budget.

Stop by my Interop session, The Wireless Engineer’s Essential Toolkit, where I’ll cover in detail an assortment of products and give you options and recommendations for your Wi-Fi tool box. In the meantime, what tools do you find invaluable? You can use the comments section to share your favorites.

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
GeorgeS749
100%
0%
GeorgeS749,
User Rank: Apprentice
2/2/2014 | 1:40:34 PM
Re: Great Post
Tmcclintic,

Well said, could't have said it better. Powerful tools in knowledgeable hands ...
GeorgeS749
100%
0%
GeorgeS749,
User Rank: Apprentice
2/2/2014 | 1:04:29 PM
Re: Then what?
Lorna, 

You're correct. Identifying interference is half the battle. Sounds like you're speaking from experience. You have a few options to overcome interference. Lets outline a few:
1 - Move your access point channel away from the interference. In my example, microwave impacts channels 6 - 11, move your access point to channel 1 avoiding the impacted frequencies. 
 
2 - 802.11b/g/n protocols use the 2.4 GHz spectrum. By standard they require 22 MHz spacing. Only 3 non-overlapping channels exist (1,6,11). Consider a move to the 5 GHz spectrum, 802.11a/n/ac where you have 20+ non-overlapping channels. This is your best option.
 
3 - Areas of low level interference can be overcome by increasing your transmit power, speaking louder than the interfence. Not always recommended, but something you can consider if you're out of options. 
 
4 - Going to the source of the interference and speaking to the owner to work out a compromise. Not always an option, but something that could be considered. 
 
Thank you for response! 
tmcclintic
100%
0%
tmcclintic,
User Rank: Apprentice
1/31/2014 | 10:23:53 AM
Great Post
I am very fond of Cisco's Spectrum Expert. Utilizing Channelyzer with SE has been fantastic in viewing the RF field from afar. Spectrum XT has proven to be good, but I find some of the additional features lacking. It seems to call out signatures incorrectly very often. Also, if you are going to do interferer location a patch antenna will save you a ton of time. I feel like tracking down with an omni leaves me going in circles, I often times use my hands to make a 'reflector' just to enhance the precision. Once again, Meta Geek excels there with their device finder. When looking at the layers above the RF field, I find Omni Peek to provide the most information than any product I have used. Fluke's WiFi Analyzer does a god job for most cases, but again some details seem lacking. Just can't beat the aggregate captures Omni Peek does with multiple channels. All in all, George you hit it right on the mark. There are lots of tools, all of them work well by design, but the engineer is the one that needs to determine what to use to gather the data they need for analysis.
Lorna Garey
100%
0%
Lorna Garey,
User Rank: Author
1/27/2014 | 1:58:44 PM
Then what?
Hi George - Isn't finding out what's causing interference only half the battle? What if you find out that it's a microwave in a neighboring office, or the new phone system that building management installed, or the wireless printer that a certain group just HAS to have? Is there a way to surgically block such signals without getting in hot water?
The Business of Going Digital
The Business of Going Digital
Digital business isn't about changing code; it's about changing what legacy sales, distribution, customer service, and product groups do in the new digital age. It's about bringing big data analytics, mobile, social, marketing automation, cloud computing, and the app economy together to launch new products and services. We're seeing new titles in this digital revolution, new responsibilities, new business models, and major shifts in technology spending.
Register for InformationWeek Newsletters
White Papers
Current Issue
InformationWeek Tech Digest - August 27, 2014
Who wins in cloud price wars? Short answer: not IT. Enterprises don't want bare-bones IaaS. Providers must focus on support, not undercutting rivals.
Flash Poll
Video
Slideshows
Twitter Feed
InformationWeek Radio
Archived InformationWeek Radio
Howard Marks talks about steps to take in choosing the right cloud storage solutions for your IT problems
Sponsored Live Streaming Video
Everything You've Been Told About Mobility Is Wrong
Attend this video symposium with Sean Wisdom, Global Director of Mobility Solutions, and learn about how you can harness powerful new products to mobilize your business potential.