Print this page
Wednesday, 31 October 2012 21:26

What Makes WiFi Tick or, Why All WiFi Devices Are Not Created Equal

Written by
Rate this item
(0 votes)

Reading time is around minutes.
692gr-03

When it comes to technology there are things that we as consumers just expect to work. We do not have the time, or even the inclination, to worry about the details on these items, we just want to plug them in and go. One of these is our networking products, and in particular wireless networking. We see a device with the letter “n” on it and we automatically assume it is going to give us 300Mbps (Megabits Per Second). The problem with this approach is that wireless technology is as varied as versions of Windows 7 (another item we lump into one group… but that is another article) and cannot all be lumped into one category because of a specification number or letter on the box. With this in mind we are going to talk about some of the major points of wireless networking and how to spot the pretenders from products with real performance.

802.what?
The first thing we are covering is the details of wireless specification. When wireless technology first kicked off back in the early 1990s it was lumped under the broad heading of IEEE (Institute of Electrical Electronics Engineers) Standards. These were put together by a consortium called ANSI (American National Standards Institute). The heading for wireless is 802.11; this covers all wireless networking technology as it pertains to a Local Area Network (LAN) regardless of the frequency or speed of the devices in question. Under this heading are subsections that cover the actual speed differences.  We could go into the details of each of these, but it honestly would bore you to tears and that is not the point of this article. Instead, we will just list them here with the frequency used and their maximum theoretical speeds:

802.11a – 5GHz 54Mbps
802.11b – 2.4GHz 11Mbps
802.11g – 2.4GHz 54Mbps
802.11n – 2.4GHz and 5GHz 450Mbps
802.11ac – 2.4GHz 450Mbpa 5GHz 1.3Gbps

Now 802.11ac has not been completely finalized, so products will not ship until late 2012 or early 2013. The specifications look very straight forward right? Well, they were until the launch of 802.11g. At that time the first of the MIMO (Multiple Input Multiple Output) antennas started to appear but were not truly used until 802.11n hit the market. This, along with certain provisions in the specifications, started to become more difficult to nail down.

It’s all about the size… no, the number of antennas -
The release of MIMO happened because of a new concept and technology that was integrated into wireless devices called Spatial Streams. Sounds pretty cool, doesn’t it? Well Spatial Streams is actually a very cool idea and one that plays heavily into the actual speed of your wireless devices. Oh, that’s right, I have not told you what Spatial Streams is yet. Ok, to put it simply, Spatial Streaming is the ability of a wireless controller to break the data stream into multiple parts and send them out at the same time. The receiver takes these data bits and reassembles them in the proper order. Think about it like this: You have a 500 page book that you need to move page-by-page from one table to the other. If you can only move one page at a time it is going to take you a while. Now imagine you have six people doing the same job. Three people pick up a page from the original pile and hand them to the other three at the table where the new pile is. These three people are then able to stack the pages in proper order without missing a beat. This is going to take much less time to move the book if this was possible (which, if you were using my friends, would not be).  

Now, this is where the number of antenna becomes VERY important (plus they have to be MIMO). If you are sending from a two node adapter to a three node wireless access point you are only going to get two nodes worth of speed and the same thing works in reverse. This is where the 802.11n specification becomes very confused and almost consumer unfriendly.

Take a look at the table below; it represents all of the possible speed combinations that you can get under 802.11n. There are 32 possible speeds you can get going all the way down to 6.5Mbps and up to 600Mbps. The speed is determined by the Modulation Coding Scheme (which we will talk about in a few minutes), the number of antenna, the coding rate (which we will cover with the MCS), the modulation type and even the channel used. It is crazy just to look at. What it means to the consumer, is that while the box may say 802.11n it does not automatically mean 300Mbps performance under the hood.
80211n Information


Modulation is a good thing -
In long lost ancient computer history there was a device called a MODEM. This took computer data signals and turned it into traffic that the phone lines could understand. MODEM actually stood for MODulator-DEModulator which is exactly what it did. Now, in wireless you still need Modulation to control the signal as it is transferred to the radio (yes, wireless uses a radio to transmit data). The Modulation Coding Scheme is what is now used to describe this. The MCS represents the way a wireless device takes the carrier signal and combines it with the data stream to be sent.  The MCS index is based on a number of factors, including the modulation type (Digital type, not analog), the channel used, signal strength and noise (also called interference), plus the number of MIMO antenna is use.  As you can see, this gives you a very wide variance of possible speeds.  For example let’s take a look at just the three antenna range.

At the very bottom of the list is the BPSK (Binary phase-shifting Key) type of modulation. This is a very inefficient modulation type that only uses two phases to modulate the data (which is indicated by the Coding rate of ½) on the 20MHz channel with an 800ns (nano-second) Guard Interval (Guard Interval is a delay that which allows the wireless device to accommodate for echo, reflection and signal overlap) you are only going to get 19Mbps. This would be exhibited on a channel with a lot of noise and with a very poor signal quality. These types of situations are happening more and more in residential areas as just about every house has a wireless device (in my area there are 24 wireless access points that I can see from my office).

Before we move on, let’s take a quick stop and talk a little about guard interval. You have probably noticed there are two options for the narrow band (20MHz) and the wide band (40MHz). The 800ns option is the default and gives you the best data integrity. 400ns was only added later to push the transmission speeds higher, but has the distinct possibility of data loss and inconsistency. This is even more true in a very busy or noisy environment (like a typical apartment or neighborhood). In most cases switching to 400ns will only cause frustration as you can lose data packets and connectivity if there is crosstalk between wireless devices.

Spec

Back to modulation though: as we move up through our standards we come to the more robust QPSK (Quadrature phase-shift keying), as the name implies this bumps things up from two distinct phases to four for modulation and gives a healthy speed boost. This is the most common modulation used when you have a noisy channel or environment. Your speeds can range from 39Mbps to 90Mbps if you are brave enough to use a 400ns Guard Interval. However, considering the fact that if your device has dropped down to this you are having transmission issues and it is unlikely you will be using anything other than the 800ns GI.

Next up on the plate is QAM (Quadrature Amplitude Modulation). So named because it is capable of sending two analog and two digital streams at the same time (for a total of four). There are two flavors of QAM in wireless at this time: 16-QAM and 64-QAM.  The number represents the number of points in the transmission grid (which we will not go into here, but basically represents the amount of data sent), the higher the number, the more data can be sent. Now here comes the problem with this… There are two issues with using QAM in wireless. Because the “points” used in transmission are not all on the same amplitude (or not all on the same wavelength to put it VERY simply) the processor now has to find not only the phase that the point is on, but also the amplitude to correctly demodulate the signal for processing.

The practical upshot of 16 or 64-QAM is that you have to have a very clean and strong signal to use them. If not you are kicking back down to QPSK and your average of 58-121Mbps speeds (At an 800ns GI). This is the reason why some systems will never, ever get close to the stated maximum of 300Mbps, or now 450Mbps.

So what do we have here? We now know that no matter the stated speed on the box there are simply too many variables to guarantee that speed.  Now let’s add something else for you think about: the average laptop 802.11n card only has two antennas. This means that you have to calculate the max speed using the two spatial stream table and we have not even gotten into the impact that wireless encryption, distance and signal degradation has on all of this. In short, the average test of wireless hardware is just plain wrong. To properly test, you have to know that the MCS the access point is using has an open channel to use and make sure both your wireless card and access point have the maximum spatial streams for the speed they claim. You also need to isolate the specification you are using (n most of the time). At that point you can form a baseline for performance and work back from there moving through each level of antenna, MCS, and if possible modulation type and Guard Interval on both narrow and wide bands.

MCS

We hope this has not added to the confusion over wireless, but if it has feel free to shoot us a line and we will try to clarify. In our next article we will cover wireless encryption and its pros and cons.

Discuss this in our Forum

Read 8788 times Last modified on Wednesday, 31 October 2012 21:39
Sean Kalinich

Latest from Sean Kalinich

Related items