DIY RF Attenuator
Trying to do roaming testing in a home office can be a bit of a challenge when you do not have the space to properly place the APs at a realistic distance that they would be in a real environment.
When you think about what causes a client to roam, it isn’t necessarily the distance from its currently associated AP, but rather the quality of its current connection and the availability of a better alternative. Signal strength and connection stability are important factors, and those generally deteriorate as the client moves farther away from the AP. However, there are other ways to degrade those conditions without physically increasing the distance.
When RF energy encounters physical materials, some energy can be absorbed, while other portions may be reflected, refracted, diffracted, or scattered. These interactions can introduce additional losses and change the propagation characteristics between the transmitter and receiver.
This means that, rather than relying on physical distance to reduce the signal level, I can introduce materials that attenuate the signal while keeping the AP and client stationary.
At first, I looked online for some Faraday bags and Amazon had various options for faraday bags, from cheap to far too expensive, but I found a multipack containing several different sizes with “good” reviews.
As an aside, it can be very difficult to find any RF shielding products that don’t lean heavy into the “5G causes cancer or other ailments” marketing and the reviews are often from that target audience which doesn’t help us decide if it’s actually providing any attenuation. There was one product which was just a thin sheet metal box that you place over your home wireless router to block the “5G” and it cost $100… One could just disable the wi-fi at that point but again, the marketing is targeting a non-technical audience using fear and ignorance to sell units.
The bags did a decent job of preventing client devices from maintaining connectivity when placed inside them. However, when I tried placing an enterprise-grade AP inside one, I could still detect its signal outside the bag. This suggested that the bags weren’t providing sufficient shielding for my intended use case. I suspect the difference in transmit power between the AP and client devices may have contributed, although the construction and shielding effectiveness of the bags could also be factors.
Instead of hoping for the best with another purchase, I decided I could probably build my own AP enclosure that could effectively block out the signal and even do so in levels rather than having 1 big change in signal.
I already owned a large cut of faraday fabric and copper tape from other home experiments, that I thought would do the job. Each full wrap of the fabric around the AP added -20dB loss, taking my signal from -43dBm to -65dBm to -86dBm. I wanted to see if I could make a hard shell enclosure using the copper tape as well, so I took an old plastic shoebox and gave it a single layer wrap with the copper tape, overlapping each by about 5mm to ensure no gaps.
This tape is conductive on both sides so when I was done I had one continuous electrical continuity. I did need to leave the door not properly joined via the tape so it could open and close freely and I think that is part of the reason for the less-than-ideal performance. The box by itself was able to take clients RSSI from -43dBm to -51dBm, so a 10x drop but not enough to alone be useful in dropping the signal that I client might trigger its roaming process.
While a bit discouraged at this underperformance (and more than a bit irritated at what felt like a waste of 90min of careful application of the tape…) I said to myself that this was a reasonable base and that I can achieve more attenuation with multiple wraps of the box in the faraday fabric.
The fabric continued to add the expected -20dB per wrap and now I had a means of achieving -10dB to -50dB of loss in 10dB increments. The extra 10dB my box was adding wasn’t really that useful and if I was to start this project I wouldn’t bother with it as the fabric alone was more than enough to reduce the signal by various amounts for my testing needs.
For these measurements, I kept both the client and AP in fixed positions throughout testing. The AP was temporarily lifted to apply or remove the enclosure and fabric wraps, but was returned to the same position for each measurement. All measurements were taken on 5GHz using a 20 MHz channel, with the same client and AP configuration.
Results
| Configuration | RSSI | Change |
| No attenuation | -43 dBm | Baseline |
| Copper tape enclosure | -53 dBm | -10 dB |
| One fabric wrap | -65 dBm | -22 dB |
| Two fabric wraps | -86 dBm | -43 dB |
| Enclosure + one wrap | -72 dBm | -29 dB |
| Enclosure + two wrap | -90 dBm | -47 dB |
