Showing posts with label design. Show all posts
Showing posts with label design. Show all posts

Tuesday, September 6, 2016

Jake's Rules of Wi-FI Design

By Jake Snyder

One of the guiding principals of the my wireless career has been to engineer wireless networks that meet my customer's goals. In order to achieve this, I  had to break down some of the complexity of RF design into rules to help myself design wireless networks.  This is not an exhaustive breakdown of RF engineering processes, but it is some very basic techniques to improve RF design.

But over time these rules either hold true or fall out.  Often rules get absorbed into a more generic rule or divide into more specific rules.  I'll attempt to describe the rules and how they function as part of a wireless design.

Rules of Wi-Fi design:
  1. Capacity first
  2. Put RF where clients are
  3. Use Attenuation to your advantage 
  4. Use antennas to your advantage
  5. Coverage > Capacity or as i like to call it "I'd rather have co-channel than no-channel"
  6. Design in 3 dimensions
  7. Take RRM algorithms into account
  8. Take device capabilities into account.
  9. Predictive models are only as good as the data you use to build them.
  10. Design up and down the stack
I know some of these will sound odd.  Let me give some brief descriptions on what I means by some of these.

Rule 1: Capcity First
Knowing how much capacity you need in a given space is paramount.  This enables you to plan for the number of cells you need.  Only then can you know where you need to put the APs in order to meet your goal.  Also, this helps you realize when your goal is unrealistic, improbable or impractical.

Rule 2: Put RF where clients are
This rule is pretty straightforward.  If you want people to use wireless devices in a room, why would you install APs in places that aren't that room? This can also be the "Put APs close to where the bulk of clients are" rule.  Reducing this distance, increases signal strength for clients, increasing data rates.  If you get more clients closer to the AP (or vice versa), you can leverage faster data rates, and therefore create more available capacity.  

Rule 3: Use attenuation to your advantage
This rule is all about building capacity.  While most people get that attenuation helps shrink cell sizing, it also shrinks contention domains which can be dramatically bigger than the coverage cell.  Reducing the contention domain allows for greater channel reuse and ultimately will result in higher performing networks.  Remember, capacity gains are only realized when you are not sharing the spectrum with another AP.

Rule 4: Use antennas to your advantage.
A great way to keep a cell size small is to reduce the amount of RF you are putting into a place that you don't want.  For example, putting omni antennas in a high ceiling manufacturing area.  There's a significant amount of RF going up that you probably don't want.   Instead, a patch (even a wide patch) antenna pointed down can help reduce the amount of RF energy going up into the ceiling.  Also, directional antennas can help seperate clients into cells.  Load-balancing mechanisms aren't needed if clients can easily see which AP they should be connecting to.

Rule 5: Coverage is greater than capacity (aka I'd rather have co-channel than no-channel)
I know this rule is going to work some WLAN pros up.  Notice that I didn't say "design for coverage."  The intent here is that you can easily measure the performance of no coverage (it's zero).  In an ideal world there would be no co-channel interference, but in reality you cannot entirely eliminate it.  This rule embodies that you have to have coverage before you can have capacity and helps in your design methodology to make sure you start with getting coverage to an area and then iterate through your design process building capacity.  And there are times when you must make a choice, either not covering an area or introducing some co-channel interference.

Rule 6: Design in 3 dimensions
A lot of people talk about measuring wall attenuation to aid in their predictive designs.  Just don't forget that in some buildings you will have less attenuation between floors than you do across walls.  Measure the floors and take it into account.  If you can't account for the inter-floor attenuation, you could see substantially higher co-channel interference that you didn't account for in your model.

Rule 7: Take RRM/ARM into account
If you plan to use RRM/ARM, make sure you understand how it works.  My belief is that these technologies reduce ongoing operational costs by reducing the impact of environmental changes.  Every vendor does different things with their auto channel and power settings.  Understand how these work and how you can help these systems make good decisions.  Fail to do so may result in poor decisions.

Rule 8: Take device capabilities and behaviors into account:
Our client devices vary wildly in capabilities.  Rarely do you ever have the pure 802.11ac client mix.  Make sure you take client capabilities into account with regard to your capacity planning.  Spatial streams, supported channel widths, modulation rates, required rates can all have an impact on how much capacity your cells are going to have.  Failing to design for device capabilities and capacity is designing to fail.

Rule 9: Predictive Models are only as good as the data you use
All models are wrong, some are useful.  The easiest way to getting useful models is to make sure that your models reflect what you see in the real world.  Measure wall attenuation, cell sizes, floor attenuation, etc.  Use these as inputs into your predictive models.  Then sanity check your model to make sure what you predict aligns with what you saw.  If you blindly trust that the wall is "Dry wall with metal studs," you will find that sometimes it's accurate and sometimes it's not.  

Rule 10: Design up and down the stack
While the goal of this article is Wi-FI Design, Wi-Fi needs to be design up and down the stack.  Layer 2 design, routing, DNS, DHCP, firewalls can all be contributing factors to how a network performs.  Make sure you are taking these other components into account as well as designing the RF.  WiFi is a system, it should be designed as such.

As with most things in Wi-Fi, everyone will have opinions about RF design.  These some of mine.

Thursday, November 20, 2014

Hallway Design Nightmares Part2: TXPower

One of the effects of the hallway design is that Radio Resource Management (RRM) frequently doesn't work as expected.  It's not that it doesn't work, it's just that hallway designs significantly limit the perspective of how APs see each other, which is primarily how RRM determines what it should be doing.  Given that all the APs in the hall generally see each other at or about the same level, they all have a very similar view of the network.  For illustration purposes, I've mocked up an imaginary residence hall.  A specific hall that I visited recently was build with concrete walls.  We will talk about some of the things I saw, and how they apply to this generic sample floor.



For this example, I've place 3 APs where the black dots are.  Let's also assume that this is the 2nd floor in a 3 story building.



Hallway Design Nightmares Part 1: Introduction

A lot of people know that Hallways designs are a bit of a pet peeve of mine.  My opinion is that they do not work, and beyond moving the APs out of the hall, you cannot fix them.  But the reality is that moving APs and existing infrastructure can be really expensive, time consuming and difficult to get management to buy off on.  This means that you probably will have to live with some of your existing hallway designs for the foreseeable future.

In this series, my aim is to explore the options available to improving performance of a hallway design.  As an engineer working for a Cisco Gold Partner, I'm going to talk about some of the tools available in the Cisco Unified Wireless Network (CUWN) to help deal with these designs.

I'll leave this short intro post with the following advise:
Don't put APs in the hallway.
Put APs as close to clients as you can get them.
Think about how RRM works, and incorporate that into your designs
Don't put APs in the hallway, PLEASE!