How WiFi Works
Written by Harry Fairhead   
Article Index
How WiFi Works
Channels
Security

WiFi, or wireless networking, is one of the biggest changes to the way we use computers since the PC was introduced. We look at the standards and how it all works.

 

WiFi, or wireless networking, is one of the biggest changes to the way we use computers since the PC was introduced. It not only frees you to work on a laptop while remaining connected, it provides an alternative to broadband services at locations that are too remote to justify cables.

The idea of connecting everything up using radio links isn’t a difficult one to think up and to a certain extent the real question is why did it take so long?

The answer is quite simple – because it’s a difficult thing to do!

The WiFi networks that we now take for granted are both complex and sophisticated and would be virtually impossible without the use of the computer technology they are designed to connect.

So how does it all work?

Standards

Although there were early attempts at wireless networking, the big breakthrough was the family of wireless networking devices based on the 802.11 standard.

The standard was thrashed out by the Institute of Electrical and Electronic Engineers (IEEE) and should really be called the IEEE 802.11 specification. One of the big problems for users, and for anyone trying to understand how it all works, is that 802.11 isn’t a single specification but an evolving set of specifications with names like 802.11a, 802.11b, 802.11g and so on.

Each specification uses slightly different technology to create a better solution to the problem and each one increases the confusion. To cap it all, the term WiFi used to refer only to systems based on 802.11b but now it has been decided that any 802.11 device can be called WiFi – even if they are incompatible.

For a summary of the standards see the table below:

 

Standard date

 

802.11

1997

The original specification that defined two transmission rates 1 or 2Mbps working on the 2.4GHz band. It achieves its data rate by using frequency hopping or direct spread spectrum.

802.11a

1999

A relatively recent addition to the standards, it defines a 54Mbps data rate using the 5GHz band by using an advanced transmission technique called Orthogonal Frequency Division Multiplexing, OFDM.

802.11b

1999

Currently the most popular and the one most often referred to as WiFi. It operates at 11Mbps but can fall back to lower speeds if conditions are poor. It uses direct spread spectrum transmission in the 2.4GHz band.

802.11g

2003

An upgrade to 802.11a. It uses the same advanced techniques (OFDM) but in the 2.4GHz band to achieve data rates of 54Mbps.

802.16

2001

Also known as WiMax because of its ability to work over much larger distances. It uses the 10-66GHz band to achieve data rates of 70Mbps and greater.

802.11n

2009

Currently the fastest standard capable of using double the bandwidth (40MHz) using multiple streams - still an OFDM coding scheme however.

 

Spread spectrum

The big problem with wireless networking, or indeed any wireless technology, is in using the available range of radio frequencies effectively. Although each of the wireless networking standards uses slightly different techniques to achieve this they all share a common approach – spread spectrum.

The basic radio technique is to have a transmitter and receiver working on a set frequency providing a single communication channel between two machines. However a network doesn’t need a dedicated channel between each pair of machines because each machine only needs to transmit when it has a packet of data ready for another machine.

This makes it possible to share a single communications channel in the same way that a group of people can take turns in talking. Wired and wireless networks use Carrier Sense Multiple Access (CSMA), which means that each machine listens to see if another machine is transmitting before sending a data packet.

CSMA would be all that was required if it wasn’t for the additional problem inherent in using radio – interference from other users. Radio waves aren’t like signals in a network cable. They spread out, they are reflected from surfaces and they are generated by other sources. For example, WiFi networks use the 2.4GHz band which is also used by microwave ovens, cordless phones, Bluetooth devices, wireless video cameras, audio/visual wireless links, burglar alarms, garage door remote controls, and so on.

The low-tech solution is to allocate a frequency channel to each device but this is inefficient as most of the frequency space would be unused for most of the time. A better way of sharing the frequency range is to spread the transmission over all the frequencies – spread spectrum. By spreading the data across a range of frequencies, interference on selected frequencies only disrupts part of the communication and this can be detected and the lost data can be repeated.

 

wifi1

If the data is concentrated a single frequency then interference can cause complete loss.

By spreading the data over a range of frequencies something usually gets through.

The most primitive method of spread spectrum is Frequency Hopping (FH) where the transmitter and receiver change frequencies in a predetermined sequence.

The original 802.11 specification used FH or, as an alternative, a slightly more advanced method called Direct Sequence (DS) which uses mathematical functions to spread the data over a range of frequencies. In theory DS should be able to achieve a better use of the bandwidth and hence a higher data rate but it’s difficult to get it right.

The 802.11b WiFi specification uses DS in the 2.4 GHz band and achieves 11Mbps compared to the 2Mbps of the original 802.11 DS mode.

The 802.11a specification uses a higher frequency range, the 5GHz band, and it uses an even more advanced spread spectrum technique called Orthogonal Frequency Division Multiplexing (OFDM).

In principle a higher frequency should mean a higher bit rate and indeed an 802.11a radio can work at 54Mbps, but there are disadvantages. A higher frequency doesn’t travel as far and needs more power.

Now we have the best of both worlds because 802.11g introduces OFDM to the 2.4GHz band without any loss of speed. And 802.11n adds multiple aerials to improve signal management and reduce interference.



Last Updated ( Thursday, 21 July 2011 )
 
 

   
RSS feed of all content
I Programmer - full contents
Copyright © 2014 i-programmer.info. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.