# Antenna radiation pattern, law of sines, free space propagation loss

I work with WiFi more than I admit to myself and now that I have more time to study outside the CCIE R&S blueprint boundaries it’s time to focus on other technologies.

I’ve been involved in an interesting high density WiFi project and after a successfull deployment there’re some things I’d like to check. As Cisco partner my company had support for the network design from the same team involved in London Olympics and Cisco Live! so it was a great opportunity to learn a lot.

## Antenna radiation pattern

The first topic I want to explore is antenna radiation pattern and what it means for network coverage.

Let’s start with an example. Cisco Aironet 3600 has a wide choice of antennas . Let’s say we choose to use AIR-ANT2566P4W-R mounted in a 10 meters ceiling pointing down to cover a big hall like a fairground.

How can we calculate the coverage area on the ground (where the clients are) and the expected signal power? We need this data to plan where the APs will be installed and how many APs we’ll need to cover the area.

## WARNING: math involved!

The first factor to consider is *free space loss*: the radio signal loses power then travelling through space, the amount of power is based on the distance and the frequency.

The formula is HERE :

<img src="https://www.ifconfig.it/images/fspl_formula-300x65.png" alt="fspl_formula">

<img src="https://www.ifconfig.it/images/fspl_formula2-300x52.png" alt="fspl_formula2">

If we apply the formula using 10 meters, a frequency of 2440Mhz (around the middle of 802.11g range) and an antenna gain of 6dBi we get a just litte more than **54dB**.

The maximum EIRP permitted in Europe for 2,4Ghz is 20 dBm.

That meas we expect to measure a signal power of **20 - 54 = -34 dBm** when we are just under of the antenna at a distance of 10 meters.

But what if we move around? This is where the radiation pattern must be checked.

I recommend to read “Antenna Patterns and Their Meaning ” before going further.

What’s the pattern of our antenna? We can find it in the antenna Data Sheet :

<img src="https://www.ifconfig.it/images/radiation_pattern-300x96.png" alt="radiation_pattern">

Let’s start with the Azimuth Plane and 2,4GHz band.

This is the planned physical installation:

<img src="https://www.ifconfig.it/images/triangle-210x300.png" alt="triangle">

From the data sheet we know the angle at the top is 105 degrees and the ceiling height is 10 meters. We need to know the base of the triangle. The good part is trigonometry helps us and the Law of sines tells us the triangle has a base of 26 meters.

That means we expect to read -37dBm when we’re 14 meters away from the AP on the Azimuth plane. The same formula tells us we read the same power from 7 meteres on the Elevation plane.

So on the groud we can track a rectangle 26 meters wide and 14 meters tall where the expected signal power is at least -37dBm. A lower signal expectation would mean a bigger area.

Now it’s easy to place our APs to cover all the area (notice the picture show circles, replace it with rectangles).

<img src="https://www.ifconfig.it/images/ap_placement-300x295.png" alt="ap_placement">

## Wrap up

Many factors are involved in WiFi network design, in this post I just started to play with some numbers and concepts, hope you enjoy.