Chapter 9: Putting It Together and Testing It Out

Calculating Link Budgets

If you're going to pull all this knowledge together to attempt to span a significant distance using Wi-Fi gear in bridge mode, you should see if the challenge is realistic by calculating a link budget. The idea is to gather all the various gains and losses represented by elements of a Wi-Fi signal path, add them up, and see if the final signal strength falls above or below a Wi-Fi receiver's signal threshold. If it's above that threshold, you're 'in the black' and can establish the link; if it's below, you're 'in the red' with the equipment stated and the link may not work. By using lower-loss cable or higher-gain antennas you might be able to push the quality of the link back up into workable territory.

Here are the variables you need to consider. Calculate or look up their values using the gear you have:

  • Transmitter Output Power (dBm)

  • Transmitter Antenna Gain (dBi)

  • Transmit-side Coaxial Cable Loss (dB)

  • Transmit-side Connector Loss (dB)

  • Path Loss (dB)

  • Receiver Antenna Gain (dBi)

  • Receive-Side Coaxial Cable Loss (dB)

  • Receive-Side Connector Loss (dB)

Once you have all of these figures gathered together, you simply add them. Gains are positive numbers, losses are negatives. The resulting figure is the signal strength at the receiver.

You may have trouble determining the receiver sensitivity (and hence the signal threshold) of your particular Wi-Fi access point. Neither Linksys nor D-Link publish receiver sensitivity in their data sheets, online or off. Cisco does, and I'll use the Cisco 340 access point (with which I have some experience) in this example. You can ask a manufacturer's tech support people, but it's hard to tell if tech support even knows. If you can't find out your receiver's sensitivity, assume something on the order of -80 dBm. Most receiver specifications I've seen are a little better than that (in other words, they can pick up a signal with a lower strength of -83 or even -90 dBm) so it's a 'safe' assumption.

A Link Budget Example

It usually helps to work through an example with real hardware and real numbers. For this example I'll use the following hardware components:

  • Cisco 340 access point

  • Pacific Wireless PMANT15 parabolic grid antenna, across a distance of one mile

  • On each side I'll assume two connectors and two lengths of coax: One a 19" pigtail of LMR100 coax, the other a 48" pigtail of LMR400 coax. This is a typical setup for an access point mounted outdoors inside a weatherproof box; the short pigtail connects the access point inside the box to the bulkhead connector that passes through the box, and the long pigtail connects from the bulkhead connector outside the box to the antenna. (I describe such a setup in Chapter 16.)

    Given the hardware listed above, here are the variables themselves:

  • Transmitter Output Power: 30mw, or 15 dBm

  • Transmitter Antenna Gain: 15 dBi

  • Transmit-Side Coaxial Cable Loss, total -.92 dB:

    1.58' (19") of LMR100 @ -38.9 dB/100' = -.66 dB

    4' (48") of LMR400 @ -6.6 dB/100' = -.26 dB

  • Transmit-Side Connector Loss: 2 X .5 dB = -1 dB

  • Path Loss @ 1 mile: -104 dB (calculated in previous section)

  • Receiver-Side Antenna Gain: 15 dBi

  • Receiver-Side Coaxial Cable Loss: total -.92 dB (same as transmitter side)

  • Receiver-Side Connector Loss: -1 dB (same as transmitter side)

First we add together all the gain factors into a single gain factor: 2 x +15 dBi for the antennas, or +30 dBi.

Next we add all the loss factors together into a single loss factor:

Total cable losses: 2 x -.92 dB = -1.84 dB

Total connector losses: 2 x -1 dB = -2 dB

Total link loss =

Path Loss -104 dB + cable loss -1.84 dB + connector loss -2 dB = -107.84 dB

Signal strength at the receiver will be the transmitter power plus antenna gain minus all the various loss factors:

Signal Strength = 15 dBm + 30 dBi antenna gain - 107.84 dB losses = -62.84 dBm

Most Wi-Fi access points have receivers that can pick up a signal at -80 dBm. Since -62.84 dBm is a stronger signal than -80 dBm (these are negative numbers, so 'less' is 'more') there is sufficient signal for the link to work.

Many network designers recommend a margin of 20 dB to cover difficult-to-calculate losses like reflections and other things that can interfere with the link's operation. If your signal comes in at more than 20 dB over receiver sensitivity, you're safely in business. In our example, we have 80 - 62.84 = 17.16 dBm margin. That's on the edge, but it will probably work. For the Cisco Aironet 340, the 11 Mbps sensitivity is -83 dBm, bringing us up to the comfortable 20 dBm margin.

What if you come up 'under budget?' Just as in monetary budgeting, where you can either increase revenues or cut expenses, in link budgets you can either reduce losses or increase gain. Gain antennas with more than 15 dBi gain are fairly common. Replacing the 15 dBi antennas in the example with a pair of 19 dBi antennas will give you an extra 8 dB of margin. Extra gain margin is good because there will always be factors in a link that you can't quantify, and those factors are rarely in your favor.

Note that because of the logarithmic nature of path loss, the loss across 2 miles is only 6 dB more than the loss across one mile-so with 8 extra dB of gain you can bridge another mile, with change!



Jeff Duntemann's Drive-By Wi-Fi Guide
Jeff Duntemanns Drive-By Wi-Fi Guide
ISBN: 1932111743
EAN: 2147483647
Year: 2005
Pages: 181

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net