Wireless Components ¶
Wireless networks use an access point (AP), also called a wireless access point (WAP), to provide a gateway to the wired network and a wireless local area network adapter (WLAN adapter or simply wireless adapter) to provide a link between a wireless client PC and the AP.
DO IT ALL WITH ONE BOX
Wireless routers combine an access point with a router, and are a good choice for a home or SOHO (small office/home office) network. Most wireless routers also include several Ethernet hub or switch ports to allow connecting wired Ethernet adapters to the router, providing an all-in-one solution. The router protects your network from intrusions, the wireless AP hosts your wireless clients, and the Ethernet hub or switch ports provide a place to connect your wired PCs. Because wireless routers cost only a few dollars more than single-purpose components, they are extremely popular. We use a D-Link DI-624 wireless router to manage our SOHO network.
Advice from Jim Cooley
Many cable/DSL modems now ship with just a USB output jack, which makes it difficult to connect to a WAP/router. You may need to purchase a replacement modem that also provides an Ethernet jack. Alternatively, some cable/DSL providers offer a choice of modems. If your provider offers that choice, ask for a modem that includes an Ethernet jack.
Access points ¶
An AP connects to the wired network (or directly to a cable/DSL modem) and can simultaneously provide wireless links to many wireless adapters. A typical AP allows 32 or 64 wireless adapters to be connected simultaneously. All wireless adapters that connect to an AP share the wireless bandwidth provided by that AP. For example, if the AP provides 54 Mb/s of wireless bandwidth, all connected wireless adapters share that 54 Mb/s even though each adapter may have a maximum individual bandwidth of 54 Mb/s or more.
If only one wireless adapter is transferring data at a particular moment, that adapter gets the full available bandwidth. If several adapters are transferring data simultaneously, the available bandwidth is shared among them. Accordingly, the instantaneous bandwidth available to any particular adapter varies dynamically, depending on how many other adapters are also using bandwidth at that moment and how much bandwidth they are using.
IT'S NOT NICE TO SHARE
Bandwidth sharing means that wireless networking may be a poor choice for applications, such as streaming video, that require real-time, high-bandwidth communications. The bandwidth of modern wireless components is barely sufficient to stream DVD-quality video under ideal conditions. If one or more other wireless clients are also using bandwidth, the delivered video will be choppy. For that reason, we always recommend using wired networking for video or, alternatively, a dedicated or 802.11a wireless networking connection.
A wireless network may have one or many APs. Although most home or SOHO networks get along fine with one AP, using a second AP provides additional area coverage, allows more wireless adapters to connect to the network simultaneously, and provides additional shared bandwidth. For example, one AP might have insufficient range to cover a large home, particularly one built with stone, steel studs, heavy plaster walls, or other materials that block radio waves. We can't imagine that the limit of 32 or 64 connected wireless adapters would be a problem in any home or SOHO environment, but the limited shared bandwidth might be.
Adding a second AP at some distance from the first AP extends the coverage area and doubles the bandwidth available to be shared among the wireless clients. Depending on their location, some wireless adapters may be within range of both APs, while others will be in range of only one or the other AP. If the wireless network is properly configured, client wireless adapters simply connect transparently to an available AP without user intervention. If the client is mobile for example, a notebook computer being carried from room to room the connection automatically hops from one AP to the next as the client moves within the coverage area.
Figure 14-2 shows a typical AP intended for home or small-business use. This AP, a D-Link DWL-2100AP model, uses the ubiquitous low-gain, omnidirectional "rubber duck" antenna used by most wireless devices. The mounts used for these antennae allow the antennae to be oriented in all three dimensions to maximize signal strength and optimize coverage area. Some APs use permanently affixed antennae. Others, including this model, provide a socket for an external antenna. Various external antennae are available, including models suitable for outdoor mounting, models that provide higher gain than standard rubber duck antennae, and models that are highly directional.
Figure 14-2: The D-Link DWL-2100AP, a typical AP
Wireless adapters ¶
Clients connect to the wireless network using wireless adapters, which are functionally analogous to the standard Ethernet adapters used in a wired network. Wireless adapters are available in various interfaces, including PCI (for desktop systems), CardBus (for notebooks), PCMCIA (People Can't Memorize Computer Industry Acronyms) card adapters (for older notebooks and handheld devices), and USB (for any system). Like APs, PCI and USB wireless adapters are normally supplied with a low-gain, omnidirectional rubber-duck antenna that can usually be replaced with an external high-gain or unidirectional antenna. Figure 14-3 shows a D-Link AirPlus ExtremeG DWL-G520, which is a typical PCI wireless adapter. CardBus wireless adapters, like the D-Link DWL-G650 shown in Figure 14-4, have an internal, low-gain, omnidirectional antenna, and make no provision for using an external antenna. However, certain models of CardBus (or PCMCIA) adapters, such as some Proxim Orinoco cards, include an external antenna port.
Figure 14-3: The D-Link DWL-G520, a typical PCI wireless adapter
Figure 14-4: The D-Link DWL-G650, a typical CardBus wireless card
Wireless Component Interoperability
APs and wireless adapters support one or more 802.11 standards, and may also support proprietary protocols. Standards-based APs and wireless adapters from different companies generally interoperate well, with minor exceptions. You can, for example, usually connect to a D-Link AP with a NETGEAR or wireless adapter or vice versa, assuming that both products are designed for the same standard or standards. Some APs and wireless adapters are single-standard (i.e., 802.11g or 802.11a), and other APs and wireless clients support multiple standards (e.g., 802.11a/b/g).
Some wireless vendors particularly those who focus on businesses anticipate the standards-making process by adding proprietary features that have not yet been ratified as a standard (and may never be ratified). Such enhanced products are attractive to businesses for their added features and are usually able to interoperate with standards-based products, but generally only at a least-common-denominator level. For example, Belkin jumped the gun on the emerging 802.11n standard by introducing so-called "Pre-N" APs and wireless adapters. These Pre-N products which may or may not end up being compatible with the 802.11n standard when it is finalized provide higher speed and longer range when they are used together, but when they are used with 802.11g or earlier components, they function as standard components.
In general, we recommend avoiding whenever possible wireless components that depend on proprietary extensions to provide the required level of functionality. Current standards-based wireless components provide adequate security and manageability for any home or small business environment.
Transmitter power, receiver sensitivity, and antenna considerations ¶
The range of a wireless connection depends on many factors, including its speed, amount of interference, obstructions in the signal path, and the types of antennae used. All other things being equal, though, the range of a connection is determined by how powerful the transmitter is and how sensitive the receiver. Different brands and models of wireless components may differ significantly in both respects.
Transmitter power ¶
The transmitter power of wireless networking components is usually stated in dBm, and may range from 0 dBm (defined as 1 milliwatt or mW) to 30 dBm (just over 1,000 mW). An increase or decrease of about 3 dBm corresponds to a doubling or halving of transmission power. For example, an output of 3 dBm corresponds to about 2 mW. An increase or decrease of 10 dBm corresponds to increasing or decreasing transmitter power by a factor of 10. For example, an output of 10 dBm is about 10 mW; 20 dBm about 100 mW; and 30 dBm about 1,000 mW. All other things being equal, increasing power output increases range and transmission speed.
Wireless devices may use fixed transmission power, set transmission power dynamically under firmware control, or allow transmission power to be set manually. The amount of transmission power needed varies with the distance between devices, the sensitivity of the receiver, the data rate of the link, the amount of obstruction in the signal path, and other factors. In general, longer distances between devices and higher data rates require more transmission power.
You might think the best idea would be for all devices to use maximum transmission power all the time, but high power is not always desirable. Using more power than needed does not improve the speed or quality of the wireless link; it simply introduces unnecessary RF into the environment, where it may interfere with other wireless devices that would otherwise be able to use the same channel without conflicts.
Accordingly, the firmware of some wireless devices is programmed to negotiate link characteristics with other wireless devices, including transmitter power, to establish an optimum connection at the minimum required power level. This negotiation can be done at very low data rates, so the initial contact between the devices can occur at low power. Each device tells the other about its own capabilities, including the fastest link speed it supports. The devices then increase their transmitter power to the minimum level needed to support the highest common data rate. If the maximum available transmitter power is insufficient to support their highest common data rate, they fall back to a lower data rate, using whatever power level is needed to support that lower data rate.
Other wireless devices allow transmission power to be set manually, usually within a range of a few mW up to perhaps 100 or 200 mW. Often, the output power is not stated numerically, but instead is named (Full, Half, Quarter, Eighth, and so on) or as a maximum output power with options to reduce output by a series of 3 dB steps, each of which halves output power. Still other wireless devices make no provision for adjusting transmission power, instead using a fixed transmission power, usually 30 mW or so.
Receiver sensitivity ¶
The flip side of transmitter power is receiver sensitivity. All other things being equal, a more sensitive receiver can sustain a connection with a weaker signal than a receiver with lower sensitivity. A sensitive receiver is as important as a powerful transmitter, because signal strength drops rapidly with increasing distance from the transmitter and because higher data rates require stronger signals.
If you are building a wireless network for which range is critical, particularly if your signal paths are obstructed, it's worth paying attention to the receiver sensitivity of components you are considering using. For example, the D-Link DWL-2100AP has excellent receiver sensitivity. A cheap, no-name component might have actual receiver sensitivity 10 dBm lower than the D-Link model (the documentation for the cheesy AP probably won't admit that, but we're talking real-world here). That means when the D-Link AP is at its maximum range to sustain a 54 Mb/s link, the cheap AP might sustain only a 24 or 36 Mb/s link. Worse still, if the D-Link AP is at its maximum range to support a 36 Mb/s link, the cheap AP might sustain only a 6 or 9 Mb/s link.
Antenna considerations ¶
Most mainstream wireless components are supplied with a standard "rubber duck" antenna, which is usually described as omnidirectional. That's true in a sense, but the standard antenna radiates omnidirectionally primarily in one plane. For example, with the antenna oriented vertically (at 90 , relative to the horizontal plane), as shown in Figure 14-5, the radiation pattern resembles a doughnut extending horizontally outward in all directions. If this AP were installed on one floor of a home, for example, its coverage area might include all rooms on that same floor, but rooms on floors above and below its location would receive a weak signal.
Figure 14-5: Antenna oriented vertically to maximize horizontal coverage
Because antenna orientation has a major effect on coverage area, most antenna mounts permit the antenna to be rotated in all dimensions. For example, Figure 14-6 shows the antenna in the same vertical plane as the preceding image, but oriented at 45 , relative to the horizontal plane. With the antenna oriented this way, the AP provides a smaller coverage area on the floor where it is located, with added coverage on that portion of the floor above located to the right of the AP and added coverage on that portion of the floor below located to the left of the AP.
Figure 14-6: Antenna tilted to provide additional vertical coverage at the expense of horizontal coverage
Similarly, Figure 14-7 shows the antenna tilted at 45 in both the horizontal and vertical planes relative to the first image. With the antenna oriented this way, the AP provides some horizontal coverage on the floor where it is located, with added coverage on that portion of the floor above located to the right front of the AP and added coverage on that portion of the floor below located to the left rear of the AP.
Figure 14-7: Antenna tilted to provide additional front-to-rear vertical coverage at the expense of horizontal and vertical right-to-left coverage
AP antenna orientation has a major impact on coverage area. Changing antenna orientation by even a few degrees can make major differences in signal strength throughout the coverage area, benefiting some areas at the expense of others. Also, obstructions are not necessarily equally obstructive at different antenna orientations. When you install a wireless network, don't simply orient the AP antenna vertically and hope for the best. Spend some time playing around with antenna orientation to see how it affects signal strength throughout your coverage area. Use a notebook with a wireless adapter and run the site-survey software provided with the wireless adapter, or a package such as Network Stumbler (http://www.stumbler.net), to optimize the coverage area.
THE WILD, WOOLLY 2.4 GHZ BAND
Most forms of wireless use the 2.4 GHz band, which is unlicensed and can be used freely by anyone. Wireless components must share this band with millions of other electronic components everything from microwave ovens to baby monitors to cordless phones to wireless security systems to garage door openers which means there's a lot of interference.
This fact was brought home to us, in spades, when Robert happened to be using his notebook computer to shoot some screen captures of a Super G wireless adapter configuration utility. Signal quality and data rate were at their highest, until Barbara turned on the microwave oven. The D-Link wireless adapter and AP held the connection, but the signal quality and data rate plummeted. It was as though someone had turned on a jammer, which of course is exactly what happened.
If you use wireless networking, be prepared to make compromises to deal with spectrum conflicts. You may even need to replace some of your other electronic gear, such as swapping out your 2.4 GHz cordless phones for 900 MHz or 5.8 GHz models.